PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Type­Spec­Declaration Class / Type­Spec­Declaration Methods / Type­Spec­Declaration.​Get­System­Type Method / Type­Spec­Declaration.​Get­System­Type Method (Type[], Type[])

TypeSpecDeclaration.GetSystemType Method (Type[], Type[])

Gets the system, runtime Type corresponding to the current type.

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 Type GetSystemType(
	Type[] genericTypeArguments,
	Type[] genericMethodArguments
)

Parameters

genericTypeArguments
Type: System.Type[]
Array of generic type arguments in the current context, or null if there is no generic type arguments in the current context.
genericMethodArguments
Type: System.Type[]
Array of generic method arguments in the current context, or null if there is no generic type arguments in the current context.

Return Value

Type: Type
The system Type associated the current type in the given generic context.

Implements

ITypeSignature.GetSystemType(Type[], Type[])
See Also