PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Declaration­Cache Class / Declaration­Cache Methods

DeclarationCache Methods

The DeclarationCache type exposes the following members.

Public methodClear
Clear the cache content.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetGenericParameter
Public methodGetGenericParameterArray
Creates an array of GenericParameterTypeSignature with incremental ordinals.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetIntrinsic(Type)
Gets an IntrinsicTypeSignature, given a reflection Type.
Public methodGetIntrinsic(IntrinsicType)
Public methodCode exampleGetIntrinsicBoxedType
Gets the boxed type of an intrinsic.
Public methodGetIntrinsicSerializationType
Public methodGetItem<T>
Gets a declaration served by a provider.
Public methodGetModuleItem<T>
Public methodGetType()
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetType(String)
Gets a type (ITypeSignature) given its name.
Public methodGetType(Type)
Gets a type (ITypeSignature) given a reflection type (Type), with default binding options.
Public methodGetType(Type, BindingOptions)
Gets a type (ITypeSignature) given a reflection type (Type), but specifies BindingOptions.
Public methodInvalidateTranslations
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also