Skip to main content

CSharpFactory.UnaryPlusExpression Method

Containing Type: CSharpFactory

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
UnaryPlusExpression(ExpressionSyntax, SyntaxToken)
UnaryPlusExpression(ExpressionSyntax)

UnaryPlusExpression(ExpressionSyntax, SyntaxToken)

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

Parameters

operand ExpressionSyntax

operatorToken SyntaxToken

Returns

PrefixUnaryExpressionSyntax

UnaryPlusExpression(ExpressionSyntax)

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

Parameters

operand ExpressionSyntax

Returns

PrefixUnaryExpressionSyntax