CSharpFactory.VariableDeclarator Method
Containing Type: CSharpFactory
Assembly: Roslynator.CSharp.dll
Overloads
Method | Summary |
---|---|
VariableDeclarator(String, EqualsValueClauseSyntax) | |
VariableDeclarator(SyntaxToken, EqualsValueClauseSyntax) |
VariableDeclarator(String, EqualsValueClauseSyntax)
public static Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclaratorSyntax VariableDeclarator(string identifier, Microsoft.CodeAnalysis.CSharp.Syntax.EqualsValueClauseSyntax initializer)
Parameters
identifier String
initializer EqualsValueClauseSyntax
Returns
VariableDeclarator(SyntaxToken, EqualsValueClauseSyntax)
public static Microsoft.CodeAnalysis.CSharp.Syntax.VariableDeclaratorSyntax VariableDeclarator(Microsoft.CodeAnalysis.SyntaxToken identifier, Microsoft.CodeAnalysis.CSharp.Syntax.EqualsValueClauseSyntax? initializer)
Parameters
identifier SyntaxToken
initializer EqualsValueClauseSyntax