diff options
Diffstat (limited to 'src/mscorlib/src/System/__ComObject.cs')
-rw-r--r-- | src/mscorlib/src/System/__ComObject.cs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mscorlib/src/System/__ComObject.cs b/src/mscorlib/src/System/__ComObject.cs index 9f9bac6084..86800a51f8 100644 --- a/src/mscorlib/src/System/__ComObject.cs +++ b/src/mscorlib/src/System/__ComObject.cs @@ -21,7 +21,6 @@ namespace System using System.Runtime.InteropServices.WindowsRuntime; using System.Runtime.CompilerServices; using System.Reflection; - using System.Security.Permissions; internal class __ComObject : MarshalByRefObject { @@ -58,12 +57,6 @@ namespace System return base.ToString(); } - - internal IntPtr GetIUnknown(out bool fIsURTAggregated) - { - fIsURTAggregated = !GetType().IsDefined(typeof(ComImportAttribute), false); - return System.Runtime.InteropServices.Marshal.GetIUnknownForObject(this); - } //==================================================================== // This method retrieves the data associated with the specified |