diff options
Diffstat (limited to 'src/mscorlib/src/System/Runtime/InteropServices/NonPortable.cs')
-rw-r--r-- | src/mscorlib/src/System/Runtime/InteropServices/NonPortable.cs | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/Runtime/InteropServices/NonPortable.cs b/src/mscorlib/src/System/Runtime/InteropServices/NonPortable.cs index 408f56c8e2..0c8ae7649c 100644 --- a/src/mscorlib/src/System/Runtime/InteropServices/NonPortable.cs +++ b/src/mscorlib/src/System/Runtime/InteropServices/NonPortable.cs @@ -33,6 +33,18 @@ namespace System.Runtime.InteropServices } [System.Security.SecurityCriticalAttribute] + public static Object BindToMoniker(String monikerName) + { + throw new PlatformNotSupportedException(); + } + + [System.Security.SecurityCriticalAttribute] + public static void CleanupUnusedObjectsInCurrentContext() + { + return; + } + + [System.Security.SecurityCriticalAttribute] public static System.IntPtr CreateAggregatedObject<T>(System.IntPtr pOuter, T o) { throw new PlatformNotSupportedException(); @@ -51,6 +63,12 @@ namespace System.Runtime.InteropServices } [System.Security.SecurityCriticalAttribute] + public static void ChangeWrapperHandleStrength(Object otp, bool fIsWeak) + { + throw new PlatformNotSupportedException(); + } + + [System.Security.SecurityCriticalAttribute] public static int FinalReleaseComObject(object o) { throw new PlatformNotSupportedException(); @@ -75,6 +93,16 @@ namespace System.Runtime.InteropServices } [System.Security.SecurityCriticalAttribute] + public static System.IntPtr GetHINSTANCE(System.Reflection.Module m) + { + if (m == null) + { + throw new ArgumentNullException(nameof(m)); + } + return (System.IntPtr) (-1); + } + + [System.Security.SecurityCriticalAttribute] public static System.IntPtr GetIUnknownForObject(object o) { throw new PlatformNotSupportedException(); @@ -93,6 +121,12 @@ namespace System.Runtime.InteropServices } [System.Security.SecurityCriticalAttribute] + public static Object GetTypedObjectForIUnknown(System.IntPtr pUnk, System.Type t) + { + throw new PlatformNotSupportedException(); + } + + [System.Security.SecurityCriticalAttribute] public static object GetObjectForIUnknown(System.IntPtr pUnk) { throw new PlatformNotSupportedException(); |