PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver Namespace / Aspect­Runtime­Instance­Field Class / Aspect­Runtime­Instance­Field Properties / Aspect­Runtime­Instance­Field.​Instance­Field Property

AspectRuntimeInstanceField.InstanceField Property

Gets the field containing the instance aspect instance, i.e. the aspect instance with instance scope. This property is null if IsStatic is true.

Namespace:  PostSharp.Sdk.AspectWeaver
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public FieldDefDeclaration InstanceField { get; }

Property Value

Type: FieldDefDeclaration
See Also