[corlib] Implement FieldInfo.SetValueDirect ().
[mono.git] / mcs / class / corlib / System / RuntimeFieldHandle.cs
index 8901fa36a414a8f77dd9e1444645b5da01a512ef..8c552b66a3c405cca6d9a6b1c82e202fed3b5170 100644 (file)
@@ -121,9 +121,7 @@ namespace System
                        throw new NotImplementedException ("GetValueDirect");
                }
 
-               unsafe internal static void SetValueDirect (RtFieldInfo field, RuntimeType fieldType, void* pTypedRef, Object value, RuntimeType contextType)
-               {
-                       throw new NotImplementedException ("SetValueDirect");
-               }
+               [MethodImplAttribute(MethodImplOptions.InternalCall)]
+               static unsafe extern internal void SetValueDirect (RtFieldInfo field, RuntimeType fieldType, void* pTypedRef, Object value, RuntimeType contextType);
        }
 }