Skip to main content

CSharpFactory.PreIncrementExpression Method

Containing Type: CSharpFactory

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
PreIncrementExpression(ExpressionSyntax, SyntaxToken)
PreIncrementExpression(ExpressionSyntax)

PreIncrementExpression(ExpressionSyntax, SyntaxToken)

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

Parameters

operand ExpressionSyntax

operatorToken SyntaxToken

Returns

PrefixUnaryExpressionSyntax

PreIncrementExpression(ExpressionSyntax)

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

Parameters

operand ExpressionSyntax

Returns

PrefixUnaryExpressionSyntax