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)
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