9 references to AddError
Microsoft.CodeAnalysis.CSharp (9)
Parser\DirectiveParser.cs (3)
329eod = this.AddError(eod, offset: triviaOffset, triviaWidth, isError ? ErrorCode.ERR_ErrorDirective : ErrorCode.WRN_WarningDirective, errorText); 342eod = this.AddError(eod, triviaOffset, triviaWidth, ErrorCode.ERR_CompilerAndLanguageVersion, version, 353eod = this.AddError(eod, triviaOffset, triviaWidth, error, "version", new CSharpRequiredLanguageVersion(languageVersion));
Parser\LanguageParser.cs (6)
233return AddError(node, position, 0, ErrorCode.ERR_InsufficientStack); 2967type = this.AddError( 3011result = this.AddError( 5390missingIdentifier = this.AddError(missingIdentifier, offset, width, ErrorCode.ERR_IdentifierExpected); 7700list[i] = this.AddError(this.CreateMissingIdentifierName(), offset: 0, list[i].Width, ErrorCode.ERR_ValueExpected); 11630dotDotToken = AddError(