Cache only resolved types not expression to report correct error location. Fixes...
[mono.git] / mcs / mcs / cfold.cs
index 361216652889d2eea740cefa33189a5b8fb9d8d1..96062f2748e744c51360f607ad2de8f492dc889d 100644 (file)
@@ -920,7 +920,7 @@ namespace Mono.CSharp {
 
                                IntConstant sic = right.ConvertImplicitly (ec.BuiltinTypes.Int) as IntConstant;
                                if (sic == null){
-                                       Binary.Error_OperatorCannotBeApplied (ec, left, right, oper, loc); ;
+                                       Binary.Error_OperatorCannotBeApplied (ec, left, right, oper, loc);
                                        return null;
                                }
                                int rshift_val = sic.Value;