Skip to main content

SyntaxInfo.GenericInfo Method

Containing Type: SyntaxInfo

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
GenericInfo(DelegateDeclarationSyntax)Creates a new GenericInfo from the specified delegate declaration.
GenericInfo(LocalFunctionStatementSyntax)Creates a new GenericInfo from the specified local function.
GenericInfo(MethodDeclarationSyntax)Creates a new GenericInfo from the specified method declaration.
GenericInfo(SyntaxNode)Creates a new GenericInfo from the specified node.
GenericInfo(TypeDeclarationSyntax)Creates a new GenericInfo from the specified type declaration.
GenericInfo(TypeParameterConstraintClauseSyntax)Creates a new GenericInfo from the specified constraint clause.
GenericInfo(TypeParameterConstraintSyntax)Creates a new GenericInfo from the specified type parameter constraint.
GenericInfo(TypeParameterListSyntax)Creates a new GenericInfo from the specified type parameter list.
GenericInfo(TypeParameterSyntax)Creates a new GenericInfo from the specified type parameter.

GenericInfo(DelegateDeclarationSyntax)

Creates a new GenericInfo from the specified delegate declaration.

public static Roslynator.CSharp.Syntax.GenericInfo GenericInfo(Microsoft.CodeAnalysis.CSharp.Syntax.DelegateDeclarationSyntax delegateDeclaration)

Parameters

delegateDeclaration DelegateDeclarationSyntax

Returns

GenericInfo

GenericInfo(LocalFunctionStatementSyntax)

Creates a new GenericInfo from the specified local function.

public static Roslynator.CSharp.Syntax.GenericInfo GenericInfo(Microsoft.CodeAnalysis.CSharp.Syntax.LocalFunctionStatementSyntax localFunctionStatement)

Parameters

localFunctionStatement LocalFunctionStatementSyntax

Returns

GenericInfo

GenericInfo(MethodDeclarationSyntax)

Creates a new GenericInfo from the specified method declaration.

public static Roslynator.CSharp.Syntax.GenericInfo GenericInfo(Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax methodDeclaration)

Parameters

methodDeclaration MethodDeclarationSyntax

Returns

GenericInfo

GenericInfo(SyntaxNode)

Creates a new GenericInfo from the specified node.

public static Roslynator.CSharp.Syntax.GenericInfo GenericInfo(Microsoft.CodeAnalysis.SyntaxNode node)

Parameters

node SyntaxNode

Returns

GenericInfo

GenericInfo(TypeDeclarationSyntax)

Creates a new GenericInfo from the specified type declaration.

public static Roslynator.CSharp.Syntax.GenericInfo GenericInfo(Microsoft.CodeAnalysis.CSharp.Syntax.TypeDeclarationSyntax typeDeclaration)

Parameters

typeDeclaration TypeDeclarationSyntax

Returns

GenericInfo

GenericInfo(TypeParameterConstraintClauseSyntax)

Creates a new GenericInfo from the specified constraint clause.

public static Roslynator.CSharp.Syntax.GenericInfo GenericInfo(Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterConstraintClauseSyntax constraintClause)

Parameters

constraintClause TypeParameterConstraintClauseSyntax

Returns

GenericInfo

GenericInfo(TypeParameterConstraintSyntax)

Creates a new GenericInfo from the specified type parameter constraint.

public static Roslynator.CSharp.Syntax.GenericInfo GenericInfo(Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterConstraintSyntax typeParameterConstraint)

Parameters

typeParameterConstraint TypeParameterConstraintSyntax

Returns

GenericInfo

GenericInfo(TypeParameterListSyntax)

Creates a new GenericInfo from the specified type parameter list.

public static Roslynator.CSharp.Syntax.GenericInfo GenericInfo(Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterListSyntax typeParameterList)

Parameters

typeParameterList TypeParameterListSyntax

Returns

GenericInfo

GenericInfo(TypeParameterSyntax)

Creates a new GenericInfo from the specified type parameter.

public static Roslynator.CSharp.Syntax.GenericInfo GenericInfo(Microsoft.CodeAnalysis.CSharp.Syntax.TypeParameterSyntax typeParameter)

Parameters

typeParameter TypeParameterSyntax

Returns

GenericInfo