PostSharp6.4//API Reference/Post­Sharp.​Aspects Namespace/ILocation­Level­Aspect­Build­Semantics Interface/ILocation­Level­Aspect­Build­Semantics Methods/ILocation­Level­Aspect­Build­Semantics.​Compile­Time­Initialize Method

ILocationLevelAspectBuildSemantics.CompileTimeInitialize Method

Method invoked at build time to initialize the instance fields of the current aspect. This method is invoked before any other build-time method.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 6.4.11.0 (6.4.11.0)
Syntax
C#
void CompileTimeInitialize(
	LocationInfo targetLocation,
	AspectInfo aspectInfo
)

Parameters

targetLocation
Type: PostSharp.Reflection.LocationInfo
Location to which the current aspect is applied
aspectInfo
Type: PostSharp.Aspects.AspectInfo
Reserved for future usage.
See Also