Skip to main content

CSharpFactory.AddressOfExpression Method

Containing Type: CSharpFactory

Assembly: Roslynator.CSharp.dll

Overloads

MethodSummary
AddressOfExpression(ExpressionSyntax, SyntaxToken)
AddressOfExpression(ExpressionSyntax)

AddressOfExpression(ExpressionSyntax, SyntaxToken)

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

Parameters

operand ExpressionSyntax

operatorToken SyntaxToken

Returns

PrefixUnaryExpressionSyntax

AddressOfExpression(ExpressionSyntax)

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

Parameters

operand ExpressionSyntax

Returns

PrefixUnaryExpressionSyntax