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

IMethodLevelAspectBuildSemantics.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.2.11.0 (6.2.11.0)
Syntax
C#
void CompileTimeInitialize(
	MethodBase method,
	AspectInfo aspectInfo
)

Parameters

method
Type: System.Reflection.MethodBase
Method to which the current aspect is applied
aspectInfo
Type: PostSharp.Aspects.AspectInfo
Reserved for future usage.
See Also