33 references to ERR_ExpectedVerbatimLiteral
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (1)
1308
or ErrorCode.
ERR_ExpectedVerbatimLiteral
Parser\Lexer.cs (3)
636
this.AddError(TextWindow.Position + 1, width: 1, ErrorCode.
ERR_ExpectedVerbatimLiteral
);
645
this.AddError(ErrorCode.
ERR_ExpectedVerbatimLiteral
);
3879
this.AddError(ErrorCode.
ERR_ExpectedVerbatimLiteral
);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\SemanticErrorTests.cs (1)
21919
Diagnostic(ErrorCode.
ERR_ExpectedVerbatimLiteral
, ""));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
DocumentationComments\CrefTests.cs (3)
3445
Diagnostic(ErrorCode.
ERR_ExpectedVerbatimLiteral
, ""),
3455
Diagnostic(ErrorCode.
ERR_ExpectedVerbatimLiteral
, ""),
5359
Diagnostic(ErrorCode.
ERR_ExpectedVerbatimLiteral
, ""));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (25)
LexicalAndXml\LexicalErrorTests.cs (5)
588
Diagnostic(ErrorCode.
ERR_ExpectedVerbatimLiteral
, ":").WithLocation(1, 10),
604
Diagnostic(ErrorCode.
ERR_ExpectedVerbatimLiteral
, ":").WithLocation(1, 2));
617
Diagnostic(ErrorCode.
ERR_ExpectedVerbatimLiteral
, ":").WithLocation(1, 2));
927
Diagnostic(ErrorCode.
ERR_ExpectedVerbatimLiteral
, ""),
955
Diagnostic(ErrorCode.
ERR_ExpectedVerbatimLiteral
, ""),
LexicalAndXml\LexicalTests.cs (15)
457
TestBase.Diagnostic(ErrorCode.
ERR_ExpectedVerbatimLiteral
).WithLocation(1, 1));
484
TestBase.Diagnostic(ErrorCode.
ERR_ExpectedVerbatimLiteral
).WithLocation(1, 1));
518
TestBase.Diagnostic(ErrorCode.
ERR_ExpectedVerbatimLiteral
).WithLocation(1, 1));
576
TestBase.Diagnostic(ErrorCode.
ERR_ExpectedVerbatimLiteral
).WithLocation(1, 1));
1619
Assert.Equal((int)ErrorCode.
ERR_ExpectedVerbatimLiteral
, errors[0].Code);
1634
Assert.Equal((int)ErrorCode.
ERR_ExpectedVerbatimLiteral
, errors[0].Code);
1649
Assert.Equal((int)ErrorCode.
ERR_ExpectedVerbatimLiteral
, errors[0].Code);
1664
Assert.Equal((int)ErrorCode.
ERR_ExpectedVerbatimLiteral
, errors[0].Code);
1680
Assert.Equal((int)ErrorCode.
ERR_ExpectedVerbatimLiteral
, errors[0].Code);
1696
Assert.Equal((int)ErrorCode.
ERR_ExpectedVerbatimLiteral
, errors[0].Code);
3488
VerifyError(token, ErrorCode.
ERR_ExpectedVerbatimLiteral
);
3518
VerifyError(token, ErrorCode.
ERR_ExpectedVerbatimLiteral
);
3524
VerifyError(token, ErrorCode.
ERR_ExpectedVerbatimLiteral
);
3530
VerifyError(token, ErrorCode.
ERR_ExpectedVerbatimLiteral
);
3536
VerifyError(token, ErrorCode.
ERR_ExpectedVerbatimLiteral
);
Parsing\ParsingErrorRecoveryTests.cs (3)
8041
Diagnostic(ErrorCode.
ERR_ExpectedVerbatimLiteral
, "").WithLocation(1, 1),
8050
Diagnostic(ErrorCode.
ERR_ExpectedVerbatimLiteral
, "").WithLocation(1, 6));
8090
Diagnostic(ErrorCode.
ERR_ExpectedVerbatimLiteral
, "").WithLocation(1, 2));
Parsing\RawInterpolatedStringLiteralParsingTests.cs (2)
1105
Diagnostic(ErrorCode.
ERR_ExpectedVerbatimLiteral
, "").WithLocation(6, 17));
1192
Diagnostic(ErrorCode.
ERR_ExpectedVerbatimLiteral
, "").WithLocation(6, 17));