UsingDirectiveListInfo.WithUsings Method
Containing Type: UsingDirectiveListInfo
Assembly: Roslynator.CSharp.dll
Overloads
Method | Summary |
---|---|
WithUsings(IEnumerable<UsingDirectiveSyntax>) | Creates a new UsingDirectiveListInfo with the usings updated. |
WithUsings(SyntaxList<UsingDirectiveSyntax>) | Creates a new UsingDirectiveListInfo with the usings updated. |
WithUsings(IEnumerable<UsingDirectiveSyntax>)
Creates a new UsingDirectiveListInfo with the usings updated.
public Roslynator.CSharp.Syntax.UsingDirectiveListInfo WithUsings(System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax> usings)
Parameters
usings IEnumerable<UsingDirectiveSyntax>
Returns
WithUsings(SyntaxList<UsingDirectiveSyntax>)
Creates a new UsingDirectiveListInfo with the usings updated.
public Roslynator.CSharp.Syntax.UsingDirectiveListInfo WithUsings(Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax> usings)
Parameters
usings SyntaxList<UsingDirectiveSyntax>