PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Infrastructure Namespace / IType­Initialization­Client Interface / IType­Initialization­Client Methods / IType­Initialization­Client.​Emit Method

ITypeInitializationClient.Emit Method

Emits aspect initialization instructions into enhanced classes.

Namespace:  PostSharp.Sdk.AspectInfrastructure
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
void Emit(
	InstructionWriter writer,
	InstructionBlock block,
	TypeInitializationClientScopes scope
)

Parameters

writer
Type: PostSharp.Sdk.CodeModel.InstructionWriter
The InstructionWriter to use.
block
Type: PostSharp.Sdk.CodeModel.InstructionBlock
The InstructionBlock where instructions should be emitted.
scope
Type: PostSharp.Sdk.AspectInfrastructure.TypeInitializationClientScopes
See Also