SyntaxInfo.UsingDirectiveListInfo Method
Containing Type: SyntaxInfo
Assembly: Roslynator.CSharp.dll
Overloads
Method | Summary |
---|---|
UsingDirectiveListInfo(CompilationUnitSyntax) | Creates a new UsingDirectiveListInfo from the specified compilation unit. |
UsingDirectiveListInfo(FileScopedNamespaceDeclarationSyntax) | Creates a new UsingDirectiveListInfo from the specified declaration. |
UsingDirectiveListInfo(NamespaceDeclarationSyntax) | Creates a new UsingDirectiveListInfo from the specified declaration. |
UsingDirectiveListInfo(SyntaxNode) | Creates a new UsingDirectiveListInfo from the specified node. |
UsingDirectiveListInfo(CompilationUnitSyntax)
Creates a new UsingDirectiveListInfo from the specified compilation unit.
public static Roslynator.CSharp.Syntax.UsingDirectiveListInfo UsingDirectiveListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax compilationUnit)
Parameters
compilationUnit CompilationUnitSyntax
Returns
UsingDirectiveListInfo(FileScopedNamespaceDeclarationSyntax)
Creates a new UsingDirectiveListInfo from the specified declaration.
public static Roslynator.CSharp.Syntax.UsingDirectiveListInfo UsingDirectiveListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.FileScopedNamespaceDeclarationSyntax declaration)
Parameters
declaration FileScopedNamespaceDeclarationSyntax
Returns
UsingDirectiveListInfo(NamespaceDeclarationSyntax)
Creates a new UsingDirectiveListInfo from the specified declaration.
public static Roslynator.CSharp.Syntax.UsingDirectiveListInfo UsingDirectiveListInfo(Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax declaration)
Parameters
declaration NamespaceDeclarationSyntax
Returns
UsingDirectiveListInfo(SyntaxNode)
Creates a new UsingDirectiveListInfo from the specified node.
public static Roslynator.CSharp.Syntax.UsingDirectiveListInfo UsingDirectiveListInfo(Microsoft.CodeAnalysis.SyntaxNode node)
Parameters
node SyntaxNode