125 references to DefaultKeyword
Microsoft.CodeAnalysis.CSharp (23)
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.Features (4)
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));
1243Assert.Equal(SyntaxKind.DefaultKeyword, node.Keyword.Kind);
2499Assert.Equal(SyntaxKind.DefaultKeyword, node.Keyword.Kind);
3005Assert.Equal(SyntaxKind.DefaultKeyword, node.DefaultKeyword.Kind);
10490=> SyntaxFactory.DefaultExpression(SyntaxFactory.Token(SyntaxKind.DefaultKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.CloseParenToken));
10790=> SyntaxFactory.DefaultSwitchLabel(SyntaxFactory.Token(SyntaxKind.DefaultKeyword), SyntaxFactory.Token(SyntaxKind.ColonToken));
10898=> SyntaxFactory.DefaultConstraint(SyntaxFactory.Token(SyntaxKind.DefaultKeyword));
11593Assert.Equal(SyntaxKind.DefaultKeyword, node.Keyword.Kind());
12849Assert.Equal(SyntaxKind.DefaultKeyword, node.Keyword.Kind());
13355Assert.Equal(SyntaxKind.DefaultKeyword, node.DefaultKeyword.Kind());
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
Microsoft.Interop.SourceGeneration (2)
Microsoft.VisualStudio.LanguageServices.CSharp (2)