[mcs] Allows shadowing of probing pattern variables
[mono.git] / mcs / errors / cs0136-2.cs
index 4dc9d547e32708ec2c7490eb5ef05be3f6b5773f..63fb0cced54761c29f19aa5383b0068924dc972c 100644 (file)
@@ -1,5 +1,6 @@
-// cs0136.cs: local variable j can not be declared, because there is something with that name already
-// Line: 5
+// CS0136: A local variable named `j' cannot be declared in this scope because it would give a different meaning to `j', which is already used in a `parent or current' scope to denote something else
+// Line: 7
+
 class X {
        public static void Bar (int j, params int [] args)
        {