9 references to AddError
Microsoft.CodeAnalysis.CSharp (9)
Parser\Lexer.cs (5)
646this.AddError(ErrorCode.ERR_ExpectedVerbatimLiteral); 693this.AddError(ErrorCode.ERR_EndifDirectiveExpected); 698this.AddError(ErrorCode.ERR_EndRegionDirectiveExpected); 2071this.AddError(ErrorCode.ERR_OpenEndedComment); 3859this.AddError(ErrorCode.ERR_ExpectedVerbatimLiteral);
Parser\Lexer_StringLiteral.cs (4)
30this.AddError(ErrorCode.ERR_RawStringNotInDirectives); 64this.AddError(ErrorCode.ERR_NewlineInConst); 80this.AddError((_builder.Length != 0) ? ErrorCode.ERR_TooManyCharsInConst : ErrorCode.ERR_EmptyCharConst); 233this.AddError(ErrorCode.ERR_UnterminatedStringLit);