10 references to AddError
Microsoft.CodeAnalysis.CSharp (10)
Parser\Lexer.cs (6)
472this.AddError(ErrorCode.ERR_TripleDotNotAllowed); 631this.AddError(ErrorCode.ERR_ExpectedVerbatimLiteral); 678this.AddError(ErrorCode.ERR_EndifDirectiveExpected); 683this.AddError(ErrorCode.ERR_EndRegionDirectiveExpected); 2030this.AddError(ErrorCode.ERR_OpenEndedComment); 3811this.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);