Skip to main content

CSharpFactory.LogicalNotExpression Method

Containing Type: CSharpFactory

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
LogicalNotExpression(ExpressionSyntax, SyntaxToken)
LogicalNotExpression(ExpressionSyntax)

LogicalNotExpression(ExpressionSyntax, SyntaxToken)

public static Microsoft.CodeAnalysis.CSharp.Syntax.PrefixUnaryExpressionSyntax LogicalNotExpression(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax operand, Microsoft.CodeAnalysis.SyntaxToken operatorToken)

Parameters

operand ExpressionSyntax

operatorToken SyntaxToken

Returns

PrefixUnaryExpressionSyntax

LogicalNotExpression(ExpressionSyntax)

public static Microsoft.CodeAnalysis.CSharp.Syntax.PrefixUnaryExpressionSyntax LogicalNotExpression(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax operand)

Parameters

operand ExpressionSyntax

Returns

PrefixUnaryExpressionSyntax