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