CSharpFactory.UnaryMinusExpression Method
Containing Type: CSharpFactory
Assembly: Roslynator.CSharp.dll
Overloads
Method | Summary |
---|---|
UnaryMinusExpression(ExpressionSyntax, SyntaxToken) | |
UnaryMinusExpression(ExpressionSyntax) |
UnaryMinusExpression(ExpressionSyntax, SyntaxToken)
public static Microsoft.CodeAnalysis.CSharp.Syntax.PrefixUnaryExpressionSyntax UnaryMinusExpression(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax operand, Microsoft.CodeAnalysis.SyntaxToken operatorToken)
Parameters
operand ExpressionSyntax
operatorToken SyntaxToken
Returns
UnaryMinusExpression(ExpressionSyntax)
public static Microsoft.CodeAnalysis.CSharp.Syntax.PrefixUnaryExpressionSyntax UnaryMinusExpression(Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax operand)
Parameters
operand ExpressionSyntax