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