9 references to AddError
Microsoft.CodeAnalysis.CSharp (9)
Parser\DirectiveParser.cs (3)
329eod = this.AddError(eod, 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); 2964type = this.AddError( 3005result = this.AddError( 5381missingIdentifier = this.AddError(missingIdentifier, offset, width, ErrorCode.ERR_IdentifierExpected); 7694list[i] = this.AddError(this.CreateMissingIdentifierName(), offset, width, ErrorCode.ERR_ValueExpected); 11569dotDotToken = AddError(