diff options
Diffstat (limited to 'mcs/class/corlib/System.Reflection/RuntimeFieldInfo.cs')
-rw-r--r-- | mcs/class/corlib/System.Reflection/RuntimeFieldInfo.cs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/mcs/class/corlib/System.Reflection/RuntimeFieldInfo.cs b/mcs/class/corlib/System.Reflection/RuntimeFieldInfo.cs index 97ade331674..858ce984e34 100644 --- a/mcs/class/corlib/System.Reflection/RuntimeFieldInfo.cs +++ b/mcs/class/corlib/System.Reflection/RuntimeFieldInfo.cs @@ -52,9 +52,7 @@ namespace System.Reflection { [Serializable] [StructLayout (LayoutKind.Sequential)] class RuntimeFieldInfo : RtFieldInfo -#if !NETCORE , ISerializable -#endif { #pragma warning disable 649 internal IntPtr klass; @@ -92,7 +90,6 @@ namespace System.Reflection { return GetDeclaringTypeInternal ().GetRuntimeModule (); } -#if !NETCORE #region ISerializable Implementation public void GetObjectData(SerializationInfo info, StreamingContext context) { @@ -107,7 +104,6 @@ namespace System.Reflection { MemberTypes.Field); } #endregion -#endif [MethodImplAttribute(MethodImplOptions.InternalCall)] internal override extern object UnsafeGetValue (object obj); @@ -309,24 +305,6 @@ namespace System.Reflection { { return 1; } -#elif NETCORE - public override bool IsSecurityTransparent { - get { - return false; - } - } - - public override bool IsSecurityCritical { - get { - return true; - } - } - - public override bool IsSecuritySafeCritical { - get { - return false; - } - } #else //seclevel { transparent = 0, safe-critical = 1, critical = 2} [MethodImplAttribute(MethodImplOptions.InternalCall)] |