Skip to main content

SyntaxInfo.MemberDeclarationListInfo Method

Containing Type: SyntaxInfo

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
MemberDeclarationListInfo(BaseNamespaceDeclarationSyntax)Creates a new MemberDeclarationListInfo from the specified declaration.
MemberDeclarationListInfo(ClassDeclarationSyntax)Creates a new MemberDeclarationListInfo from the specified declaration.
MemberDeclarationListInfo(CompilationUnitSyntax)Creates a new MemberDeclarationListInfo from the specified compilation unit.
MemberDeclarationListInfo(InterfaceDeclarationSyntax)Creates a new MemberDeclarationListInfo from the specified declaration.
MemberDeclarationListInfo(NamespaceDeclarationSyntax)Creates a new MemberDeclarationListInfo from the specified declaration.
MemberDeclarationListInfo(StructDeclarationSyntax)Creates a new MemberDeclarationListInfo from the specified declaration.
MemberDeclarationListInfo(SyntaxNode)Creates a new MemberDeclarationListInfo from the specified node.
MemberDeclarationListInfo(TypeDeclarationSyntax)Creates a new MemberDeclarationListInfo from the specified declaration.

MemberDeclarationListInfo(BaseNamespaceDeclarationSyntax)

Creates a new MemberDeclarationListInfo from the specified declaration.

public static Roslynator.CSharp.Syntax.MemberDeclarationListInfo MemberDeclarationListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.BaseNamespaceDeclarationSyntax declaration)

Parameters

declaration BaseNamespaceDeclarationSyntax

Returns

MemberDeclarationListInfo

MemberDeclarationListInfo(ClassDeclarationSyntax)

Creates a new MemberDeclarationListInfo from the specified declaration.

public static Roslynator.CSharp.Syntax.MemberDeclarationListInfo MemberDeclarationListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax declaration)

Parameters

declaration ClassDeclarationSyntax

Returns

MemberDeclarationListInfo

MemberDeclarationListInfo(CompilationUnitSyntax)

Creates a new MemberDeclarationListInfo from the specified compilation unit.

public static Roslynator.CSharp.Syntax.MemberDeclarationListInfo MemberDeclarationListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax compilationUnit)

Parameters

compilationUnit CompilationUnitSyntax

Returns

MemberDeclarationListInfo

MemberDeclarationListInfo(InterfaceDeclarationSyntax)

Creates a new MemberDeclarationListInfo from the specified declaration.

public static Roslynator.CSharp.Syntax.MemberDeclarationListInfo MemberDeclarationListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.InterfaceDeclarationSyntax declaration)

Parameters

declaration InterfaceDeclarationSyntax

Returns

MemberDeclarationListInfo

MemberDeclarationListInfo(NamespaceDeclarationSyntax)

Creates a new MemberDeclarationListInfo from the specified declaration.

public static Roslynator.CSharp.Syntax.MemberDeclarationListInfo MemberDeclarationListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax declaration)

Parameters

declaration NamespaceDeclarationSyntax

Returns

MemberDeclarationListInfo

MemberDeclarationListInfo(StructDeclarationSyntax)

Creates a new MemberDeclarationListInfo from the specified declaration.

public static Roslynator.CSharp.Syntax.MemberDeclarationListInfo MemberDeclarationListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.StructDeclarationSyntax declaration)

Parameters

declaration StructDeclarationSyntax

Returns

MemberDeclarationListInfo

MemberDeclarationListInfo(SyntaxNode)

Creates a new MemberDeclarationListInfo from the specified node.

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

Parameters

node SyntaxNode

Returns

MemberDeclarationListInfo

MemberDeclarationListInfo(TypeDeclarationSyntax)

Creates a new MemberDeclarationListInfo from the specified declaration.

public static Roslynator.CSharp.Syntax.MemberDeclarationListInfo MemberDeclarationListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.TypeDeclarationSyntax declaration)

Parameters

declaration TypeDeclarationSyntax

Returns

MemberDeclarationListInfo