Skip to main content

CSharpFactory.LogicalOrExpression Method

Containing Type: CSharpFactory

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
LogicalOrExpression(ExpressionSyntax, ExpressionSyntax)
LogicalOrExpression(ExpressionSyntax, SyntaxToken, ExpressionSyntax)

LogicalOrExpression(ExpressionSyntax, ExpressionSyntax)

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

Parameters

left ExpressionSyntax

right ExpressionSyntax

Returns

BinaryExpressionSyntax

LogicalOrExpression(ExpressionSyntax, SyntaxToken, ExpressionSyntax)

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