4 instantiations of OperatorDeclarationSyntax
Microsoft.CodeAnalysis.CSharp (4)
_generated\1\Syntax.xml.Internal.Generated.cs (4)
20467
=> new
OperatorDeclarationSyntax
(this.Kind, this.attributeLists, this.modifiers, this.returnType, this.explicitInterfaceSpecifier, this.operatorKeyword, this.checkedKeyword, this.operatorToken, this.parameterList, this.body, this.expressionBody, this.semicolonToken, diagnostics, GetAnnotations());
20470
=> new
OperatorDeclarationSyntax
(this.Kind, this.attributeLists, this.modifiers, this.returnType, this.explicitInterfaceSpecifier, this.operatorKeyword, this.checkedKeyword, this.operatorToken, this.parameterList, this.body, this.expressionBody, this.semicolonToken, GetDiagnostics(), annotations);
32820
return new
OperatorDeclarationSyntax
(SyntaxKind.OperatorDeclaration, attributeLists.Node, modifiers.Node, returnType, explicitInterfaceSpecifier, operatorKeyword, checkedKeyword, operatorToken, parameterList, body, expressionBody, semicolonToken, this.context);
38242
return new
OperatorDeclarationSyntax
(SyntaxKind.OperatorDeclaration, attributeLists.Node, modifiers.Node, returnType, explicitInterfaceSpecifier, operatorKeyword, checkedKeyword, operatorToken, parameterList, body, expressionBody, semicolonToken);
15 references to OperatorDeclarationSyntax
Microsoft.CodeAnalysis.CSharp (15)
_generated\1\Syntax.xml.Internal.Generated.cs (7)
20449
public
OperatorDeclarationSyntax
Update(CoreSyntax.SyntaxList<AttributeListSyntax> attributeLists, CoreSyntax.SyntaxList<SyntaxToken> modifiers, TypeSyntax returnType, ExplicitInterfaceSpecifierSyntax explicitInterfaceSpecifier, SyntaxToken operatorKeyword, SyntaxToken checkedKeyword, SyntaxToken operatorToken, ParameterListSyntax parameterList, BlockSyntax body, ArrowExpressionClauseSyntax expressionBody, SyntaxToken semicolonToken)
20453
var
newNode = SyntaxFactory.OperatorDeclaration(attributeLists, modifiers, returnType, explicitInterfaceSpecifier, operatorKeyword, checkedKeyword, operatorToken, parameterList, body, expressionBody, semicolonToken);
27604
public virtual TResult VisitOperatorDeclaration(
OperatorDeclarationSyntax
node) => this.DefaultVisit(node);
27858
public virtual void VisitOperatorDeclaration(
OperatorDeclarationSyntax
node) => this.DefaultVisit(node);
28488
public override CSharpSyntaxNode VisitOperatorDeclaration(
OperatorDeclarationSyntax
node)
32753
public
OperatorDeclarationSyntax
OperatorDeclaration(CoreSyntax.SyntaxList<AttributeListSyntax> attributeLists, CoreSyntax.SyntaxList<SyntaxToken> modifiers, TypeSyntax returnType, ExplicitInterfaceSpecifierSyntax? explicitInterfaceSpecifier, SyntaxToken operatorKeyword, SyntaxToken? checkedKeyword, SyntaxToken operatorToken, ParameterListSyntax parameterList, BlockSyntax? body, ArrowExpressionClauseSyntax? expressionBody, SyntaxToken? semicolonToken)
38175
public static
OperatorDeclarationSyntax
OperatorDeclaration(CoreSyntax.SyntaxList<AttributeListSyntax> attributeLists, CoreSyntax.SyntaxList<SyntaxToken> modifiers, TypeSyntax returnType, ExplicitInterfaceSpecifierSyntax? explicitInterfaceSpecifier, SyntaxToken operatorKeyword, SyntaxToken? checkedKeyword, SyntaxToken operatorToken, ParameterListSyntax parameterList, BlockSyntax? body, ArrowExpressionClauseSyntax? expressionBody, SyntaxToken? semicolonToken)
_generated\2\Syntax.xml.Syntax.Generated.cs (4)
12766
public SyntaxToken OperatorKeyword => new SyntaxToken(this, ((InternalSyntax.
OperatorDeclarationSyntax
)this.Green).operatorKeyword, GetChildPosition(4), GetChildIndex(4));
12773
var slot = ((Syntax.InternalSyntax.
OperatorDeclarationSyntax
)this.Green).checkedKeyword;
12779
public SyntaxToken OperatorToken => new SyntaxToken(this, ((InternalSyntax.
OperatorDeclarationSyntax
)this.Green).operatorToken, GetChildPosition(6), GetChildIndex(6));
12792
var slot = ((Syntax.InternalSyntax.
OperatorDeclarationSyntax
)this.Green).semicolonToken;
Binder\Semantics\Operators\OperatorFacts.cs (2)
172
return OperatorNameFromDeclaration((Syntax.InternalSyntax.
OperatorDeclarationSyntax
)(declaration.Green));
175
public static string OperatorNameFromDeclaration(Syntax.InternalSyntax.
OperatorDeclarationSyntax
declaration)
Declarations\DeclarationTreeBuilder.cs (2)
1252
var
opDecl = (Syntax.InternalSyntax.
OperatorDeclarationSyntax
)member;