88 references to InterfaceKeyword
Microsoft.CodeAnalysis.CSharp (16)
Parser\LanguageParser.cs (7)
345
case SyntaxKind.
InterfaceKeyword
:
1620
case SyntaxKind.
InterfaceKeyword
:
1701
case SyntaxKind.
InterfaceKeyword
:
1721
Debug.Assert(this.CurrentToken.Kind is SyntaxKind.ClassKeyword or SyntaxKind.StructKeyword or SyntaxKind.
InterfaceKeyword
||
1924
case SyntaxKind.
InterfaceKeyword
:
2318
case SyntaxKind.
InterfaceKeyword
:
2362
case SyntaxKind.
InterfaceKeyword
:
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
736
AddKeyword(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)
839
case SyntaxKind.
InterfaceKeyword
:
997
return SyntaxKind.
InterfaceKeyword
;
1645
case SyntaxKind.
InterfaceKeyword
:
Syntax\TypeDeclarationSyntax.cs (2)
61
return SyntaxKind.
InterfaceKeyword
;
76
return SyntaxKind.
InterfaceKeyword
;
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
43
public static readonly SyntaxToken InterfaceKeyword = Token(SyntaxKind.
InterfaceKeyword
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
317
case SyntaxKind.
InterfaceKeyword
:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
695
or SyntaxKind.
InterfaceKeyword
&&
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\CompletionProviders\CSharpSuggestionModeCompletionProvider.cs (1)
84
case 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);
2809
Assert.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));
13025
Assert.Equal(SyntaxKind.
InterfaceKeyword
, node.Keyword.Kind());
IncrementalParsing\IncrementalParsingTests.cs (1)
194
SyntaxKind.
InterfaceKeyword
);
Parsing\AsyncParsingTests.cs (3)
1455
N(SyntaxKind.
InterfaceKeyword
);
2490
N(SyntaxKind.
InterfaceKeyword
);
2539
N(SyntaxKind.
InterfaceKeyword
);
Parsing\DeclarationParsingTests.cs (27)
1608
Assert.Equal(SyntaxKind.
InterfaceKeyword
, cs.Keyword.Kind());
1633
Assert.Equal(SyntaxKind.
InterfaceKeyword
, cs.Keyword.Kind());
1663
Assert.Equal(SyntaxKind.
InterfaceKeyword
, cs.Keyword.Kind());
6008
N(SyntaxKind.
InterfaceKeyword
);
6016
N(SyntaxKind.
InterfaceKeyword
);
6068
N(SyntaxKind.
InterfaceKeyword
);
6076
N(SyntaxKind.
InterfaceKeyword
);
6134
N(SyntaxKind.
InterfaceKeyword
);
6142
N(SyntaxKind.
InterfaceKeyword
);
6207
N(SyntaxKind.
InterfaceKeyword
);
6215
N(SyntaxKind.
InterfaceKeyword
);
9108
N(SyntaxKind.
InterfaceKeyword
);
9130
N(SyntaxKind.
InterfaceKeyword
);
9151
N(SyntaxKind.
InterfaceKeyword
);
9183
N(SyntaxKind.
InterfaceKeyword
);
9223
N(SyntaxKind.
InterfaceKeyword
);
9260
N(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)
1284
N(SyntaxKind.
InterfaceKeyword
);
1310
N(SyntaxKind.
InterfaceKeyword
);
1329
N(SyntaxKind.
InterfaceKeyword
);
1408
N(SyntaxKind.
InterfaceKeyword
);
1468
N(SyntaxKind.
InterfaceKeyword
);
1496
N(SyntaxKind.
InterfaceKeyword
);
1578
N(SyntaxKind.
InterfaceKeyword
);
1672
N(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)
9246
N(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)
317
N(SyntaxKind.
InterfaceKeyword
);
351
N(SyntaxKind.
InterfaceKeyword
);
2533
N(SyntaxKind.
InterfaceKeyword
);
2563
N(SyntaxKind.
InterfaceKeyword
);
2615
N(SyntaxKind.
InterfaceKeyword
);
3081
N(SyntaxKind.
InterfaceKeyword
);
3476
N(SyntaxKind.
InterfaceKeyword
);
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpSyntaxTokens.cs (1)
43
public static readonly SyntaxToken InterfaceKeyword = Token(SyntaxKind.
InterfaceKeyword
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
317
case SyntaxKind.
InterfaceKeyword
:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
695
or SyntaxKind.
InterfaceKeyword
&&