SyntaxInfo.ModifierListInfo Method
Containing Type: SyntaxInfo
Assembly: Roslynator.CSharp.dll
Overloads
ModifierListInfo(AccessorDeclarationSyntax)
Creates a new ModifierListInfo from the specified accessor declaration.
public static Roslynator.CSharp.Syntax.ModifierListInfo ModifierListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.AccessorDeclarationSyntax accessorDeclaration)
Parameters
accessorDeclaration AccessorDeclarationSyntax
Returns
ModifierListInfo(ClassDeclarationSyntax)
Creates a new ModifierListInfo from the specified class declaration.
public static Roslynator.CSharp.Syntax.ModifierListInfo ModifierListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax classDeclaration)
Parameters
classDeclaration ClassDeclarationSyntax
Returns
ModifierListInfo(ConstructorDeclarationSyntax)
Creates a new ModifierListInfo from the specified constructor declaration.
public static Roslynator.CSharp.Syntax.ModifierListInfo ModifierListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax constructorDeclaration)
Parameters
constructorDeclaration ConstructorDeclarationSyntax
Returns
ModifierListInfo(ConversionOperatorDeclarationSyntax)
Creates a new ModifierListInfo from the specified conversion operator declaration.
public static Roslynator.CSharp.Syntax.ModifierListInfo ModifierListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.ConversionOperatorDeclarationSyntax conversionOperatorDeclaration)
Parameters
conversionOperatorDeclaration ConversionOperatorDeclarationSyntax
Returns
ModifierListInfo(DelegateDeclarationSyntax)
Creates a new ModifierListInfo from the specified delegate declaration.
public static Roslynator.CSharp.Syntax.ModifierListInfo ModifierListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.DelegateDeclarationSyntax delegateDeclaration)
Parameters
delegateDeclaration DelegateDeclarationSyntax
Returns
ModifierListInfo(DestructorDeclarationSyntax)
Creates a new ModifierListInfo from the specified destructor declaration.
public static Roslynator.CSharp.Syntax.ModifierListInfo ModifierListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.DestructorDeclarationSyntax destructorDeclaration)
Parameters
destructorDeclaration DestructorDeclarationSyntax
Returns
ModifierListInfo(EnumDeclarationSyntax)
Creates a new ModifierListInfo from the specified enum declaration.
public static Roslynator.CSharp.Syntax.ModifierListInfo ModifierListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.EnumDeclarationSyntax enumDeclaration)
Parameters
enumDeclaration EnumDeclarationSyntax
Returns
ModifierListInfo(EventDeclarationSyntax)
Creates a new ModifierListInfo from the specified event declaration.
public static Roslynator.CSharp.Syntax.ModifierListInfo ModifierListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.EventDeclarationSyntax eventDeclaration)
Parameters
eventDeclaration EventDeclarationSyntax
Returns
ModifierListInfo(EventFieldDeclarationSyntax)
Creates a new ModifierListInfo from the specified event field declaration.
public static Roslynator.CSharp.Syntax.ModifierListInfo ModifierListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.EventFieldDeclarationSyntax eventFieldDeclaration)
Parameters
eventFieldDeclaration EventFieldDeclarationSyntax
Returns
ModifierListInfo(FieldDeclarationSyntax)
Creates a new ModifierListInfo from the specified field declaration.
public static Roslynator.CSharp.Syntax.ModifierListInfo ModifierListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.FieldDeclarationSyntax fieldDeclaration)
Parameters
fieldDeclaration FieldDeclarationSyntax
Returns
ModifierListInfo(IncompleteMemberSyntax)
Creates a new ModifierListInfo from the specified incomplete member.
public static Roslynator.CSharp.Syntax.ModifierListInfo ModifierListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.IncompleteMemberSyntax incompleteMember)
Parameters
incompleteMember IncompleteMemberSyntax
Returns
ModifierListInfo(IndexerDeclarationSyntax)
Creates a new ModifierListInfo from the specified indexer declaration.
public static Roslynator.CSharp.Syntax.ModifierListInfo ModifierListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.IndexerDeclarationSyntax indexerDeclaration)
Parameters
indexerDeclaration IndexerDeclarationSyntax
Returns
ModifierListInfo(InterfaceDeclarationSyntax)
Creates a new ModifierListInfo from the specified interface declaration.
public static Roslynator.CSharp.Syntax.ModifierListInfo ModifierListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.InterfaceDeclarationSyntax interfaceDeclaration)
Parameters
interfaceDeclaration InterfaceDeclarationSyntax
Returns
ModifierListInfo(LocalDeclarationStatementSyntax)
Creates a new ModifierListInfo from the specified local declaration statement.
public static Roslynator.CSharp.Syntax.ModifierListInfo ModifierListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.LocalDeclarationStatementSyntax localDeclarationStatement)
Parameters
localDeclarationStatement LocalDeclarationStatementSyntax
Returns
ModifierListInfo(LocalFunctionStatementSyntax)
Creates a new ModifierListInfo from the specified local function.
public static Roslynator.CSharp.Syntax.ModifierListInfo ModifierListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.LocalFunctionStatementSyntax localFunctionStatement)
Parameters
localFunctionStatement LocalFunctionStatementSyntax
Returns
ModifierListInfo(MethodDeclarationSyntax)
Creates a new ModifierListInfo from the specified method declaration.
public static Roslynator.CSharp.Syntax.ModifierListInfo ModifierListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax methodDeclaration)
Parameters
methodDeclaration MethodDeclarationSyntax
Returns
ModifierListInfo(OperatorDeclarationSyntax)
Creates a new ModifierListInfo from the specified operator declaration.
public static Roslynator.CSharp.Syntax.ModifierListInfo ModifierListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.OperatorDeclarationSyntax operatorDeclaration)
Parameters
operatorDeclaration OperatorDeclarationSyntax
Returns
ModifierListInfo(ParameterSyntax)
Creates a new ModifierListInfo from the specified parameter.
public static Roslynator.CSharp.Syntax.ModifierListInfo ModifierListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax parameter)
Parameters
parameter ParameterSyntax
Returns
ModifierListInfo(PropertyDeclarationSyntax)
Creates a new ModifierListInfo from the specified property declaration.
public static Roslynator.CSharp.Syntax.ModifierListInfo ModifierListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.PropertyDeclarationSyntax propertyDeclaration)
Parameters
propertyDeclaration PropertyDeclarationSyntax
Returns
ModifierListInfo(StructDeclarationSyntax)
Creates a new ModifierListInfo from the specified struct declaration.
public static Roslynator.CSharp.Syntax.ModifierListInfo ModifierListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.StructDeclarationSyntax structDeclaration)
Parameters
structDeclaration StructDeclarationSyntax
Returns
ModifierListInfo(SyntaxNode)
Creates a new ModifierListInfo from the specified node.
public static Roslynator.CSharp.Syntax.ModifierListInfo ModifierListInfo(Microsoft.CodeAnalysis.SyntaxNode node)
Parameters
node SyntaxNode