Browse Source

API signature fix

svn path=/trunk/mcs/; revision=20495
Miguel de Icaza 22 years ago
parent
commit
f0ddc7f2ea

+ 0 - 4
mcs/class/corlib/System.Reflection.Emit/StringToken.cs

@@ -14,12 +14,8 @@ namespace System.Reflection.Emit {
 
 		internal int tokValue;
 
-		public static readonly StringToken Empty;
-
-
 		static StringToken ()
 		{
-			Empty = new StringToken ();
 		}
 
 

+ 4 - 2
mcs/class/corlib/System.Reflection/Assembly.cs

@@ -426,7 +426,7 @@ namespace System.Reflection {
 		}
 
 		[MethodImplAttribute (MethodImplOptions.InternalCall)]
-		public extern Module[] GetModulesInternal ();
+		internal extern Module[] GetModulesInternal ();
 
 		public Module[] GetModules (bool getResourceModules) {
 			Module[] modules = GetModulesInternal ();
@@ -443,7 +443,7 @@ namespace System.Reflection {
 		}
 
 		[MethodImplAttribute (MethodImplOptions.InternalCall)]
-		public extern string[] GetNamespaces ();
+		internal extern string[] GetNamespaces ();
 		
 		[MethodImplAttribute (MethodImplOptions.InternalCall)]
 		public extern virtual String[] GetManifestResourceNames ();
@@ -477,6 +477,8 @@ namespace System.Reflection {
 		//
 		// The following functions are only for the Mono Debugger.
 		//
+		// They should be marked `internal', and extracted with GetMethod from the debugger.
+		//
 
 		[MethodImplAttribute (MethodImplOptions.InternalCall)]
 		public extern MethodBase MonoDebugger_GetMethod (int token);