14 references to ExpressionColon
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (1)
402SyntaxKind.ExpressionColon or SyntaxKind.SwitchExpressionArm))
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
1420if (leftToken.IsKind(SyntaxKind.ColonToken) && leftToken.Parent is (kind: SyntaxKind.NameColon or SyntaxKind.ExpressionColon) &&
Microsoft.CodeAnalysis.CSharp.Features (1)
GenerateMember\GenerateVariable\CSharpGenerateVariableService.cs (1)
184if (expression.Parent is (kind: SyntaxKind.NameColon or SyntaxKind.ExpressionColon) &&
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (9)
Parsing\PatternParsingTests2.cs (9)
72N(SyntaxKind.ExpressionColon); 183N(SyntaxKind.ExpressionColon); 297N(SyntaxKind.ExpressionColon); 351N(SyntaxKind.ExpressionColon); 574N(SyntaxKind.ExpressionColon); 668N(SyntaxKind.ExpressionColon); 722N(SyntaxKind.ExpressionColon); 851N(SyntaxKind.ExpressionColon); 911N(SyntaxKind.ExpressionColon);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\TokenBasedFormattingRule.cs (1)
402SyntaxKind.ExpressionColon or SyntaxKind.SwitchExpressionArm))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
1420if (leftToken.IsKind(SyntaxKind.ColonToken) && leftToken.Parent is (kind: SyntaxKind.NameColon or SyntaxKind.ExpressionColon) &&