88 references to InterfaceKeyword
Microsoft.CodeAnalysis.CSharp (16)
Parser\LanguageParser.cs (7)
345case SyntaxKind.InterfaceKeyword: 1620case SyntaxKind.InterfaceKeyword: 1701case SyntaxKind.InterfaceKeyword: 1721Debug.Assert(this.CurrentToken.Kind is SyntaxKind.ClassKeyword or SyntaxKind.StructKeyword or SyntaxKind.InterfaceKeyword || 1924case SyntaxKind.InterfaceKeyword: 2318case SyntaxKind.InterfaceKeyword: 2362case SyntaxKind.InterfaceKeyword:
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
736AddKeyword(SyntaxKind.InterfaceKeyword);
Syntax\SyntaxFactory.cs (3)
2918=> SyntaxFactory.InterfaceDeclaration(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.InterfaceKeyword), identifier, typeParameterList, baseList, constraintClauses, SyntaxFactory.Token(SyntaxKind.OpenBraceToken), members, SyntaxFactory.Token(SyntaxKind.CloseBraceToken), default); 2922=> SyntaxFactory.InterfaceDeclaration(default, default(SyntaxTokenList), SyntaxFactory.Token(SyntaxKind.InterfaceKeyword), identifier, null, null, default, SyntaxFactory.Token(SyntaxKind.OpenBraceToken), default, SyntaxFactory.Token(SyntaxKind.CloseBraceToken), default); 2926=> SyntaxFactory.InterfaceDeclaration(default, default(SyntaxTokenList), SyntaxFactory.Token(SyntaxKind.InterfaceKeyword), SyntaxFactory.Identifier(identifier), null, null, default, SyntaxFactory.Token(SyntaxKind.OpenBraceToken), default, SyntaxFactory.Token(SyntaxKind.CloseBraceToken), default);
Syntax\SyntaxKindFacts.cs (3)
839case SyntaxKind.InterfaceKeyword: 997return SyntaxKind.InterfaceKeyword; 1645case SyntaxKind.InterfaceKeyword:
Syntax\TypeDeclarationSyntax.cs (2)
61return SyntaxKind.InterfaceKeyword; 76return SyntaxKind.InterfaceKeyword;
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
43public static readonly SyntaxToken InterfaceKeyword = Token(SyntaxKind.InterfaceKeyword);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
317case SyntaxKind.InterfaceKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
695or SyntaxKind.InterfaceKeyword &&
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\CompletionProviders\CSharpSuggestionModeCompletionProvider.cs (1)
84case SyntaxKind.InterfaceKeyword:
Completion\KeywordRecommenders\InterfaceKeywordRecommender.cs (1)
24: base(SyntaxKind.InterfaceKeyword)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (64)
Generated\Syntax.Test.xml.Generated.cs (4)
509=> InternalSyntaxFactory.InterfaceDeclaration(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(), InternalSyntaxFactory.Token(SyntaxKind.InterfaceKeyword), InternalSyntaxFactory.Identifier("Identifier"), null, null, null, new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.TypeParameterConstraintClauseSyntax>(), null, new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.MemberDeclarationSyntax>(), null, null); 2809Assert.Equal(SyntaxKind.InterfaceKeyword, node.Keyword.Kind); 10725=> SyntaxFactory.InterfaceDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), SyntaxFactory.Token(SyntaxKind.InterfaceKeyword), SyntaxFactory.Identifier("Identifier"), default(TypeParameterListSyntax), default(ParameterListSyntax), default(BaseListSyntax), new SyntaxList<TypeParameterConstraintClauseSyntax>(), default(SyntaxToken), new SyntaxList<MemberDeclarationSyntax>(), default(SyntaxToken), default(SyntaxToken)); 13025Assert.Equal(SyntaxKind.InterfaceKeyword, node.Keyword.Kind());
IncrementalParsing\IncrementalParsingTests.cs (1)
194SyntaxKind.InterfaceKeyword);
Parsing\AsyncParsingTests.cs (3)
1455N(SyntaxKind.InterfaceKeyword); 2490N(SyntaxKind.InterfaceKeyword); 2539N(SyntaxKind.InterfaceKeyword);
Parsing\DeclarationParsingTests.cs (27)
1608Assert.Equal(SyntaxKind.InterfaceKeyword, cs.Keyword.Kind()); 1633Assert.Equal(SyntaxKind.InterfaceKeyword, cs.Keyword.Kind()); 1663Assert.Equal(SyntaxKind.InterfaceKeyword, cs.Keyword.Kind()); 6008N(SyntaxKind.InterfaceKeyword); 6016N(SyntaxKind.InterfaceKeyword); 6068N(SyntaxKind.InterfaceKeyword); 6076N(SyntaxKind.InterfaceKeyword); 6134N(SyntaxKind.InterfaceKeyword); 6142N(SyntaxKind.InterfaceKeyword); 6207N(SyntaxKind.InterfaceKeyword); 6215N(SyntaxKind.InterfaceKeyword); 9108N(SyntaxKind.InterfaceKeyword); 9130N(SyntaxKind.InterfaceKeyword); 9151N(SyntaxKind.InterfaceKeyword); 9183N(SyntaxKind.InterfaceKeyword); 9223N(SyntaxKind.InterfaceKeyword); 9260N(SyntaxKind.InterfaceKeyword); 9373[InlineDataAttribute(SyntaxKind.InterfaceDeclaration, SyntaxKind.InterfaceKeyword)] 9397[InlineDataAttribute(SyntaxKind.InterfaceDeclaration, SyntaxKind.InterfaceKeyword)] 9429[InlineDataAttribute(SyntaxKind.InterfaceDeclaration, SyntaxKind.InterfaceKeyword)] 9466[InlineDataAttribute(SyntaxKind.InterfaceDeclaration, SyntaxKind.InterfaceKeyword)] 9502[InlineDataAttribute(SyntaxKind.InterfaceDeclaration, SyntaxKind.InterfaceKeyword)] 9537[InlineDataAttribute(SyntaxKind.InterfaceDeclaration, SyntaxKind.InterfaceKeyword)] 9579[InlineDataAttribute(SyntaxKind.InterfaceDeclaration, SyntaxKind.InterfaceKeyword)] 9618[InlineDataAttribute(SyntaxKind.InterfaceDeclaration, SyntaxKind.InterfaceKeyword)] 9673[InlineDataAttribute(SyntaxKind.InterfaceDeclaration, SyntaxKind.InterfaceKeyword)] 9721[InlineDataAttribute(SyntaxKind.InterfaceDeclaration, SyntaxKind.InterfaceKeyword)]
Parsing\DeclarationParsingTests_MissingIdentifiers.cs (8)
1284N(SyntaxKind.InterfaceKeyword); 1310N(SyntaxKind.InterfaceKeyword); 1329N(SyntaxKind.InterfaceKeyword); 1408N(SyntaxKind.InterfaceKeyword); 1468N(SyntaxKind.InterfaceKeyword); 1496N(SyntaxKind.InterfaceKeyword); 1578N(SyntaxKind.InterfaceKeyword); 1672N(SyntaxKind.InterfaceKeyword);
Parsing\FileModifierParsingTests.cs (5)
44[InlineData(SyntaxKind.InterfaceKeyword)] 70[InlineData(SyntaxKind.InterfaceKeyword)] 124[InlineData(SyntaxKind.InterfaceKeyword)] 496[InlineData(SyntaxKind.InterfaceKeyword)] 529[InlineData(SyntaxKind.InterfaceKeyword)]
Parsing\MemberDeclarationParsingTests.cs (9)
9246N(SyntaxKind.InterfaceKeyword); 10473[InlineData("interface", SyntaxKind.InterfaceDeclaration, SyntaxKind.InterfaceKeyword)] 10556[InlineData("interface", SyntaxKind.InterfaceDeclaration, SyntaxKind.InterfaceKeyword)] 10659[InlineData("interface", SyntaxKind.InterfaceDeclaration, SyntaxKind.InterfaceKeyword)] 10774[InlineData("interface", SyntaxKind.InterfaceDeclaration, SyntaxKind.InterfaceKeyword)] 10930[InlineData("interface", SyntaxKind.InterfaceDeclaration, SyntaxKind.InterfaceKeyword)] 11105[InlineData("interface", SyntaxKind.InterfaceDeclaration, SyntaxKind.InterfaceKeyword)] 11278[InlineData("interface", SyntaxKind.InterfaceDeclaration, SyntaxKind.InterfaceKeyword)] 11409[InlineData("interface", SyntaxKind.InterfaceDeclaration, SyntaxKind.InterfaceKeyword)]
Parsing\RecordParsing.cs (7)
317N(SyntaxKind.InterfaceKeyword); 351N(SyntaxKind.InterfaceKeyword); 2533N(SyntaxKind.InterfaceKeyword); 2563N(SyntaxKind.InterfaceKeyword); 2615N(SyntaxKind.InterfaceKeyword); 3081N(SyntaxKind.InterfaceKeyword); 3476N(SyntaxKind.InterfaceKeyword);
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
43public static readonly SyntaxToken InterfaceKeyword = Token(SyntaxKind.InterfaceKeyword);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
317case SyntaxKind.InterfaceKeyword:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
695or SyntaxKind.InterfaceKeyword &&