14 references to ERR_ElseCannotStartStatement
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1981
or ErrorCode.
ERR_ElseCannotStartStatement
Parser\LanguageParser.cs (1)
9774
this.EatToken(SyntaxKind.IfKeyword, ErrorCode.
ERR_ElseCannotStartStatement
),
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (6)
IOperation\IOperationTests_IIfStatement.cs (6)
931
Diagnostic(ErrorCode.
ERR_ElseCannotStartStatement
, "").WithLocation(7, 6),
1036
Diagnostic(ErrorCode.
ERR_ElseCannotStartStatement
, "").WithLocation(20, 14),
1108
Diagnostic(ErrorCode.
ERR_ElseCannotStartStatement
, "").WithLocation(12, 28),
1190
Diagnostic(ErrorCode.
ERR_ElseCannotStartStatement
, "").WithLocation(12, 20),
1208
Diagnostic(ErrorCode.
ERR_ElseCannotStartStatement
, "").WithLocation(15, 14),
1395
Diagnostic(ErrorCode.
ERR_ElseCannotStartStatement
, "").WithLocation(10, 30),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (6)
Parsing\DeclarationParsingTests_MissingIdentifiers.cs (1)
5182
Diagnostic(ErrorCode.
ERR_ElseCannotStartStatement
, "").WithLocation(3, 15),
Parsing\StatementParsingTests.cs (5)
3597
Diagnostic(ErrorCode.
ERR_ElseCannotStartStatement
, "else").WithLocation(1, 1),
3651
Diagnostic(ErrorCode.
ERR_ElseCannotStartStatement
, "else").WithLocation(1, 3),
3669
Diagnostic(ErrorCode.
ERR_ElseCannotStartStatement
, "else").WithLocation(1, 11),
3755
Diagnostic(ErrorCode.
ERR_ElseCannotStartStatement
, "else").WithLocation(1, 23),
3838
Diagnostic(ErrorCode.
ERR_ElseCannotStartStatement
, "else").WithLocation(1, 8),