MetalamaAPI documentationPost­Sharp API migrationPost­Sharp.​AspectsIOn­Instance­Location­Initialized­Aspect
Open sandboxFocus

IOnInstanceLocationInitializedAspect Interface

There is no equivalent of this aspect in Metalama because Metalama rewrites the code in such a way that field or property initializations go through the overridden setter. This is done by moving the initializers to the constructor, where it is safe to call the aspect.

Namespace: PostSharp.Aspects
Assembly: Metalama.Migration.dll
public interface IOnInstanceLocationInitializedAspect : ILocationLevelAspect, IAspect


Name Description

There is no equivalent in Metalama because field and property initializers go through the overridden setter.