PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / IType­Signature Interface / IType­Signature Methods / IType­Signature.​Get­Naked­Type Method

ITypeSignature.GetNakedType Method

Returns the meaningful type. Removes specified modifiers and resolves type references.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: (
ITypeSignature GetNakedType(
	TypeNakingOptions options = TypeNakingOptions.Default


options (Optional)
Type: PostSharp.Sdk.CodeModel.TypeNakingOptions
Specifies what has to be ignored.

Return Value

Type: ITypeSignature
A 'naked' IType.
This method only removes the modifiers on the current object, all of the nodes of a type signature. However, the object returned by this method (i.e. the head of the chain) is guaranteed to be free from modifiers specified in options.
See Also