* Marshal.cs (GetFunctionPointerForDelegate): Implement.
svn path=/trunk/mcs/; revision=34497
2004-09-28 Zoltan Varga <vargaz@freemail.hu>
+ * Marshal.cs (GetFunctionPointerForDelegate): Implement.
+
* Marshal.cs: Add stubs for missing 2.0 methods.
2004-09-24 Zoltan Varga <vargaz@freemail.hu>
throw new NotImplementedException ();
}
- [MonoTODO]
+ [MethodImplAttribute(MethodImplOptions.InternalCall)]
+ public static extern IntPtr GetFunctionPointerForDelegateInternal (Delegate d);
+
public static IntPtr GetFunctionPointerForDelegate (Delegate d) {
if (d == null)
throw new ArgumentNullException ("d");
- throw new NotImplementedException ();
+ return GetFunctionPointerForDelegateInternal (d);
}
#endif
}