PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Type­Spec­Declaration Class / Type­Spec­Declaration Methods / Type­Spec­Declaration.​Get­Type­Definition Method / Type­Spec­Declaration.​Get­Type­Definition Method (Binding­Options)

TypeSpecDeclaration.GetTypeDefinition Method (BindingOptions)

Finds in the current domain the TypeDefDeclaration corresponding to the current type and specifies BindingOptions.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public TypeDefDeclaration GetTypeDefinition(
	BindingOptions bindingOptions
)

Parameters

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

Return Value

Type: TypeDefDeclaration
The TypeDefDeclaration corresponding to the current instance in the current domain.

Implements

ITypeSignature.GetTypeDefinition(BindingOptions)
See Also