36 references to EventKeyword
Microsoft.CodeAnalysis.CSharp (8)
Parser\LanguageParser.cs (5)
1260
currentTokenKind == SyntaxKind.
EventKeyword
||
1997
case SyntaxKind.
EventKeyword
:
2280
if (this.CurrentToken.Kind == SyntaxKind.
EventKeyword
)
2753
if (this.CurrentToken.Kind == SyntaxKind.
EventKeyword
)
4500
Debug.Assert(this.CurrentToken.Kind == SyntaxKind.
EventKeyword
);
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
236
AddKeyword(SyntaxKind.
EventKeyword
);
Syntax\SyntaxKindFacts.cs (2)
933
return SyntaxKind.
EventKeyword
;
1573
case SyntaxKind.
EventKeyword
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
SyntaxTokenExtensions.cs (1)
157
case SyntaxKind.
EventKeyword
:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
731
syntaxTree.IsAfterKeyword(position, SyntaxKind.
EventKeyword
, cancellationToken) ||
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\KeywordRecommenders\EventKeywordRecommender.cs (1)
37
: base(SyntaxKind.
EventKeyword
)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (23)
Generated\Syntax.Test.xml.Generated.cs (8)
539
=> InternalSyntaxFactory.EventFieldDeclaration(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(), InternalSyntaxFactory.Token(SyntaxKind.
EventKeyword
), GenerateVariableDeclaration(), InternalSyntaxFactory.Token(SyntaxKind.SemicolonToken));
569
=> InternalSyntaxFactory.EventDeclaration(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(), InternalSyntaxFactory.Token(SyntaxKind.
EventKeyword
), GenerateIdentifierName(), null, InternalSyntaxFactory.Identifier("Identifier"), null, null);
2941
Assert.Equal(SyntaxKind.
EventKeyword
, node.EventKeyword.Kind);
3101
Assert.Equal(SyntaxKind.
EventKeyword
, node.EventKeyword.Kind);
10515
=> SyntaxFactory.EventFieldDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), SyntaxFactory.Token(SyntaxKind.
EventKeyword
), GenerateVariableDeclaration(), SyntaxFactory.Token(SyntaxKind.SemicolonToken));
10545
=> SyntaxFactory.EventDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), SyntaxFactory.Token(SyntaxKind.
EventKeyword
), GenerateIdentifierName(), default(ExplicitInterfaceSpecifierSyntax), SyntaxFactory.Identifier("Identifier"), default(AccessorListSyntax), default(SyntaxToken));
12917
Assert.Equal(SyntaxKind.
EventKeyword
, node.EventKeyword.Kind());
13077
Assert.Equal(SyntaxKind.
EventKeyword
, node.EventKeyword.Kind());
Parsing\AsyncParsingTests.cs (5)
1077
N(SyntaxKind.
EventKeyword
);
1124
N(SyntaxKind.
EventKeyword
);
1170
N(SyntaxKind.
EventKeyword
);
1542
N(SyntaxKind.
EventKeyword
);
1602
N(SyntaxKind.
EventKeyword
);
Parsing\DeclarationParsingTests.cs (4)
6021
N(SyntaxKind.
EventKeyword
);
6081
N(SyntaxKind.
EventKeyword
);
6147
N(SyntaxKind.
EventKeyword
);
6220
N(SyntaxKind.
EventKeyword
);
Parsing\DeclarationScopeParsingTests.cs (3)
14795
N(SyntaxKind.
EventKeyword
);
14850
N(SyntaxKind.
EventKeyword
);
14918
N(SyntaxKind.
EventKeyword
);
Parsing\FileModifierParsingTests.cs (2)
921
N(SyntaxKind.
EventKeyword
);
1168
N(SyntaxKind.
EventKeyword
);
Parsing\TopLevelStatementsParsingTests.cs (1)
698
N(SyntaxKind.
EventKeyword
);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs\SyntaxTokenExtensions.cs (1)
157
case SyntaxKind.
EventKeyword
:
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
731
syntaxTree.IsAfterKeyword(position, SyntaxKind.
EventKeyword
, cancellationToken) ||