Skip to main content

CSharpFactory.AddAssignmentExpression Method

Containing Type: CSharpFactory

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
AddAssignmentExpression(ExpressionSyntax, ExpressionSyntax)
AddAssignmentExpression(ExpressionSyntax, SyntaxToken, ExpressionSyntax)

AddAssignmentExpression(ExpressionSyntax, ExpressionSyntax)

public static Microsoft.CodeAnalysis.CSharp.Syntax.AssignmentExpressionSyntax AddAssignmentExpression(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax left, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax right)

Parameters

left ExpressionSyntax

right ExpressionSyntax

Returns

AssignmentExpressionSyntax

AddAssignmentExpression(ExpressionSyntax, SyntaxToken, ExpressionSyntax)

public static Microsoft.CodeAnalysis.CSharp.Syntax.AssignmentExpressionSyntax AddAssignmentExpression(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax left, Microsoft.CodeAnalysis.SyntaxToken operatorToken, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax right)

Parameters

left ExpressionSyntax

operatorToken SyntaxToken

right ExpressionSyntax

Returns

AssignmentExpressionSyntax