Skip to main content

CSharpFactory.UsingStaticDirective Method

Containing Type: CSharpFactory

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
UsingStaticDirective(NameSyntax)
UsingStaticDirective(SyntaxToken, SyntaxToken, NameSyntax, SyntaxToken)

UsingStaticDirective(NameSyntax)

public static Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax UsingStaticDirective(Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax name)

Parameters

name NameSyntax

Returns

UsingDirectiveSyntax

UsingStaticDirective(SyntaxToken, SyntaxToken, NameSyntax, SyntaxToken)

public static Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax UsingStaticDirective(Microsoft.CodeAnalysis.SyntaxToken usingKeyword, Microsoft.CodeAnalysis.SyntaxToken staticKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax name, Microsoft.CodeAnalysis.SyntaxToken semicolonToken)

Parameters

usingKeyword SyntaxToken

staticKeyword SyntaxToken

name NameSyntax

semicolonToken SyntaxToken

Returns

UsingDirectiveSyntax