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); 341eod = this.AddError(eod, triviaOffset, triviaWidth, ErrorCode.ERR_CompilerAndLanguageVersion, version, 352eod = this.AddError(eod, triviaOffset, triviaWidth, error, "version", new CSharpRequiredLanguageVersion(languageVersion));
Parser\LanguageParser.cs (6)
233return AddError(node, position, 0, ErrorCode.ERR_InsufficientStack); 2966type = this.AddError( 3010result = 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); 11574dotDotToken = AddError(