Skip to main content

CSharpFactory.SimpleAssignmentStatement Method

Containing Type: CSharpFactory

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
SimpleAssignmentStatement(ExpressionSyntax, ExpressionSyntax)
SimpleAssignmentStatement(ExpressionSyntax, SyntaxToken, ExpressionSyntax)

SimpleAssignmentStatement(ExpressionSyntax, ExpressionSyntax)

public static Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionStatementSyntax SimpleAssignmentStatement(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax left, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax right)

Parameters

left ExpressionSyntax

right ExpressionSyntax

Returns

ExpressionStatementSyntax

SimpleAssignmentStatement(ExpressionSyntax, SyntaxToken, ExpressionSyntax)

public static Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionStatementSyntax SimpleAssignmentStatement(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax left, Microsoft.CodeAnalysis.SyntaxToken operatorToken, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax right)

Parameters

left ExpressionSyntax

operatorToken SyntaxToken

right ExpressionSyntax

Returns

ExpressionStatementSyntax