From 00a184e24f4ec0907388343ac599d6219ab50e57 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sun, 9 Sep 2007 15:42:51 +0000 Subject: [PATCH] Worked around a Mono 1.2.5 gmcs bug, where nested partial classes confuse the compiler. --- Source/OpenTK/OpenGL/GLHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/OpenTK/OpenGL/GLHelper.cs b/Source/OpenTK/OpenGL/GLHelper.cs index 1ae55045..e943b5bc 100644 --- a/Source/OpenTK/OpenGL/GLHelper.cs +++ b/Source/OpenTK/OpenGL/GLHelper.cs @@ -73,7 +73,7 @@ namespace OpenTK.OpenGL importsClass = glClass.GetNestedType("Imports", BindingFlags.Static | BindingFlags.NonPublic); } - partial class Imports + internal static partial class Imports { internal static SortedList import; // This is faster than either Dictionary or SortedDictionary static Imports()