101 references to DefaultKeyword
Microsoft.CodeAnalysis.CSharp (23)
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.Features (2)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (64)
Generated\Syntax.Test.xml.Generated.cs (12)
137=> InternalSyntaxFactory.DefaultExpression(InternalSyntaxFactory.Token(SyntaxKind.DefaultKeyword), InternalSyntaxFactory.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(), InternalSyntaxFactory.Token(SyntaxKind.CloseParenToken));
428=> InternalSyntaxFactory.DefaultSwitchLabel(InternalSyntaxFactory.Token(SyntaxKind.DefaultKeyword), InternalSyntaxFactory.Token(SyntaxKind.ColonToken));
533=> InternalSyntaxFactory.DefaultConstraint(InternalSyntaxFactory.Token(SyntaxKind.DefaultKeyword));
1206Assert.Equal(SyntaxKind.DefaultKeyword, node.Keyword.Kind);
2429Assert.Equal(SyntaxKind.DefaultKeyword, node.Keyword.Kind);
2916Assert.Equal(SyntaxKind.DefaultKeyword, node.DefaultKeyword.Kind);
10113=> SyntaxFactory.DefaultExpression(SyntaxFactory.Token(SyntaxKind.DefaultKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.CloseParenToken));
10404=> SyntaxFactory.DefaultSwitchLabel(SyntaxFactory.Token(SyntaxKind.DefaultKeyword), SyntaxFactory.Token(SyntaxKind.ColonToken));
10509=> SyntaxFactory.DefaultConstraint(SyntaxFactory.Token(SyntaxKind.DefaultKeyword));
11182Assert.Equal(SyntaxKind.DefaultKeyword, node.Keyword.Kind());
12405Assert.Equal(SyntaxKind.DefaultKeyword, node.Keyword.Kind());
12892Assert.Equal(SyntaxKind.DefaultKeyword, node.DefaultKeyword.Kind());
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
Microsoft.VisualStudio.LanguageServices.CSharp (1)