Browse Source

2005-09-14 Martin Baulig <[email protected]>

	* LocalBuilder.cs
	(LocalBuilder.Mono_GetLocalIndex): New static internal method;
	same as the .NET 2.0 property `LocalIndex'.


svn path=/trunk/mcs/; revision=50053
Martin Baulig 20 years ago
parent
commit
0b9fe7e656

+ 5 - 0
mcs/class/corlib/System.Reflection.Emit/ChangeLog

@@ -1,3 +1,8 @@
+2005-09-14  Martin Baulig  <[email protected]>
+
+	* LocalBuilder.cs
+	(LocalBuilder.Mono_GetLocalIndex): New static internal method;
+	same as the .NET 2.0 property `LocalIndex'.
 
 Mon Sep 5 18:08:09 CEST 2005 Paolo Molaro <[email protected]>
 

+ 5 - 0
mcs/class/corlib/System.Reflection.Emit/LocalBuilder.cs

@@ -115,6 +115,11 @@ namespace System.Reflection.Emit {
 		}
 #endif
 
+		internal static int Mono_GetLocalIndex (LocalBuilder builder)
+		{
+			return builder.position;
+		}
+
 		internal string Name {
 			get { return name; }
 		}