PostSharp4.3/API Reference/Post­Sharp.​Aspects Namespace/Assembly­Level­Aspect Class/Assembly­Level­Aspect Methods/Assembly­Level­Aspect.​Compile­Time­Initialize Method
AssemblyLevelAspect.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: 4.3.48.0 (4.3.48.0)
Syntax
C#
public virtual void CompileTimeInitialize(
	Assembly assembly,
	AspectInfo aspectInfo
)

Parameters

assembly
Type: System.Reflection.Assembly
Assembly to which the current aspect is applied
aspectInfo
Type: PostSharp.Aspects.AspectInfo
Reserved for future usage.

Implements

IAssemblyLevelAspectBuildSemantics.CompileTimeInitialize(Assembly, AspectInfo)
See Also