3 overrides of Keyword
Microsoft.CodeAnalysis.CSharp (3)
19 references to Keyword
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.Features (1)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (14)
Parsing\StatementParsingTests.cs (14)
2162Assert.NotEqual(default, ss.Sections[0].Labels[0].Keyword);
2163Assert.Equal(SyntaxKind.CaseKeyword, ss.Sections[0].Labels[0].Keyword.Kind());
2198Assert.NotEqual(default, ss.Sections[0].Labels[0].Keyword);
2199Assert.Equal(SyntaxKind.CaseKeyword, ss.Sections[0].Labels[0].Keyword.Kind());
2209Assert.NotEqual(default, ss.Sections[1].Labels[0].Keyword);
2210Assert.Equal(SyntaxKind.CaseKeyword, ss.Sections[1].Labels[0].Keyword.Kind());
2245Assert.NotEqual(default, ss.Sections[0].Labels[0].Keyword);
2246Assert.Equal(SyntaxKind.DefaultKeyword, ss.Sections[0].Labels[0].Keyword.Kind());
2278Assert.NotEqual(default, ss.Sections[0].Labels[0].Keyword);
2279Assert.Equal(SyntaxKind.CaseKeyword, ss.Sections[0].Labels[0].Keyword.Kind());
2284Assert.NotEqual(default, ss.Sections[0].Labels[1].Keyword);
2285Assert.Equal(SyntaxKind.CaseKeyword, ss.Sections[0].Labels[1].Keyword.Kind());
2320Assert.NotEqual(default, ss.Sections[0].Labels[0].Keyword);
2321Assert.Equal(SyntaxKind.CaseKeyword, ss.Sections[0].Labels[0].Keyword.Kind());
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Roslyn.Diagnostics.CSharp.Analyzers (1)