Instance
Gets or sets the object instance on which the method is being executed.
Declaration
public object Instance { get; set; }Property Value
| Type | Description |
|---|---|
| object |
Remarks
This may be set by user code only when the instance is a value type. As usual, user code is responsible for setting an object of the right type.
note
As a result of weaving optimizations, the value of this property may appear as null in a debugger.
If you need to inspect the value at runtime, consider disabling aspect optimizations in the debug build configuration.