124 references to DefaultKeyword
Microsoft.CodeAnalysis.CSharp (23)
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.Features (3)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (83)
Generated\Syntax.Test.xml.Generated.cs (12)
140=> InternalSyntaxFactory.DefaultExpression(InternalSyntaxFactory.Token(SyntaxKind.DefaultKeyword), InternalSyntaxFactory.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(), InternalSyntaxFactory.Token(SyntaxKind.CloseParenToken));
440=> InternalSyntaxFactory.DefaultSwitchLabel(InternalSyntaxFactory.Token(SyntaxKind.DefaultKeyword), InternalSyntaxFactory.Token(SyntaxKind.ColonToken));
548=> InternalSyntaxFactory.DefaultConstraint(InternalSyntaxFactory.Token(SyntaxKind.DefaultKeyword));
1240Assert.Equal(SyntaxKind.DefaultKeyword, node.Keyword.Kind);
2496Assert.Equal(SyntaxKind.DefaultKeyword, node.Keyword.Kind);
3002Assert.Equal(SyntaxKind.DefaultKeyword, node.DefaultKeyword.Kind);
10447=> SyntaxFactory.DefaultExpression(SyntaxFactory.Token(SyntaxKind.DefaultKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.CloseParenToken));
10747=> SyntaxFactory.DefaultSwitchLabel(SyntaxFactory.Token(SyntaxKind.DefaultKeyword), SyntaxFactory.Token(SyntaxKind.ColonToken));
10855=> SyntaxFactory.DefaultConstraint(SyntaxFactory.Token(SyntaxKind.DefaultKeyword));
11547Assert.Equal(SyntaxKind.DefaultKeyword, node.Keyword.Kind());
12803Assert.Equal(SyntaxKind.DefaultKeyword, node.Keyword.Kind());
13309Assert.Equal(SyntaxKind.DefaultKeyword, node.DefaultKeyword.Kind());
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
Microsoft.Interop.SourceGeneration (2)
Microsoft.VisualStudio.LanguageServices.CSharp (2)