Explorar el Código

2004-09-24 Zoltan Varga <[email protected]>

	* MonoField.cs: Add GetFieldOffset.

svn path=/trunk/mcs/; revision=34380
Zoltan Varga hace 21 años
padre
commit
69cbca7fda

+ 2 - 0
mcs/class/corlib/System.Reflection/ChangeLog

@@ -1,5 +1,7 @@
 2004-09-24  Zoltan Varga  <[email protected]>
 
+	* MonoField.cs: Add GetFieldOffset.
+
 	* ObfuscationAttribute.cs: Add ApplyToMembers.
 
 	* Assembly.cs: Add stub for ReflectionOnlyLoadFrom.

+ 3 - 0
mcs/class/corlib/System.Reflection/MonoField.cs

@@ -93,6 +93,9 @@ namespace System.Reflection {
 			return MonoCustomAttrs.GetCustomAttributes (this, attributeType, inherit);
 		}
 
+		[MethodImplAttribute(MethodImplOptions.InternalCall)]
+		internal override extern int GetFieldOffset ();
+
 		[MethodImplAttribute(MethodImplOptions.InternalCall)]
 		private extern object GetValueInternal (object obj);