Compatibility fixes for Mono 2.10
authorparallels <parallels@parallels-Parallels-Virtual-Platform.(none)>
Sun, 15 Dec 2013 17:27:24 +0000 (18:27 +0100)
committerparallels <parallels@parallels-Parallels-Virtual-Platform.(none)>
Sun, 15 Dec 2013 17:27:24 +0000 (18:27 +0100)
commitb31e0e847488841b0a490bde27d2284de20400ba
treef154a0b080a537de8df1fd90bbd93a16782dfe8b
parentd0e52f6de7f1794093e73445cf2c470c4bc1cdce
Compatibility fixes for Mono 2.10

The Mono 2.10 compiler fails when compiling extern methods that are not
marked as DllImport. We fix that by adding a method body that throws a
NotImplementedException instead.

Additionally, MonoDevelop 2.8 cannot open sln files with ToolsVersion 12.
The fix is to change ToolsVersion to 11.
OpenTK.sln
Source/Bind/CSharpSpecWriter.cs
Source/OpenTK/Graphics/ES11/ES11.cs
Source/OpenTK/Graphics/ES20/ES20.cs
Source/OpenTK/Graphics/ES30/ES30.cs
Source/OpenTK/Graphics/OpenGL/GL.cs
Source/OpenTK/Graphics/OpenGL/GLObsolete.cs
Source/OpenTK/Graphics/OpenGL4/GL4.cs