9 references to ERR_LabelShadow
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Statements.cs (1)
498Error(diagnostics, ErrorCode.ERR_LabelShadow, node.Identifier, node.Identifier.ValueText);
Errors\ErrorFacts.cs (1)
744or ErrorCode.ERR_LabelShadow
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\GotoTest.cs (1)
1091Diagnostic(ErrorCode.ERR_LabelShadow, "L").WithArguments("L").WithLocation(11, 1));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\NameCollisionTests.cs (4)
262Diagnostic(ErrorCode.ERR_LabelShadow, "name1").WithArguments("name1"), 265Diagnostic(ErrorCode.ERR_LabelShadow, "name2").WithArguments("name2"), 268Diagnostic(ErrorCode.ERR_LabelShadow, "name1").WithArguments("name1"), 271Diagnostic(ErrorCode.ERR_LabelShadow, "name2").WithArguments("name2"));
Semantics\SemanticErrorTests.cs (2)
5176new ErrorDescription[] { new ErrorDescription { Code = (int)ErrorCode.ERR_LabelShadow, Line = 11, Column = 13 } }); 5204Diagnostic(ErrorCode.ERR_LabelShadow, "label1").WithArguments("label1"),