[mono-api-html] Print string fields with no (or null) value without an NRE.
[mono.git] / mcs / mcs / enum.cs
index 1081e0e551e55849bf18118da5bab9b941b87d3d..d2a031bd01960a220b28583df64f92fbae01991d 100644 (file)
@@ -66,7 +66,7 @@ namespace Mono.CSharp {
 
                        var underlying = ((Enum) Parent).UnderlyingType;
                        if (expr != null) {
-                               expr = expr.ImplicitConversionRequired (rc, underlying, Location);
+                               expr = expr.ImplicitConversionRequired (rc, underlying);
                                if (expr != null && !IsValidEnumType (expr.Type)) {
                                        Enum.Error_1008 (Location, Report);
                                        expr = null;