PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Assembly­Ref­Declaration Class / Assembly­Ref­Declaration Methods / Assembly­Ref­Declaration.​Get­System­Assembly Method

AssemblyRefDeclaration.GetSystemAssembly Method

Gets the reflection Assembly corresponding to the current instance.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public Assembly GetSystemAssembly(
	BindingOptions options
)

Parameters

options
Type: PostSharp.Sdk.CodeModel.BindingOptions
Binding options.

Return Value

Type: Assembly
The Assembly corresponding to this instance, or null if the assembly could not be found.

Implements

IAssembly.GetSystemAssembly(BindingOptions)
See Also