PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Declaration­Cache Class / Declaration­Cache Methods / Declaration­Cache.​Get­Intrinsic­Boxed­Type Method

DeclarationCache.GetIntrinsicBoxedType Method

Gets the boxed type of an intrinsic.

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 INamedType GetIntrinsicBoxedType(
	IntrinsicType type
)

Parameters

type
Type: PostSharp.Sdk.CodeModel.IntrinsicType
The intrinsic type.

Return Value

Type: INamedType
The boxed type corresponding to the intrinsic type.
Examples
GetIntrinsicBoxedType(IntrinsicType.Object) returns Object.
See Also