Expression
Gets the argument expression written at the call site, for inspection only. The value is null when the argument is omitted
(DefaultValue) and when the compiler materializes it from several expressions
(ParamsElements). For a ref, out or in argument, it is the expression after
the modifier.
Declaration
public IExpression? Expression { get; }Property Value
| Type | Description |
|---|---|
| IExpression |
Remarks
The rules of Receiver apply.
The value of a constant argument is AsTypedConstant of this expression. The value of an omitted argument is DefaultValue of Parameter.