* MonoField.cs (GetValue): Don't check for open generic types if the field
is a constant.
svn path=/trunk/mcs/; revision=119076
+2008-11-17 Rodrigo Kumpera <rkumpera@novell.com>
+
+ * MonoField.cs (GetValue): Don't check for open generic types if the field
+ is a constant.
+
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);
}