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

DeclarationCache.GetType Method (String)

Gets a type (ITypeSignature) given its name.

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 ITypeSignature GetType(
	string typeName
)

Parameters

typeName
Type: System.String
The reflection type.

Return Value

Type: ITypeSignature
An ITypeSignature.
See Also