Skip to main content

CSharpFactory.GenericName Method

Containing Type: CSharpFactory

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
GenericName(String, TypeSyntax)
GenericName(SyntaxToken, TypeSyntax)

GenericName(String, TypeSyntax)

public static Microsoft.CodeAnalysis.CSharp.Syntax.GenericNameSyntax GenericName(string identifier, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax typeArgument)

Parameters

identifier String

typeArgument TypeSyntax

Returns

GenericNameSyntax

GenericName(SyntaxToken, TypeSyntax)

public static Microsoft.CodeAnalysis.CSharp.Syntax.GenericNameSyntax GenericName(Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax typeArgument)

Parameters

identifier SyntaxToken

typeArgument TypeSyntax

Returns

GenericNameSyntax