[OpenTK] Make VB.Net overload resolution happy

GLHelper.cs contains a number of overloads that cannot be resolved by
VB.Net. We cannot remove them, as that will break
backward-compatibility, but we can hide them by moving them after the
autogenerated overloads in GL.cs.

Terrible hack, but it appears to work.

Issue originally reported at http://www.opentk.com/node/3554 as "OpenTK
1.1, VB.net and ambiguous functions."
This commit is contained in:
Stefanos A. 2014-02-12 16:14:00 +01:00
parent 30571f7532
commit 1c1607da56

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<ProjectType>Local</ProjectType>
@ -462,15 +462,15 @@
<Compile Include="Graphics\ColorFormat.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\OpenGL\GLHelper.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\OpenGL\GLEnums.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\OpenGL\GL.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\OpenGL\GLHelper.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Graphics\OpenGL\ErrorHelper.cs">
<SubType>Code</SubType>
</Compile>