Describes the receiver written at a site: the object on which the method is called or from which the method group is taken.
Namespace: Metalama.Extensions.Interceptors
Assembly: Metalama.Extensions.Interceptors.dll
Syntax
[CompileTime]
[InternalImplement]
public interface IInvocationReceiverRemarks
The object has the lifetime of the IMethodInterceptionContext that exposes it, so it must not be stored after the delegate that received the context returns.
Properties
| Name | Description |
|---|---|
| Expression | Gets the receiver expression written at the site, for inspection only, or |
| IsConditionalAccess | Gets a value indicating whether the call is written with the null-conditional operator |
| Kind | Gets the kind of receiver written at the site. |
| Type | Gets the static type of the receiver, or |