3 writes to Symbol
System.CommandLine (3)
Parsing\ParseOperation.cs (1)
164
CurrentToken.
Symbol
= argument;
Parsing\Token.cs (2)
20
Symbol
= symbol;
28
Symbol
= symbol;
15 references to Symbol
System.CommandLine (15)
ArgumentValidation.cs (2)
165
if (token.
Symbol
is null || token.
Symbol
== argument)
Parsing\ParseOperation.cs (4)
79
Command command = (Command)CurrentToken.
Symbol
!;
162
if (captureRemaining || CurrentToken.
Symbol
is null)
212
Option option = (Option)CurrentToken.
Symbol
!;
332
if (token.
Symbol
is not Directive directive)
Parsing\StringExtensions.cs (7)
89
directive = (Directive)directiveToken.
Symbol
!;
140
tokenList.Add(Option(arg, (Option)token.
Symbol
!));
144
Command cmd = (Command)token.
Symbol
!;
167
tokenList.Add(Option(first, (Option)subtoken.
Symbol
!));
232
tokenList.Add(new Token(found.Value, found.Type, found.
Symbol
, argumentIndex));
233
if (i != alias.Length - 1 && ((Option)found.
Symbol
!).Greedy)
256
if (token.
Symbol
is Option { Greedy: true } opt)
Parsing\Token.cs (2)
55
public bool Equals(Token? other) => other is not null && Value == other.Value && Type == other.Type && ReferenceEquals(
Symbol
, other.
Symbol
);