* MonoField.cs (GetValue): Don't check for open generic types if the field
is a constant.
Backported from trunk.
svn path=/branches/mono-2-2/mcs/; revision=119078
+2008-11-17 Rodrigo Kumpera <rkumpera@novell.com>
+
+ * MonoField.cs (GetValue): Don't check for open generic types if the field
+ is a constant.
+
+ Backported from trunk.
+
2008-11-11 Rodrigo Kumpera <rkumpera@novell.com>
* Module.cs (ResolveMethod): Use internal method
{
if (!IsStatic && obj == null)
throw new TargetException ("Non-static field requires a target");
- CheckGeneric ();
+ if (!IsLiteral)
+ CheckGeneric ();
return GetValueInternal (obj);
}