SyntaxInfo.LocalDeclarationStatementInfo Method
Containing Type: SyntaxInfo
Assembly: Roslynator.CSharp.dll
Overloads
Method | Summary |
---|---|
LocalDeclarationStatementInfo(ExpressionSyntax, Boolean) | Creates a new LocalDeclarationStatementInfo from the specified expression. |
LocalDeclarationStatementInfo(LocalDeclarationStatementSyntax, Boolean) | Creates a new LocalDeclarationStatementInfo from the specified local declaration statement. |
LocalDeclarationStatementInfo(ExpressionSyntax, Boolean)
Creates a new LocalDeclarationStatementInfo from the specified expression.
public static Roslynator.CSharp.Syntax.LocalDeclarationStatementInfo LocalDeclarationStatementInfo(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax value, bool allowMissing = false)
Parameters
value ExpressionSyntax
allowMissing Boolean
Returns
LocalDeclarationStatementInfo(LocalDeclarationStatementSyntax, Boolean)
Creates a new LocalDeclarationStatementInfo from the specified local declaration statement.
public static Roslynator.CSharp.Syntax.LocalDeclarationStatementInfo LocalDeclarationStatementInfo(Microsoft.CodeAnalysis.CSharp.Syntax.LocalDeclarationStatementSyntax localDeclarationStatement, bool allowMissing = false)
Parameters
localDeclarationStatement LocalDeclarationStatementSyntax
allowMissing Boolean