diff --git a/src/mscorlib/src/System/Reflection/MdConstant.cs b/src/mscorlib/src/System/Reflection/MdConstant.cs index 8e5b65724d81..733703990814 100644 --- a/src/mscorlib/src/System/Reflection/MdConstant.cs +++ b/src/mscorlib/src/System/Reflection/MdConstant.cs @@ -94,6 +94,9 @@ public static unsafe Object GetValue(MetadataImport scope, int token, RuntimeTyp defaultValue = buffer; break; + case CorElementType.Class: + return null; + default: throw new FormatException(SR.Arg_BadLiteralFormat); #endregion