Skip to main content

CSharpFactory.ModuloExpression Method

Containing Type: CSharpFactory

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
ModuloExpression(ExpressionSyntax, ExpressionSyntax)
ModuloExpression(ExpressionSyntax, SyntaxToken, ExpressionSyntax)

ModuloExpression(ExpressionSyntax, ExpressionSyntax)

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

Parameters

left ExpressionSyntax

right ExpressionSyntax

Returns

BinaryExpressionSyntax

ModuloExpression(ExpressionSyntax, SyntaxToken, ExpressionSyntax)

public static Microsoft.CodeAnalysis.CSharp.Syntax.BinaryExpressionSyntax ModuloExpression(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