31 references to InterfaceKeyword
Microsoft.CodeAnalysis.CSharp (19)
_generated\0\Syntax.xml.Main.Generated.cs (1)
5088if (keyword.Kind() != SyntaxKind.InterfaceKeyword) throw new ArgumentException(nameof(keyword));
_generated\1\Syntax.xml.Internal.Generated.cs (2)
32144if (keyword.Kind != SyntaxKind.InterfaceKeyword) throw new ArgumentException(nameof(keyword)); 37571if (keyword.Kind != SyntaxKind.InterfaceKeyword) throw new ArgumentException(nameof(keyword));
Parser\LanguageParser.cs (7)
344case SyntaxKind.InterfaceKeyword: 1672case SyntaxKind.InterfaceKeyword: 1766case SyntaxKind.InterfaceKeyword: 1786Debug.Assert(this.CurrentToken.Kind is SyntaxKind.ClassKeyword or SyntaxKind.StructKeyword or SyntaxKind.InterfaceKeyword || 2017case SyntaxKind.InterfaceKeyword: 2446case SyntaxKind.InterfaceKeyword: 2490case SyntaxKind.InterfaceKeyword:
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
781AddKeyword(SyntaxKind.InterfaceKeyword);
Syntax\SyntaxFactory.cs (3)
2966=> SyntaxFactory.InterfaceDeclaration(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.InterfaceKeyword), identifier, typeParameterList, baseList, constraintClauses, SyntaxFactory.Token(SyntaxKind.OpenBraceToken), members, SyntaxFactory.Token(SyntaxKind.CloseBraceToken), default); 2970=> SyntaxFactory.InterfaceDeclaration(default, default(SyntaxTokenList), SyntaxFactory.Token(SyntaxKind.InterfaceKeyword), identifier, null, null, default, SyntaxFactory.Token(SyntaxKind.OpenBraceToken), default, SyntaxFactory.Token(SyntaxKind.CloseBraceToken), default); 2974=> 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)
867case SyntaxKind.InterfaceKeyword: 1027return SyntaxKind.InterfaceKeyword; 1728case SyntaxKind.InterfaceKeyword:
Syntax\TypeDeclarationSyntax.cs (2)
63return SyntaxKind.InterfaceKeyword; 80return SyntaxKind.InterfaceKeyword;
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
54public static readonly SyntaxToken InterfaceKeyword = Token(SyntaxKind.InterfaceKeyword);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
325case SyntaxKind.InterfaceKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
703or SyntaxKind.InterfaceKeyword &&
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\CompletionProviders\CSharpSuggestionModeCompletionProvider.cs (1)
80case SyntaxKind.InterfaceKeyword:
Completion\KeywordRecommenders\InterfaceKeywordRecommender.cs (1)
12internal sealed class InterfaceKeywordRecommender() : AbstractSyntacticSingleKeywordRecommender(SyntaxKind.InterfaceKeyword)
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
54public static readonly SyntaxToken InterfaceKeyword = Token(SyntaxKind.InterfaceKeyword);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
325case SyntaxKind.InterfaceKeyword:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
703or SyntaxKind.InterfaceKeyword &&
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\Legacy\NativeCSharpTokenizer.cs (1)
101CSharpSyntaxKind.InterfaceKeyword,
Roslyn.Diagnostics.CSharp.Analyzers (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
54public static readonly SyntaxToken InterfaceKeyword = Token(SyntaxKind.InterfaceKeyword);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
325case SyntaxKind.InterfaceKeyword:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
703or SyntaxKind.InterfaceKeyword &&