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)
23
Errors
= new List<ParseError>(tokenizeErrors.Count);
60
internal void AddError(ParseError parseError) => (
Errors
??= new()).Add(parseError);
62
internal 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)
29
var parseErrors = SymbolResultTree.
Errors
;
Parsing\SymbolResultTree.cs (2)
27
Errors
.Add(new ParseError(tokenizeErrors[i]));
32
internal int ErrorCount =>
Errors
?.Count ?? 0;