Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Kumpera <kumpera@gmail.com>2012-11-05 23:08:07 +0400
committerRodrigo Kumpera <kumpera@gmail.com>2012-11-05 23:16:12 +0400
commitc3e6485245c5071245542cf66a5f616f73df8bdc (patch)
tree738d92446556df2d2b0fa7749eaf28781b389166
parentc9c806ea210c10de0ae34daf4dc381181e374884 (diff)
Remove FieldInfo::UMarshal, which is dead code.
-rw-r--r--mcs/class/corlib/System.Reflection.Emit/FieldBuilder.cs6
-rw-r--r--mcs/class/corlib/System.Reflection/FieldInfo.cs6
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;