6 references to AddError
Microsoft.CodeAnalysis.CSharp (6)
Parser\DirectiveParser.cs (3)
319eod = this.AddError(eod, triviaOffset, triviaWidth, isError ? ErrorCode.ERR_ErrorDirective : ErrorCode.WRN_WarningDirective, errorText); 331eod = this.AddError(eod, triviaOffset, triviaWidth, ErrorCode.ERR_CompilerAndLanguageVersion, version, 342eod = this.AddError(eod, triviaOffset, triviaWidth, error, "version", new CSharpRequiredLanguageVersion(languageVersion));
Parser\LanguageParser.cs (3)
234return AddError(node, position, 0, ErrorCode.ERR_InsufficientStack); 5278missingIdentifier = this.AddError(missingIdentifier, offset, width, ErrorCode.ERR_IdentifierExpected); 11398dotDotToken = AddError(