4 instantiations of EventDeclarationSyntax
Microsoft.CodeAnalysis.CSharp (4)
_generated\1\Syntax.xml.Internal.Generated.cs (4)
21625
=> new
EventDeclarationSyntax
(this.Kind, this.attributeLists, this.modifiers, this.eventKeyword, this.type, this.explicitInterfaceSpecifier, this.identifier, this.accessorList, this.semicolonToken, diagnostics, GetAnnotations());
21628
=> new
EventDeclarationSyntax
(this.Kind, this.attributeLists, this.modifiers, this.eventKeyword, this.type, this.explicitInterfaceSpecifier, this.identifier, this.accessorList, this.semicolonToken, GetDiagnostics(), annotations);
32996
return new
EventDeclarationSyntax
(SyntaxKind.EventDeclaration, attributeLists.Node, modifiers.Node, eventKeyword, type, explicitInterfaceSpecifier, identifier, accessorList, semicolonToken, this.context);
38418
return new
EventDeclarationSyntax
(SyntaxKind.EventDeclaration, attributeLists.Node, modifiers.Node, eventKeyword, type, explicitInterfaceSpecifier, identifier, accessorList, semicolonToken);
14 references to EventDeclarationSyntax
Microsoft.CodeAnalysis.CSharp (14)
_generated\1\Syntax.xml.Internal.Generated.cs (7)
21607
public
EventDeclarationSyntax
Update(CoreSyntax.SyntaxList<AttributeListSyntax> attributeLists, CoreSyntax.SyntaxList<SyntaxToken> modifiers, SyntaxToken eventKeyword, TypeSyntax type, ExplicitInterfaceSpecifierSyntax explicitInterfaceSpecifier, SyntaxToken identifier, AccessorListSyntax accessorList, SyntaxToken semicolonToken)
21611
var
newNode = SyntaxFactory.EventDeclaration(attributeLists, modifiers, eventKeyword, type, explicitInterfaceSpecifier, identifier, accessorList, semicolonToken);
27611
public virtual TResult VisitEventDeclaration(
EventDeclarationSyntax
node) => this.DefaultVisit(node);
27865
public virtual void VisitEventDeclaration(
EventDeclarationSyntax
node) => this.DefaultVisit(node);
28509
public override CSharpSyntaxNode VisitEventDeclaration(
EventDeclarationSyntax
node)
32977
public
EventDeclarationSyntax
EventDeclaration(CoreSyntax.SyntaxList<AttributeListSyntax> attributeLists, CoreSyntax.SyntaxList<SyntaxToken> modifiers, SyntaxToken eventKeyword, TypeSyntax type, ExplicitInterfaceSpecifierSyntax? explicitInterfaceSpecifier, SyntaxToken identifier, AccessorListSyntax? accessorList, SyntaxToken? semicolonToken)
38399
public static
EventDeclarationSyntax
EventDeclaration(CoreSyntax.SyntaxList<AttributeListSyntax> attributeLists, CoreSyntax.SyntaxList<SyntaxToken> modifiers, SyntaxToken eventKeyword, TypeSyntax type, ExplicitInterfaceSpecifierSyntax? explicitInterfaceSpecifier, SyntaxToken identifier, AccessorListSyntax? accessorList, SyntaxToken? semicolonToken)
_generated\2\Syntax.xml.Syntax.Generated.cs (3)
13541
public SyntaxToken EventKeyword => new SyntaxToken(this, ((InternalSyntax.
EventDeclarationSyntax
)this.Green).eventKeyword, GetChildPosition(2), GetChildIndex(2));
13548
public SyntaxToken Identifier => new SyntaxToken(this, ((InternalSyntax.
EventDeclarationSyntax
)this.Green).identifier, GetChildPosition(5), GetChildIndex(5));
13556
var slot = ((Syntax.InternalSyntax.
EventDeclarationSyntax
)this.Green).semicolonToken;
Declarations\DeclarationTreeBuilder.cs (2)
1227
var
eventDecl = (Syntax.InternalSyntax.
EventDeclarationSyntax
)member;
Parser\LanguageParser.cs (2)
5139
private
EventDeclarationSyntax
ParseEventDeclarationWithAccessors(
5214
var
decl = _syntaxFactory.EventDeclaration(