163 references to DefaultKeyword
Microsoft.AspNetCore.Components.Analyzers (4)
Microsoft.CodeAnalysis.CSharp (44)
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.Features (4)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (92)
Generated\Syntax.Test.xml.Generated.cs (12)
140=> InternalSyntaxFactory.DefaultExpression(InternalSyntaxFactory.Token(SyntaxKind.DefaultKeyword), InternalSyntaxFactory.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(), InternalSyntaxFactory.Token(SyntaxKind.CloseParenToken));
443=> InternalSyntaxFactory.DefaultSwitchLabel(InternalSyntaxFactory.Token(SyntaxKind.DefaultKeyword), InternalSyntaxFactory.Token(SyntaxKind.ColonToken));
551=> InternalSyntaxFactory.DefaultConstraint(InternalSyntaxFactory.Token(SyntaxKind.DefaultKeyword));
1246Assert.Equal(SyntaxKind.DefaultKeyword, node.Keyword.Kind);
2513Assert.Equal(SyntaxKind.DefaultKeyword, node.Keyword.Kind);
3019Assert.Equal(SyntaxKind.DefaultKeyword, node.DefaultKeyword.Kind);
10530=> SyntaxFactory.DefaultExpression(SyntaxFactory.Token(SyntaxKind.DefaultKeyword), SyntaxFactory.Token(SyntaxKind.OpenParenToken), GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.CloseParenToken));
10833=> SyntaxFactory.DefaultSwitchLabel(SyntaxFactory.Token(SyntaxKind.DefaultKeyword), SyntaxFactory.Token(SyntaxKind.ColonToken));
10941=> SyntaxFactory.DefaultConstraint(SyntaxFactory.Token(SyntaxKind.DefaultKeyword));
11636Assert.Equal(SyntaxKind.DefaultKeyword, node.Keyword.Kind());
12903Assert.Equal(SyntaxKind.DefaultKeyword, node.Keyword.Kind());
13409Assert.Equal(SyntaxKind.DefaultKeyword, node.DefaultKeyword.Kind());
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
Microsoft.Interop.SourceGeneration (2)
Microsoft.VisualStudio.LanguageServices.CSharp (2)
Roslyn.Diagnostics.CSharp.Analyzers (4)