PostSharp.ILAPI ReferencePost­Sharp.​AspectsLocation­Interception­AspectOn­Instance­Location­Initialized
Open sandboxFocus

LocationInterceptionAspect.OnInstanceLocationInitialized Method

OnInstanceLocationInitialized(LocationInitializationArgs)

Method invoked after an initial value is set for a field or property to which the current aspect is applied. The method is invoked only for instance fields and instance auto-implemented properties, and it is invoked after their inline initialization. For static fields and properties, and for accesses from the constructor, OnSetValue is invoked instead.

Declaration
[RequiresLocationInterceptionAdviceAnalysis]
[RequiresDebuggerEnhancement]
[HasInheritedAttribute]
[LocationInterceptionAdviceOptimization]
public virtual void OnInstanceLocationInitialized(LocationInitializationArgs args)
Parameters
Type Name Description
LocationInitializationArgs args

Information about the location.

Implements
IOnInstanceLocationInitializedAspect.OnInstanceLocationInitialized(LocationInitializationArgs)