Skip to content

Commit

Permalink
Re-use TypeDeclarationSyntax and ParameterSyntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jcouv committed Jan 23, 2025
1 parent 19ca312 commit 8e29f61
Show file tree
Hide file tree
Showing 17 changed files with 2,391 additions and 1,643 deletions.
17 changes: 6 additions & 11 deletions src/Compilers/CSharp/Portable/Generated/CSharp.Generated.g4

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -525,11 +525,8 @@ public partial class CSharpSyntaxVisitor<TResult>
/// <summary>Called when the visitor visits a EnumMemberDeclarationSyntax node.</summary>
public virtual TResult? VisitEnumMemberDeclaration(EnumMemberDeclarationSyntax node) => this.DefaultVisit(node);

/// <summary>Called when the visitor visits a ExtensionContainerSyntax node.</summary>
public virtual TResult? VisitExtensionContainer(ExtensionContainerSyntax node) => this.DefaultVisit(node);

/// <summary>Called when the visitor visits a ReceiverParameterSyntax node.</summary>
public virtual TResult? VisitReceiverParameter(ReceiverParameterSyntax node) => this.DefaultVisit(node);
/// <summary>Called when the visitor visits a ExtensionDeclarationSyntax node.</summary>
public virtual TResult? VisitExtensionDeclaration(ExtensionDeclarationSyntax node) => this.DefaultVisit(node);

Check failure on line 529 in src/Compilers/CSharp/Portable/Generated/CSharpSyntaxGenerator/CSharpSyntaxGenerator.SourceGenerator/Syntax.xml.Main.Generated.cs

View check run for this annotation

Azure Pipelines / roslyn-CI (Correctness Correctness_Analyzers)

src/Compilers/CSharp/Portable/Generated/CSharpSyntaxGenerator/CSharpSyntaxGenerator.SourceGenerator/Syntax.xml.Main.Generated.cs#L529

src/Compilers/CSharp/Portable/Generated/CSharpSyntaxGenerator/CSharpSyntaxGenerator.SourceGenerator/Syntax.xml.Main.Generated.cs(529,29): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'virtual Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor<TResult>.VisitExtensionDeclaration(Microsoft.CodeAnalysis.CSharp.Syntax.ExtensionDeclarationSyntax! node) -> TResult?' is not part of the declared public API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 529 in src/Compilers/CSharp/Portable/Generated/CSharpSyntaxGenerator/CSharpSyntaxGenerator.SourceGenerator/Syntax.xml.Main.Generated.cs

View check run for this annotation

Azure Pipelines / roslyn-CI

src/Compilers/CSharp/Portable/Generated/CSharpSyntaxGenerator/CSharpSyntaxGenerator.SourceGenerator/Syntax.xml.Main.Generated.cs#L529

src/Compilers/CSharp/Portable/Generated/CSharpSyntaxGenerator/CSharpSyntaxGenerator.SourceGenerator/Syntax.xml.Main.Generated.cs(529,29): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'virtual Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor<TResult>.VisitExtensionDeclaration(Microsoft.CodeAnalysis.CSharp.Syntax.ExtensionDeclarationSyntax! node) -> TResult?' is not part of the declared public API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

/// <summary>Called when the visitor visits a BaseListSyntax node.</summary>
public virtual TResult? VisitBaseList(BaseListSyntax node) => this.DefaultVisit(node);
Expand Down Expand Up @@ -1266,11 +1263,8 @@ public partial class CSharpSyntaxVisitor
/// <summary>Called when the visitor visits a EnumMemberDeclarationSyntax node.</summary>
public virtual void VisitEnumMemberDeclaration(EnumMemberDeclarationSyntax node) => this.DefaultVisit(node);

/// <summary>Called when the visitor visits a ExtensionContainerSyntax node.</summary>
public virtual void VisitExtensionContainer(ExtensionContainerSyntax node) => this.DefaultVisit(node);

/// <summary>Called when the visitor visits a ReceiverParameterSyntax node.</summary>
public virtual void VisitReceiverParameter(ReceiverParameterSyntax node) => this.DefaultVisit(node);
/// <summary>Called when the visitor visits a ExtensionDeclarationSyntax node.</summary>
public virtual void VisitExtensionDeclaration(ExtensionDeclarationSyntax node) => this.DefaultVisit(node);

Check failure on line 1267 in src/Compilers/CSharp/Portable/Generated/CSharpSyntaxGenerator/CSharpSyntaxGenerator.SourceGenerator/Syntax.xml.Main.Generated.cs

View check run for this annotation

Azure Pipelines / roslyn-CI (Correctness Correctness_Analyzers)

src/Compilers/CSharp/Portable/Generated/CSharpSyntaxGenerator/CSharpSyntaxGenerator.SourceGenerator/Syntax.xml.Main.Generated.cs#L1267

src/Compilers/CSharp/Portable/Generated/CSharpSyntaxGenerator/CSharpSyntaxGenerator.SourceGenerator/Syntax.xml.Main.Generated.cs(1267,25): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'virtual Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor.VisitExtensionDeclaration(Microsoft.CodeAnalysis.CSharp.Syntax.ExtensionDeclarationSyntax! node) -> void' is not part of the declared public API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 1267 in src/Compilers/CSharp/Portable/Generated/CSharpSyntaxGenerator/CSharpSyntaxGenerator.SourceGenerator/Syntax.xml.Main.Generated.cs

View check run for this annotation

Azure Pipelines / roslyn-CI

src/Compilers/CSharp/Portable/Generated/CSharpSyntaxGenerator/CSharpSyntaxGenerator.SourceGenerator/Syntax.xml.Main.Generated.cs#L1267

src/Compilers/CSharp/Portable/Generated/CSharpSyntaxGenerator/CSharpSyntaxGenerator.SourceGenerator/Syntax.xml.Main.Generated.cs(1267,25): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'virtual Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor.VisitExtensionDeclaration(Microsoft.CodeAnalysis.CSharp.Syntax.ExtensionDeclarationSyntax! node) -> void' is not part of the declared public API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

/// <summary>Called when the visitor visits a BaseListSyntax node.</summary>
public virtual void VisitBaseList(BaseListSyntax node) => this.DefaultVisit(node);
Expand Down Expand Up @@ -2007,11 +2001,8 @@ public partial class CSharpSyntaxRewriter : CSharpSyntaxVisitor<SyntaxNode?>
public override SyntaxNode? VisitEnumMemberDeclaration(EnumMemberDeclarationSyntax node)
=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), VisitToken(node.Identifier), (EqualsValueClauseSyntax?)Visit(node.EqualsValue));

public override SyntaxNode? VisitExtensionContainer(ExtensionContainerSyntax node)
=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), VisitToken(node.Keyword), (TypeParameterListSyntax?)Visit(node.TypeParameterList), VisitToken(node.OpenParenToken), (ReceiverParameterSyntax?)Visit(node.ReceiverParameter) ?? throw new ArgumentNullException("receiverParameter"), VisitToken(node.CloseParenToken), VisitList(node.ConstraintClauses), VisitToken(node.OpenBraceToken), VisitList(node.Members), VisitToken(node.CloseBraceToken));

public override SyntaxNode? VisitReceiverParameter(ReceiverParameterSyntax node)
=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), VisitToken(node.Identifier));
public override SyntaxNode? VisitExtensionDeclaration(ExtensionDeclarationSyntax node)

Check failure on line 2004 in src/Compilers/CSharp/Portable/Generated/CSharpSyntaxGenerator/CSharpSyntaxGenerator.SourceGenerator/Syntax.xml.Main.Generated.cs

View check run for this annotation

Azure Pipelines / roslyn-CI (Correctness Correctness_Analyzers)

src/Compilers/CSharp/Portable/Generated/CSharpSyntaxGenerator/CSharpSyntaxGenerator.SourceGenerator/Syntax.xml.Main.Generated.cs#L2004

src/Compilers/CSharp/Portable/Generated/CSharpSyntaxGenerator/CSharpSyntaxGenerator.SourceGenerator/Syntax.xml.Main.Generated.cs(2004,33): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'override Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitExtensionDeclaration(Microsoft.CodeAnalysis.CSharp.Syntax.ExtensionDeclarationSyntax! node) -> Microsoft.CodeAnalysis.SyntaxNode?' is not part of the declared public API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 2004 in src/Compilers/CSharp/Portable/Generated/CSharpSyntaxGenerator/CSharpSyntaxGenerator.SourceGenerator/Syntax.xml.Main.Generated.cs

View check run for this annotation

Azure Pipelines / roslyn-CI

src/Compilers/CSharp/Portable/Generated/CSharpSyntaxGenerator/CSharpSyntaxGenerator.SourceGenerator/Syntax.xml.Main.Generated.cs#L2004

src/Compilers/CSharp/Portable/Generated/CSharpSyntaxGenerator/CSharpSyntaxGenerator.SourceGenerator/Syntax.xml.Main.Generated.cs(2004,33): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'override Microsoft.CodeAnalysis.CSharp.CSharpSyntaxRewriter.VisitExtensionDeclaration(Microsoft.CodeAnalysis.CSharp.Syntax.ExtensionDeclarationSyntax! node) -> Microsoft.CodeAnalysis.SyntaxNode?' is not part of the declared public API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)
=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), VisitToken(node.Keyword), VisitToken(node.Identifier), (TypeParameterListSyntax?)Visit(node.TypeParameterList), (ParameterListSyntax?)Visit(node.ParameterList), (BaseListSyntax?)Visit(node.BaseList), VisitList(node.ConstraintClauses), VisitToken(node.OpenBraceToken), VisitList(node.Members), VisitToken(node.CloseBraceToken), VisitToken(node.SemicolonToken));

public override SyntaxNode? VisitBaseList(BaseListSyntax node)
=> node.Update(VisitToken(node.ColonToken), VisitList(node.Types));
Expand Down Expand Up @@ -3214,14 +3205,6 @@ public static SimpleLambdaExpressionSyntax SimpleLambdaExpression(SyntaxList<Att
return (SimpleLambdaExpressionSyntax)Syntax.InternalSyntax.SyntaxFactory.SimpleLambdaExpression(attributeLists.Node.ToGreenList<Syntax.InternalSyntax.AttributeListSyntax>(), modifiers.Node.ToGreenList<Syntax.InternalSyntax.SyntaxToken>(), (Syntax.InternalSyntax.ParameterSyntax)parameter.Green, (Syntax.InternalSyntax.SyntaxToken)arrowToken.Node!, block == null ? null : (Syntax.InternalSyntax.BlockSyntax)block.Green, expressionBody == null ? null : (Syntax.InternalSyntax.ExpressionSyntax)expressionBody.Green).CreateRed();
}

/// <summary>Creates a new SimpleLambdaExpressionSyntax instance.</summary>
public static SimpleLambdaExpressionSyntax SimpleLambdaExpression(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, ParameterSyntax parameter, BlockSyntax? block, ExpressionSyntax? expressionBody)
=> SyntaxFactory.SimpleLambdaExpression(attributeLists, modifiers, parameter, SyntaxFactory.Token(SyntaxKind.EqualsGreaterThanToken), block, expressionBody);

/// <summary>Creates a new SimpleLambdaExpressionSyntax instance.</summary>
public static SimpleLambdaExpressionSyntax SimpleLambdaExpression(ParameterSyntax parameter)
=> SyntaxFactory.SimpleLambdaExpression(default, default(SyntaxTokenList), parameter, SyntaxFactory.Token(SyntaxKind.EqualsGreaterThanToken), default, default);

/// <summary>Creates a new RefExpressionSyntax instance.</summary>
public static RefExpressionSyntax RefExpression(SyntaxToken refKeyword, ExpressionSyntax expression)
{
Expand Down Expand Up @@ -5164,41 +5147,43 @@ public static EnumMemberDeclarationSyntax EnumMemberDeclaration(SyntaxToken iden
public static EnumMemberDeclarationSyntax EnumMemberDeclaration(string identifier)
=> SyntaxFactory.EnumMemberDeclaration(default, default(SyntaxTokenList), SyntaxFactory.Identifier(identifier), default);

/// <summary>Creates a new ExtensionContainerSyntax instance.</summary>
public static ExtensionContainerSyntax ExtensionContainer(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken keyword, TypeParameterListSyntax? typeParameterList, SyntaxToken openParenToken, ReceiverParameterSyntax receiverParameter, SyntaxToken closeParenToken, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, SyntaxToken openBraceToken, SyntaxList<MemberDeclarationSyntax> members, SyntaxToken closeBraceToken)
/// <summary>Creates a new ExtensionDeclarationSyntax instance.</summary>
public static ExtensionDeclarationSyntax ExtensionDeclaration(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken keyword, SyntaxToken identifier, TypeParameterListSyntax? typeParameterList, ParameterListSyntax? parameterList, BaseListSyntax? baseList, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, SyntaxToken openBraceToken, SyntaxList<MemberDeclarationSyntax> members, SyntaxToken closeBraceToken, SyntaxToken semicolonToken)
{
if (openParenToken.Kind() != SyntaxKind.OpenParenToken) throw new ArgumentException(nameof(openParenToken));
if (receiverParameter == null) throw new ArgumentNullException(nameof(receiverParameter));
if (closeParenToken.Kind() != SyntaxKind.CloseParenToken) throw new ArgumentException(nameof(closeParenToken));
if (openBraceToken.Kind() != SyntaxKind.OpenBraceToken) throw new ArgumentException(nameof(openBraceToken));
if (closeBraceToken.Kind() != SyntaxKind.CloseBraceToken) throw new ArgumentException(nameof(closeBraceToken));
return (ExtensionContainerSyntax)Syntax.InternalSyntax.SyntaxFactory.ExtensionContainer(attributeLists.Node.ToGreenList<Syntax.InternalSyntax.AttributeListSyntax>(), modifiers.Node.ToGreenList<Syntax.InternalSyntax.SyntaxToken>(), (Syntax.InternalSyntax.SyntaxToken)keyword.Node!, typeParameterList == null ? null : (Syntax.InternalSyntax.TypeParameterListSyntax)typeParameterList.Green, (Syntax.InternalSyntax.SyntaxToken)openParenToken.Node!, (Syntax.InternalSyntax.ReceiverParameterSyntax)receiverParameter.Green, (Syntax.InternalSyntax.SyntaxToken)closeParenToken.Node!, constraintClauses.Node.ToGreenList<Syntax.InternalSyntax.TypeParameterConstraintClauseSyntax>(), (Syntax.InternalSyntax.SyntaxToken)openBraceToken.Node!, members.Node.ToGreenList<Syntax.InternalSyntax.MemberDeclarationSyntax>(), (Syntax.InternalSyntax.SyntaxToken)closeBraceToken.Node!).CreateRed();
}

/// <summary>Creates a new ExtensionContainerSyntax instance.</summary>
public static ExtensionContainerSyntax ExtensionContainer(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken keyword, TypeParameterListSyntax? typeParameterList, ReceiverParameterSyntax receiverParameter, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, SyntaxList<MemberDeclarationSyntax> members)
=> SyntaxFactory.ExtensionContainer(attributeLists, modifiers, keyword, typeParameterList, SyntaxFactory.Token(SyntaxKind.OpenParenToken), receiverParameter, SyntaxFactory.Token(SyntaxKind.CloseParenToken), constraintClauses, SyntaxFactory.Token(SyntaxKind.OpenBraceToken), members, SyntaxFactory.Token(SyntaxKind.CloseBraceToken));

/// <summary>Creates a new ExtensionContainerSyntax instance.</summary>
public static ExtensionContainerSyntax ExtensionContainer(SyntaxToken keyword, ReceiverParameterSyntax receiverParameter)
=> SyntaxFactory.ExtensionContainer(default, default(SyntaxTokenList), keyword, default, SyntaxFactory.Token(SyntaxKind.OpenParenToken), receiverParameter, SyntaxFactory.Token(SyntaxKind.CloseParenToken), default, SyntaxFactory.Token(SyntaxKind.OpenBraceToken), default, SyntaxFactory.Token(SyntaxKind.CloseBraceToken));

/// <summary>Creates a new ReceiverParameterSyntax instance.</summary>
public static ReceiverParameterSyntax ReceiverParameter(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, TypeSyntax type, SyntaxToken identifier)
{
if (type == null) throw new ArgumentNullException(nameof(type));
switch (identifier.Kind())
{
case SyntaxKind.IdentifierToken:
case SyntaxKind.None: break;
default: throw new ArgumentException(nameof(identifier));
}
return (ReceiverParameterSyntax)Syntax.InternalSyntax.SyntaxFactory.ReceiverParameter(attributeLists.Node.ToGreenList<Syntax.InternalSyntax.AttributeListSyntax>(), modifiers.Node.ToGreenList<Syntax.InternalSyntax.SyntaxToken>(), (Syntax.InternalSyntax.TypeSyntax)type.Green, (Syntax.InternalSyntax.SyntaxToken?)identifier.Node).CreateRed();
switch (openBraceToken.Kind())
{
case SyntaxKind.OpenBraceToken:
case SyntaxKind.None: break;
default: throw new ArgumentException(nameof(openBraceToken));
}
switch (closeBraceToken.Kind())
{
case SyntaxKind.CloseBraceToken:
case SyntaxKind.None: break;
default: throw new ArgumentException(nameof(closeBraceToken));
}
switch (semicolonToken.Kind())
{
case SyntaxKind.SemicolonToken:
case SyntaxKind.None: break;
default: throw new ArgumentException(nameof(semicolonToken));
}
return (ExtensionDeclarationSyntax)Syntax.InternalSyntax.SyntaxFactory.ExtensionDeclaration(attributeLists.Node.ToGreenList<Syntax.InternalSyntax.AttributeListSyntax>(), modifiers.Node.ToGreenList<Syntax.InternalSyntax.SyntaxToken>(), (Syntax.InternalSyntax.SyntaxToken)keyword.Node!, (Syntax.InternalSyntax.SyntaxToken?)identifier.Node, typeParameterList == null ? null : (Syntax.InternalSyntax.TypeParameterListSyntax)typeParameterList.Green, parameterList == null ? null : (Syntax.InternalSyntax.ParameterListSyntax)parameterList.Green, baseList == null ? null : (Syntax.InternalSyntax.BaseListSyntax)baseList.Green, constraintClauses.Node.ToGreenList<Syntax.InternalSyntax.TypeParameterConstraintClauseSyntax>(), (Syntax.InternalSyntax.SyntaxToken?)openBraceToken.Node, members.Node.ToGreenList<Syntax.InternalSyntax.MemberDeclarationSyntax>(), (Syntax.InternalSyntax.SyntaxToken?)closeBraceToken.Node, (Syntax.InternalSyntax.SyntaxToken?)semicolonToken.Node).CreateRed();
}

/// <summary>Creates a new ReceiverParameterSyntax instance.</summary>
public static ReceiverParameterSyntax ReceiverParameter(TypeSyntax type)
=> SyntaxFactory.ReceiverParameter(default, default(SyntaxTokenList), type, default);
/// <summary>Creates a new ExtensionDeclarationSyntax instance.</summary>
public static ExtensionDeclarationSyntax ExtensionDeclaration(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, SyntaxToken keyword, SyntaxToken identifier, TypeParameterListSyntax? typeParameterList, ParameterListSyntax? parameterList, BaseListSyntax? baseList, SyntaxList<TypeParameterConstraintClauseSyntax> constraintClauses, SyntaxList<MemberDeclarationSyntax> members)
=> SyntaxFactory.ExtensionDeclaration(attributeLists, modifiers, keyword, identifier, typeParameterList, parameterList, baseList, constraintClauses, default, members, default, default);

/// <summary>Creates a new ExtensionDeclarationSyntax instance.</summary>
public static ExtensionDeclarationSyntax ExtensionDeclaration(SyntaxToken keyword)
=> SyntaxFactory.ExtensionDeclaration(default, default(SyntaxTokenList), keyword, default, default, default, default, default, default, default, default, default);

/// <summary>Creates a new BaseListSyntax instance.</summary>
public static BaseListSyntax BaseList(SyntaxToken colonToken, SeparatedSyntaxList<BaseTypeSyntax> types)
Expand Down Expand Up @@ -5772,16 +5757,13 @@ public static ParameterSyntax Parameter(SyntaxList<AttributeListSyntax> attribut
switch (identifier.Kind())
{
case SyntaxKind.IdentifierToken:
case SyntaxKind.ArgListKeyword: break;
case SyntaxKind.ArgListKeyword:
case SyntaxKind.None: break;
default: throw new ArgumentException(nameof(identifier));
}
return (ParameterSyntax)Syntax.InternalSyntax.SyntaxFactory.Parameter(attributeLists.Node.ToGreenList<Syntax.InternalSyntax.AttributeListSyntax>(), modifiers.Node.ToGreenList<Syntax.InternalSyntax.SyntaxToken>(), type == null ? null : (Syntax.InternalSyntax.TypeSyntax)type.Green, (Syntax.InternalSyntax.SyntaxToken)identifier.Node!, @default == null ? null : (Syntax.InternalSyntax.EqualsValueClauseSyntax)@default.Green).CreateRed();
return (ParameterSyntax)Syntax.InternalSyntax.SyntaxFactory.Parameter(attributeLists.Node.ToGreenList<Syntax.InternalSyntax.AttributeListSyntax>(), modifiers.Node.ToGreenList<Syntax.InternalSyntax.SyntaxToken>(), type == null ? null : (Syntax.InternalSyntax.TypeSyntax)type.Green, (Syntax.InternalSyntax.SyntaxToken?)identifier.Node, @default == null ? null : (Syntax.InternalSyntax.EqualsValueClauseSyntax)@default.Green).CreateRed();
}

/// <summary>Creates a new ParameterSyntax instance.</summary>
public static ParameterSyntax Parameter(SyntaxToken identifier)
=> SyntaxFactory.Parameter(default, default(SyntaxTokenList), default, identifier, default);

/// <summary>Creates a new FunctionPointerParameterSyntax instance.</summary>
public static FunctionPointerParameterSyntax FunctionPointerParameter(SyntaxList<AttributeListSyntax> attributeLists, SyntaxTokenList modifiers, TypeSyntax type)
{
Expand Down
Loading

0 comments on commit 8e29f61

Please sign in to comment.