30 references to MinusGreaterThanToken
Microsoft.CodeAnalysis.CSharp (9)
Parser\LanguageParser.cs (5)
1159if (this.CurrentToken.Kind == SyntaxKind.MinusGreaterThanToken) 5226if (currentTokenKind is SyntaxKind.DotToken or SyntaxKind.OpenParenToken or SyntaxKind.MinusGreaterThanToken || 7856or SyntaxKind.MinusGreaterThanToken; 11598case SyntaxKind.MinusGreaterThanToken: 12641case SyntaxKind.MinusGreaterThanToken:
Parser\LanguageParser_Patterns.cs (1)
258case SyntaxKind.MinusGreaterThanToken:
Parser\Lexer.cs (1)
585TextWindow.TryAdvance('>') ? SyntaxKind.MinusGreaterThanToken : SyntaxKind.MinusToken;
Syntax\SyntaxKindFacts.cs (1)
1455case SyntaxKind.MinusGreaterThanToken:
Syntax\SyntaxNormalizer.cs (1)
1003case SyntaxKind.MinusGreaterThanToken:
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs (2)
87private static readonly Func<SyntaxKind, bool> s_isDotOrArrow = k => k is SyntaxKind.DotToken or SyntaxKind.MinusGreaterThanToken; 89k => k is SyntaxKind.DotToken or SyntaxKind.MinusGreaterThanToken or SyntaxKind.ColonColonToken;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (2)
369case SyntaxKind.MinusGreaterThanToken: 497case SyntaxKind.MinusGreaterThanToken:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (2)
1465leftToken.IsKind(SyntaxKind.MinusGreaterThanToken)) 2199or SyntaxKind.MinusGreaterThanToken)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (8)
LexicalAndXml\LexicalTests.cs (1)
937TestPunctuation(SyntaxKind.MinusGreaterThanToken);
Parsing\CollectionExpressionParsingTests.cs (4)
861N(SyntaxKind.MinusGreaterThanToken); 917N(SyntaxKind.MinusGreaterThanToken); 12354N(SyntaxKind.MinusGreaterThanToken); 12398N(SyntaxKind.MinusGreaterThanToken);
Parsing\ExpressionParsingTests.cs (1)
724TestMemberAccess(SyntaxKind.MinusGreaterThanToken);
Parsing\FieldKeywordParsingTests.cs (1)
1120N(SyntaxKind.MinusGreaterThanToken);
Parsing\PatternParsingTests2.cs (1)
359N(SyntaxKind.MinusGreaterThanToken);
Microsoft.CodeAnalysis.CSharp.Workspaces (7)
Classification\ClassificationHelpers.cs (1)
416case SyntaxKind.MinusGreaterThanToken:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs (2)
87private static readonly Func<SyntaxKind, bool> s_isDotOrArrow = k => k is SyntaxKind.DotToken or SyntaxKind.MinusGreaterThanToken; 89k => k is SyntaxKind.DotToken or SyntaxKind.MinusGreaterThanToken or SyntaxKind.ColonColonToken;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (2)
369case SyntaxKind.MinusGreaterThanToken: 497case SyntaxKind.MinusGreaterThanToken:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (2)
1465leftToken.IsKind(SyntaxKind.MinusGreaterThanToken)) 2199or SyntaxKind.MinusGreaterThanToken)