32 references to EventKeyword
Microsoft.CodeAnalysis.CSharp (21)
_generated\0\Syntax.xml.Main.Generated.cs (7)
5426if (eventKeyword.Kind() != SyntaxKind.EventKeyword) throw new ArgumentException(nameof(eventKeyword)); 5434=> SyntaxFactory.EventFieldDeclaration(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.EventKeyword), declaration, SyntaxFactory.Token(SyntaxKind.SemicolonToken)); 5438=> SyntaxFactory.EventFieldDeclaration(default, default(SyntaxTokenList), SyntaxFactory.Token(SyntaxKind.EventKeyword), declaration, SyntaxFactory.Token(SyntaxKind.SemicolonToken)); 5708if (eventKeyword.Kind() != SyntaxKind.EventKeyword) throw new ArgumentException(nameof(eventKeyword)); 5722=> SyntaxFactory.EventDeclaration(attributeLists, modifiers, SyntaxFactory.Token(SyntaxKind.EventKeyword), type, explicitInterfaceSpecifier, identifier, accessorList, default); 5726=> SyntaxFactory.EventDeclaration(default, default(SyntaxTokenList), SyntaxFactory.Token(SyntaxKind.EventKeyword), type, default, identifier, default, default); 5730=> SyntaxFactory.EventDeclaration(default, default(SyntaxTokenList), SyntaxFactory.Token(SyntaxKind.EventKeyword), type, default, SyntaxFactory.Identifier(identifier), default, default);
_generated\1\Syntax.xml.Internal.Generated.cs (4)
32567if (eventKeyword.Kind != SyntaxKind.EventKeyword) throw new ArgumentException(nameof(eventKeyword)); 32846if (eventKeyword.Kind != SyntaxKind.EventKeyword) throw new ArgumentException(nameof(eventKeyword)); 37994if (eventKeyword.Kind != SyntaxKind.EventKeyword) throw new ArgumentException(nameof(eventKeyword)); 38273if (eventKeyword.Kind != SyntaxKind.EventKeyword) throw new ArgumentException(nameof(eventKeyword));
Parser\LanguageParser.cs (6)
1586currentTokenKind == SyntaxKind.EventKeyword || 1706if (this.PeekToken(1).Kind == SyntaxKind.EventKeyword) 2441case SyntaxKind.EventKeyword: 2735if (this.CurrentToken.Kind == SyntaxKind.EventKeyword) 3296if (this.CurrentToken.Kind == SyntaxKind.EventKeyword) 5124Debug.Assert(this.CurrentToken.Kind == SyntaxKind.EventKeyword);
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
243AddKeyword(SyntaxKind.EventKeyword);
Syntax\SyntaxKindFacts.cs (3)
51case SyntaxKind.EventKeyword: 991return SyntaxKind.EventKeyword; 1692case SyntaxKind.EventKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
213case SyntaxKind.EventKeyword:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (1)
539SyntaxKind.EventKeyword => AttributeTargets.Event,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
741syntaxTree.IsAfterKeyword(position, SyntaxKind.EventKeyword, cancellationToken) ||
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\KeywordRecommenders\EventKeywordRecommender.cs (1)
13internal sealed class EventKeywordRecommender() : AbstractSyntacticSingleKeywordRecommender(SyntaxKind.EventKeyword)
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
213case SyntaxKind.EventKeyword:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (1)
539SyntaxKind.EventKeyword => AttributeTargets.Event,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
741syntaxTree.IsAfterKeyword(position, SyntaxKind.EventKeyword, cancellationToken) ||
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\Legacy\NativeCSharpTokenizer.cs (1)
32CSharpSyntaxKind.EventKeyword,
Roslyn.Diagnostics.CSharp.Analyzers (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTokenExtensions.cs (1)
213case SyntaxKind.EventKeyword:
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (1)
539SyntaxKind.EventKeyword => AttributeTargets.Event,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
741syntaxTree.IsAfterKeyword(position, SyntaxKind.EventKeyword, cancellationToken) ||