4 instantiations of LocalFunctionStatementSyntax
Microsoft.CodeAnalysis.CSharp (4)
_generated\1\Syntax.xml.Internal.Generated.cs (4)
10494
=> new
LocalFunctionStatementSyntax
(this.Kind, this.attributeLists, this.modifiers, this.returnType, this.identifier, this.typeParameterList, this.parameterList, this.constraintClauses, this.body, this.expressionBody, this.semicolonToken, diagnostics, GetAnnotations());
10497
=> new
LocalFunctionStatementSyntax
(this.Kind, this.attributeLists, this.modifiers, this.returnType, this.identifier, this.typeParameterList, this.parameterList, this.constraintClauses, this.body, this.expressionBody, this.semicolonToken, GetDiagnostics(), annotations);
31117
return new
LocalFunctionStatementSyntax
(SyntaxKind.LocalFunctionStatement, attributeLists.Node, modifiers.Node, returnType, identifier, typeParameterList, parameterList, constraintClauses.Node, body, expressionBody, semicolonToken, this.context);
36539
return new
LocalFunctionStatementSyntax
(SyntaxKind.LocalFunctionStatement, attributeLists.Node, modifiers.Node, returnType, identifier, typeParameterList, parameterList, constraintClauses.Node, body, expressionBody, semicolonToken);
19 references to LocalFunctionStatementSyntax
Microsoft.CodeAnalysis.CSharp (19)
_generated\1\Syntax.xml.Internal.Generated.cs (7)
10476
public
LocalFunctionStatementSyntax
Update(CoreSyntax.SyntaxList<AttributeListSyntax> attributeLists, CoreSyntax.SyntaxList<SyntaxToken> modifiers, TypeSyntax returnType, SyntaxToken identifier, TypeParameterListSyntax typeParameterList, ParameterListSyntax parameterList, CoreSyntax.SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, BlockSyntax body, ArrowExpressionClauseSyntax expressionBody, SyntaxToken semicolonToken)
10480
var
newNode = SyntaxFactory.LocalFunctionStatement(attributeLists, modifiers, returnType, identifier, typeParameterList, parameterList, constraintClauses, body, expressionBody, semicolonToken);
27527
public virtual TResult VisitLocalFunctionStatement(
LocalFunctionStatementSyntax
node) => this.DefaultVisit(node);
27781
public virtual void VisitLocalFunctionStatement(
LocalFunctionStatementSyntax
node) => this.DefaultVisit(node);
28257
public override CSharpSyntaxNode VisitLocalFunctionStatement(
LocalFunctionStatementSyntax
node)
31099
public
LocalFunctionStatementSyntax
LocalFunctionStatement(CoreSyntax.SyntaxList<AttributeListSyntax> attributeLists, CoreSyntax.SyntaxList<SyntaxToken> modifiers, TypeSyntax returnType, SyntaxToken identifier, TypeParameterListSyntax? typeParameterList, ParameterListSyntax parameterList, CoreSyntax.SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, BlockSyntax? body, ArrowExpressionClauseSyntax? expressionBody, SyntaxToken? semicolonToken)
36521
public static
LocalFunctionStatementSyntax
LocalFunctionStatement(CoreSyntax.SyntaxList<AttributeListSyntax> attributeLists, CoreSyntax.SyntaxList<SyntaxToken> modifiers, TypeSyntax returnType, SyntaxToken identifier, TypeParameterListSyntax? typeParameterList, ParameterListSyntax parameterList, CoreSyntax.SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, BlockSyntax? body, ArrowExpressionClauseSyntax? expressionBody, SyntaxToken? semicolonToken)
_generated\2\Syntax.xml.Syntax.Generated.cs (2)
6444
public SyntaxToken Identifier => new SyntaxToken(this, ((InternalSyntax.
LocalFunctionStatementSyntax
)this.Green).identifier, GetChildPosition(3), GetChildIndex(3));
6461
var slot = ((Syntax.InternalSyntax.
LocalFunctionStatementSyntax
)this.Green).semicolonToken;
Parser\LanguageParser.cs (10)
2710
if (tryParseLocalDeclarationStatementFromStartPoint<
LocalFunctionStatementSyntax
>(attributes, ref afterAttributesPoint, out result))
2906
tryParseLocalDeclarationStatementFromStartPoint<
LocalFunctionStatementSyntax
>(attributes, ref afterAttributesPoint, out result))
5329
out
var
localFunction);
5345
out
LocalFunctionStatementSyntax
localFunction)
5534
out
LocalFunctionStatementSyntax
localFunction,
8545
if (result is
LocalFunctionStatementSyntax
)
10591
out
var
localFunction);
10801
out
var
localFunction);
10817
out
LocalFunctionStatementSyntax
localFunction)
10985
private
LocalFunctionStatementSyntax
TryParseLocalFunctionStatementBody(