6 writes to Errors
System.CommandLine (6)
Parsing\ParseOperation.cs (3)
434_symbolResultTree.Errors = errorsNotUnderInnermostCommand; 459_symbolResultTree.Errors = errorsForPrimarySymbol; 474_symbolResultTree.Errors = errorsForPrimarySymbol;
Parsing\SymbolResultTree.cs (3)
23Errors = new List<ParseError>(tokenizeErrors.Count); 60internal void AddError(ParseError parseError) => (Errors ??= new()).Add(parseError); 62internal void InsertFirstError(ParseError parseError) => (Errors ??= new()).Insert(0, parseError);
10 references to Errors
System.CommandLine (10)
Parsing\ParseOperation.cs (7)
71_symbolResultTree.Errors, 427_symbolResultTree.Errors is not null) 430.Errors 445_symbolResultTree.Errors is not null) 455.Errors 470.Errors 483_symbolResultTree.Errors?.Clear();
Parsing\SymbolResult.cs (1)
29var parseErrors = SymbolResultTree.Errors;
Parsing\SymbolResultTree.cs (2)
27Errors.Add(new ParseError(tokenizeErrors[i])); 32internal int ErrorCount => Errors?.Count ?? 0;