SyntaxInfo.SimpleAssignmentStatementInfo Method
Containing Type: SyntaxInfo
Assembly: Roslynator.CSharp.dll
Overloads
Method | Summary |
---|---|
SimpleAssignmentStatementInfo(AssignmentExpressionSyntax, Boolean, Boolean) | Creates a new SimpleAssignmentStatementInfo from the specified assignment expression. |
SimpleAssignmentStatementInfo(ExpressionStatementSyntax, Boolean, Boolean) | Creates a new SimpleAssignmentStatementInfo from the specified expression statement. |
SimpleAssignmentStatementInfo(StatementSyntax, Boolean, Boolean) | Creates a new SimpleAssignmentStatementInfo from the specified statement. |
SimpleAssignmentStatementInfo(AssignmentExpressionSyntax, Boolean, Boolean)
Creates a new SimpleAssignmentStatementInfo from the specified assignment expression.
public static Roslynator.CSharp.Syntax.SimpleAssignmentStatementInfo SimpleAssignmentStatementInfo(Microsoft.CodeAnalysis.CSharp.Syntax.AssignmentExpressionSyntax assignmentExpression, bool walkDownParentheses = true, bool allowMissing = false)
Parameters
assignmentExpression AssignmentExpressionSyntax
walkDownParentheses Boolean
allowMissing Boolean
Returns
SimpleAssignmentStatementInfo(ExpressionStatementSyntax, Boolean, Boolean)
Creates a new SimpleAssignmentStatementInfo from the specified expression statement.
public static Roslynator.CSharp.Syntax.SimpleAssignmentStatementInfo SimpleAssignmentStatementInfo(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionStatementSyntax expressionStatement, bool walkDownParentheses = true, bool allowMissing = false)
Parameters
expressionStatement ExpressionStatementSyntax
walkDownParentheses Boolean
allowMissing Boolean
Returns
SimpleAssignmentStatementInfo(StatementSyntax, Boolean, Boolean)
Creates a new SimpleAssignmentStatementInfo from the specified statement.
public static Roslynator.CSharp.Syntax.SimpleAssignmentStatementInfo SimpleAssignmentStatementInfo(Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax statement, bool walkDownParentheses = true, bool allowMissing = false)
Parameters
statement StatementSyntax
walkDownParentheses Boolean
allowMissing Boolean