Skip to main content

CSharpFactory.DelegateDeclaration Method

Containing Type: CSharpFactory

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
DelegateDeclaration(SyntaxTokenList, TypeSyntax, String, ParameterListSyntax)
DelegateDeclaration(SyntaxTokenList, TypeSyntax, SyntaxToken, ParameterListSyntax)

DelegateDeclaration(SyntaxTokenList, TypeSyntax, String, ParameterListSyntax)

public static Microsoft.CodeAnalysis.CSharp.Syntax.DelegateDeclarationSyntax DelegateDeclaration(Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax returnType, string identifier, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList)

Parameters

modifiers SyntaxTokenList

returnType TypeSyntax

identifier String

parameterList ParameterListSyntax

Returns

DelegateDeclarationSyntax

DelegateDeclaration(SyntaxTokenList, TypeSyntax, SyntaxToken, ParameterListSyntax)

public static Microsoft.CodeAnalysis.CSharp.Syntax.DelegateDeclarationSyntax DelegateDeclaration(Microsoft.CodeAnalysis.SyntaxTokenList modifiers, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax returnType, Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.ParameterListSyntax parameterList)

Parameters

modifiers SyntaxTokenList

returnType TypeSyntax

identifier SyntaxToken

parameterList ParameterListSyntax

Returns

DelegateDeclarationSyntax