SyntaxInfo.GenericInfo Method
Containing Type: SyntaxInfo
Assembly: Roslynator.CSharp.dll
Overloads
Method | Summary |
---|---|
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(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(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(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(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(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(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(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(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