Skip to main content

CSharpFactory.DivideExpression Method

Containing Type: CSharpFactory

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
DivideExpression(ExpressionSyntax, ExpressionSyntax)
DivideExpression(ExpressionSyntax, SyntaxToken, ExpressionSyntax)

DivideExpression(ExpressionSyntax, ExpressionSyntax)

public static Microsoft.CodeAnalysis.CSharp.Syntax.BinaryExpressionSyntax DivideExpression(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax left, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax right)

Parameters

left ExpressionSyntax

right ExpressionSyntax

Returns

BinaryExpressionSyntax

DivideExpression(ExpressionSyntax, SyntaxToken, ExpressionSyntax)

public static Microsoft.CodeAnalysis.CSharp.Syntax.BinaryExpressionSyntax DivideExpression(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax left, Microsoft.CodeAnalysis.SyntaxToken operatorToken, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax right)

Parameters

left ExpressionSyntax

operatorToken SyntaxToken

right ExpressionSyntax

Returns

BinaryExpressionSyntax