diff options
Diffstat (limited to 'src/mscorlib/src/System/Reflection/MemberInfo.cs')
-rw-r--r-- | src/mscorlib/src/System/Reflection/MemberInfo.cs | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/mscorlib/src/System/Reflection/MemberInfo.cs b/src/mscorlib/src/System/Reflection/MemberInfo.cs index 248c78bf70..96a89ad37b 100644 --- a/src/mscorlib/src/System/Reflection/MemberInfo.cs +++ b/src/mscorlib/src/System/Reflection/MemberInfo.cs @@ -16,9 +16,6 @@ namespace System.Reflection [Serializable] [ClassInterface(ClassInterfaceType.None)] [ComDefaultInterface(typeof(_MemberInfo))] -#pragma warning disable 618 - [PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")] -#pragma warning restore 618 [System.Runtime.InteropServices.ComVisible(true)] public abstract class MemberInfo : ICustomAttributeProvider, _MemberInfo { @@ -116,33 +113,5 @@ namespace System.Reflection { return base.GetHashCode(); } - -#if !FEATURE_CORECLR - // this method is required so Object.GetType is not made final virtual by the compiler - Type _MemberInfo.GetType() - { - return base.GetType(); - } - - void _MemberInfo.GetTypeInfoCount(out uint pcTInfo) - { - throw new NotImplementedException(); - } - - void _MemberInfo.GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo) - { - throw new NotImplementedException(); - } - - void _MemberInfo.GetIDsOfNames([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId) - { - throw new NotImplementedException(); - } - - void _MemberInfo.Invoke(uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr) - { - throw new NotImplementedException(); - } -#endif } } |