PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Type­Signature­Extensions Class

TypeSignatureExtensions Class

Extension methods for ITypeSignature.
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.CodeModel.TypeSignatureExtensions

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 static class TypeSignatureExtensions

The TypeSignatureExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberFindMethod(ITypeSignature, IMethod)
Public methodStatic memberFindMethod(ITypeSignature, String, IMethodSignature, BindingOptions)
Public methodStatic memberGetAssignmentDistance(ITypeSignature, ITypeSignature)
Public methodStatic memberGetAssignmentDistance(ITypeSignature, ITypeSignature, GenericMap)
Public methodStatic memberIs<T>
Public methodStatic memberIsAbstract(IType)
Public methodStatic memberIsAbstract(ITypeSignature)
Public methodStatic memberIsAssignableFromRuntimeType
Public methodStatic memberIsAssignableFromRuntimeValue
Determines whether a given type signature can be assigned a given runtime value.
Public methodStatic memberIsAssignableTo(ITypeSignature, ITypeSignature)
Determines whether instances of the current type is assignable to locations of a specified type (i.e. whether the current type derives or implements this type).
Public methodStatic memberIsAssignableTo(ITypeSignature, ITypeSignature, GenericMap)
Determines whether instances of the current type is assignable to locations of a specified type (i.e. whether the current type derives or implements this type) and specifies a GenericMap.
Public methodStatic memberIsAssignableToRuntimeType
Public methodStatic memberIsByRef
Public methodStatic memberIsDelegate
Public methodStatic memberIsEnum
Public methodStatic memberIsInterface(IType)
Public methodStatic memberIsInterface(ITypeSignature)
Public methodStatic memberIsIntrinsic
Public methodStatic memberIsNullable
Determines whether a given type signature can be assigned a null value.
Public methodStatic memberIsPointer(ITypeSignature, Nullable<Boolean>)
Public methodStatic memberIsPointer(ITypeSignature, Nullable<Boolean>, PointerTypeSignature)
Public methodStatic memberIsValueType
Returns true if the type signature is a value type; false if it's a reference type; and throws a NullReferenceException if it's a generic parameter or if for some other reason we don't know if it's value or reference type. Consider using IsValueTypeSafe() == true instead.
Public methodStatic memberToType
See Also