ArgumentReferenceExpression Class

Represents a reference to a method or constructor argument.

public class ArgumentReferenceExpression : Expression
Inheritance
Expression ArgumentReferenceExpression

Constructors

NameDescription
ArgumentReferenceExpression()
ArgumentReferenceExpression(MethodArgumentDeclaration)Initializes a new instance of the ArgumentReferenceExpression class referencing an argument declaration.
ArgumentReferenceExpression(string)Initializes a new instance of the ArgumentReferenceExpression class with the specified argument name.

ArgumentReferenceExpression overloads

ArgumentReferenceExpression()

ArgumentReferenceExpression.cs
public ArgumentReferenceExpression()

No documentation is available.

ArgumentReferenceExpression(MethodArgumentDeclaration)

ArgumentReferenceExpression.cs

Initializes a new instance of the ArgumentReferenceExpression class referencing an argument declaration.

public ArgumentReferenceExpression(MethodArgumentDeclaration argumentDeclaration)
Parameters
argumentDeclaration MethodArgumentDeclaration
The argument declaration to reference.

ArgumentReferenceExpression(string)

ArgumentReferenceExpression.cs

Initializes a new instance of the ArgumentReferenceExpression class with the specified argument name.

public ArgumentReferenceExpression(string name)
Parameters
name string
The argument name.

Properties

NameDescription
Name
public string? Name { get; set; }

Property value

string?

No documentation is available.

Operators

NameDescription
implicit operator ArgumentReferenceExpression(MethodArgumentDeclaration)

implicit operator ArgumentReferenceExpression(MethodArgumentDeclaration)

ArgumentReferenceExpression.cs
public static implicit operator ArgumentReferenceExpression(MethodArgumentDeclaration methodArgumentDeclaration)

Parameters

methodArgumentDeclaration MethodArgumentDeclaration

Returns

ArgumentReferenceExpression

No documentation is available.