Skip to main content

SyntaxInfo.ModifierListInfo Method

Containing Type: SyntaxInfo

Assembly: Roslynator.CSharp.dll

Overloads​

MethodSummary
ModifierListInfo(AccessorDeclarationSyntax)Creates a new ModifierListInfo from the specified accessor declaration.
ModifierListInfo(ClassDeclarationSyntax)Creates a new ModifierListInfo from the specified class declaration.
ModifierListInfo(ConstructorDeclarationSyntax)Creates a new ModifierListInfo from the specified constructor declaration.
ModifierListInfo(ConversionOperatorDeclarationSyntax)Creates a new ModifierListInfo from the specified conversion operator declaration.
ModifierListInfo(DelegateDeclarationSyntax)Creates a new ModifierListInfo from the specified delegate declaration.
ModifierListInfo(DestructorDeclarationSyntax)Creates a new ModifierListInfo from the specified destructor declaration.
ModifierListInfo(EnumDeclarationSyntax)Creates a new ModifierListInfo from the specified enum declaration.
ModifierListInfo(EventDeclarationSyntax)Creates a new ModifierListInfo from the specified event declaration.
ModifierListInfo(EventFieldDeclarationSyntax)Creates a new ModifierListInfo from the specified event field declaration.
ModifierListInfo(FieldDeclarationSyntax)Creates a new ModifierListInfo from the specified field declaration.
ModifierListInfo(IncompleteMemberSyntax)Creates a new ModifierListInfo from the specified incomplete member.
ModifierListInfo(IndexerDeclarationSyntax)Creates a new ModifierListInfo from the specified indexer declaration.
ModifierListInfo(InterfaceDeclarationSyntax)Creates a new ModifierListInfo from the specified interface declaration.
ModifierListInfo(LocalDeclarationStatementSyntax)Creates a new ModifierListInfo from the specified local declaration statement.
ModifierListInfo(LocalFunctionStatementSyntax)Creates a new ModifierListInfo from the specified local function.
ModifierListInfo(MethodDeclarationSyntax)Creates a new ModifierListInfo from the specified method declaration.
ModifierListInfo(OperatorDeclarationSyntax)Creates a new ModifierListInfo from the specified operator declaration.
ModifierListInfo(ParameterSyntax)Creates a new ModifierListInfo from the specified parameter.
ModifierListInfo(PropertyDeclarationSyntax)Creates a new ModifierListInfo from the specified property declaration.
ModifierListInfo(StructDeclarationSyntax)Creates a new ModifierListInfo from the specified struct declaration.
ModifierListInfo(SyntaxNode)Creates a new ModifierListInfo from the specified node.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

ModifierListInfo(SyntaxNode)​

Creates a new ModifierListInfo from the specified node.

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

Parameters​

node   SyntaxNode

Returns​

ModifierListInfo