diff options
author | Rodrigo Kumpera <kumpera@gmail.com> | 2012-11-05 23:08:07 +0400 |
---|---|---|
committer | Rodrigo Kumpera <kumpera@gmail.com> | 2012-11-05 23:16:12 +0400 |
commit | c3e6485245c5071245542cf66a5f616f73df8bdc (patch) | |
tree | 738d92446556df2d2b0fa7749eaf28781b389166 | |
parent | c9c806ea210c10de0ae34daf4dc381181e374884 (diff) |
Remove FieldInfo::UMarshal, which is dead code.
-rw-r--r-- | mcs/class/corlib/System.Reflection.Emit/FieldBuilder.cs | 6 | ||||
-rw-r--r-- | mcs/class/corlib/System.Reflection/FieldInfo.cs | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/mcs/class/corlib/System.Reflection.Emit/FieldBuilder.cs b/mcs/class/corlib/System.Reflection.Emit/FieldBuilder.cs index 466f50259b5..d3da37811c4 100644 --- a/mcs/class/corlib/System.Reflection.Emit/FieldBuilder.cs +++ b/mcs/class/corlib/System.Reflection.Emit/FieldBuilder.cs @@ -208,12 +208,6 @@ namespace System.Reflection.Emit { throw CreateNotSupportedException (); } - internal override UnmanagedMarshal UMarshal { - get { - return marshal_info; - } - } - private Exception CreateNotSupportedException () { return new NotSupportedException ("The invoked member is not supported in a dynamic module."); diff --git a/mcs/class/corlib/System.Reflection/FieldInfo.cs b/mcs/class/corlib/System.Reflection/FieldInfo.cs index aba3e99969e..cd0d848fc48 100644 --- a/mcs/class/corlib/System.Reflection/FieldInfo.cs +++ b/mcs/class/corlib/System.Reflection/FieldInfo.cs @@ -193,12 +193,6 @@ namespace System.Reflection { [MethodImplAttribute(MethodImplOptions.InternalCall)] private extern UnmanagedMarshal GetUnmanagedMarshal (); - internal virtual UnmanagedMarshal UMarshal { - get { - return GetUnmanagedMarshal (); - } - } - internal object[] GetPseudoCustomAttributes () { int count = 0; |