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:
authorMartin Baulig <martin@novell.com>2006-02-16 04:07:31 +0300
committerMartin Baulig <martin@novell.com>2006-02-16 04:07:31 +0300
commit77889014739695fe9c1f4c7bfa63be02bf7c2d01 (patch)
tree80197d4a37a6c9bf96f73be42c26958a2b0a6345 /mcs/gmcs/typemanager.cs
parent4ff6ffbe36cbe96de5e6f60e9963c61478c08302 (diff)
**** Merged r56905-r54907 from HEAD ****
svn path=/branches/mono-1-1-13/mcs/; revision=56911
Diffstat (limited to 'mcs/gmcs/typemanager.cs')
-rw-r--r--mcs/gmcs/typemanager.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/mcs/gmcs/typemanager.cs b/mcs/gmcs/typemanager.cs
index 2fdbbea93f2..976433c9072 100644
--- a/mcs/gmcs/typemanager.cs
+++ b/mcs/gmcs/typemanager.cs
@@ -1862,9 +1862,7 @@ public partial class TypeManager {
//
static public FieldBase GetField (FieldInfo fb)
{
- if (fb.DeclaringType.IsGenericType)
- fb = fb.Mono_GetGenericFieldDefinition ();
-
+ fb = GetGenericFieldDefinition (fb);
return (FieldBase) fieldbuilders_to_fields [fb];
}