SyntaxExtensions.DeclarationOrExpression(UsingStatementSyntax) Method
Containing Type: SyntaxExtensions
Assembly: Roslynator.CSharp.dll
Returns using statement's declaration or an expression if the declaration is null.
public static Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode? DeclarationOrExpression(this Microsoft.CodeAnalysis.CSharp.Syntax.UsingStatementSyntax usingStatement)
Parameters
usingStatement UsingStatementSyntax