summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mscorlib/src/System/Reflection/MdConstant.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/Reflection/MdConstant.cs b/src/mscorlib/src/System/Reflection/MdConstant.cs
index 8e5b65724d..7337039908 100644
--- a/src/mscorlib/src/System/Reflection/MdConstant.cs
+++ b/src/mscorlib/src/System/Reflection/MdConstant.cs
@@ -94,6 +94,9 @@ namespace System.Reflection
defaultValue = buffer;
break;
+ case CorElementType.Class:
+ return null;
+
default:
throw new FormatException(SR.Arg_BadLiteralFormat);
#endregion