63 references to EventKeyword
Microsoft.CodeAnalysis.CSharp (10)
Parser\LanguageParser.cs (6)
1533currentTokenKind == SyntaxKind.EventKeyword || 1641if (this.PeekToken(1).Kind == SyntaxKind.EventKeyword) 2365case SyntaxKind.EventKeyword: 2654if (this.CurrentToken.Kind == SyntaxKind.EventKeyword) 3132if (this.CurrentToken.Kind == SyntaxKind.EventKeyword) 4874Debug.Assert(this.CurrentToken.Kind == SyntaxKind.EventKeyword);
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
243AddKeyword(SyntaxKind.EventKeyword);
Syntax\SyntaxKindFacts.cs (3)
51case SyntaxKind.EventKeyword: 964return SyntaxKind.EventKeyword; 1615case SyntaxKind.EventKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
204case SyntaxKind.EventKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
733syntaxTree.IsAfterKeyword(position, SyntaxKind.EventKeyword, cancellationToken) ||
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (49)
Generated\Syntax.Test.xml.Generated.cs (8)
560=> 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)); 590=> 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); 3049Assert.Equal(SyntaxKind.EventKeyword, node.EventKeyword.Kind); 3209Assert.Equal(SyntaxKind.EventKeyword, node.EventKeyword.Kind); 10867=> SyntaxFactory.EventFieldDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), SyntaxFactory.Token(SyntaxKind.EventKeyword), GenerateVariableDeclaration(), SyntaxFactory.Token(SyntaxKind.SemicolonToken)); 10897=> SyntaxFactory.EventDeclaration(new SyntaxList<AttributeListSyntax>(), new SyntaxTokenList(), SyntaxFactory.Token(SyntaxKind.EventKeyword), GenerateIdentifierName(), default(ExplicitInterfaceSpecifierSyntax), SyntaxFactory.Identifier("Identifier"), default(AccessorListSyntax), default(SyntaxToken)); 13356Assert.Equal(SyntaxKind.EventKeyword, node.EventKeyword.Kind()); 13516Assert.Equal(SyntaxKind.EventKeyword, node.EventKeyword.Kind());
Parsing\AsyncParsingTests.cs (5)
1077N(SyntaxKind.EventKeyword); 1124N(SyntaxKind.EventKeyword); 1170N(SyntaxKind.EventKeyword); 1542N(SyntaxKind.EventKeyword); 1593N(SyntaxKind.EventKeyword);
Parsing\DeclarationParsingTests.cs (4)
6021N(SyntaxKind.EventKeyword); 6081N(SyntaxKind.EventKeyword); 6147N(SyntaxKind.EventKeyword); 6220N(SyntaxKind.EventKeyword);
Parsing\DeclarationScopeParsingTests.cs (3)
14396N(SyntaxKind.EventKeyword); 14451N(SyntaxKind.EventKeyword); 14519N(SyntaxKind.EventKeyword);
Parsing\ExtensionsParsingTests.cs (2)
2354N(SyntaxKind.EventKeyword); 2438N(SyntaxKind.EventKeyword);
Parsing\FieldKeywordParsingTests.cs (1)
620N(SyntaxKind.EventKeyword);
Parsing\FileModifierParsingTests.cs (2)
922N(SyntaxKind.EventKeyword); 1169N(SyntaxKind.EventKeyword);
Parsing\MemberDeclarationParsingTests.cs (4)
10989N(SyntaxKind.EventKeyword); 11163N(SyntaxKind.EventKeyword); 11708N(SyntaxKind.EventKeyword); 11740N(SyntaxKind.EventKeyword);
Parsing\PartialEventsAndConstructorsParsingTests.cs (18)
42N(SyntaxKind.EventKeyword); 59N(SyntaxKind.EventKeyword); 107N(SyntaxKind.EventKeyword); 135N(SyntaxKind.EventKeyword); 168N(SyntaxKind.EventKeyword); 204N(SyntaxKind.EventKeyword); 245N(SyntaxKind.EventKeyword); 302N(SyntaxKind.EventKeyword); 332N(SyntaxKind.EventKeyword); 361N(SyntaxKind.EventKeyword); 390N(SyntaxKind.EventKeyword); 459N(SyntaxKind.EventKeyword); 485N(SyntaxKind.EventKeyword); 535N(SyntaxKind.EventKeyword); 579N(SyntaxKind.EventKeyword); 607N(SyntaxKind.EventKeyword); 649N(SyntaxKind.EventKeyword); 728N(SyntaxKind.EventKeyword);
Parsing\TopLevelStatementsParsingTests.cs (1)
698N(SyntaxKind.EventKeyword);
Syntax\SyntaxTests.cs (1)
265case SyntaxKind.EventKeyword:
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
204case SyntaxKind.EventKeyword:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
733syntaxTree.IsAfterKeyword(position, SyntaxKind.EventKeyword, cancellationToken) ||