projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d4ef2c
)
[corlib] Implement MonoField Module property
author
Jb Evain
<jb@evain.net>
Tue, 12 May 2015 14:22:18 +0000
(16:22 +0200)
committer
Jb Evain
<jb@evain.net>
Tue, 12 May 2015 14:22:18 +0000
(16:22 +0200)
mcs/class/corlib/System.Reflection/MonoField.cs
patch
|
blob
|
history
diff --git
a/mcs/class/corlib/System.Reflection/MonoField.cs
b/mcs/class/corlib/System.Reflection/MonoField.cs
index 362c0405f2e00fb906cc4de04c3f62221c19c68c..8c6f92469380cc742e69ea9bce4f9d2d8003ba3c 100644
(file)
--- a/
mcs/class/corlib/System.Reflection/MonoField.cs
+++ b/
mcs/class/corlib/System.Reflection/MonoField.cs
@@
-51,6
+51,12
@@
namespace System.Reflection {
}
}
+ public override Module Module {
+ get {
+ return GetRuntimeModule ();
+ }
+ }
+
internal RuntimeType GetDeclaringTypeInternal ()
{
return (RuntimeType) DeclaringType;
@@
-62,6
+68,11
@@
namespace System.Reflection {
}
}
+ internal RuntimeModule GetRuntimeModule ()
+ {
+ return GetDeclaringTypeInternal ().GetRuntimeModule ();
+ }
+
#region ISerializable Implementation
public void GetObjectData(SerializationInfo info, StreamingContext context)
{