Table of Contents

Namespace AsmResolver.DotNet.Signatures

Classes

ArrayBaseTypeSignature

Represents a type signature representing an array.

ArrayTypeSignature

Represents a single (complex) array type signature, which encodes a variable amount of array dimensions, as well as their sizes and lower bounds.

BlobSignature

Represents a signature stored in the #Blob stream of a managed executable file.

BoxedArgument

Represents a boxed object in a custom attribute signature.

BoxedTypeSignature

Represents a type modifier indicating a boxing of a value type.

ByReferenceTypeSignature

Represents a type signature that describes a type that is passed on by reference.

CallingConventionSignature

Provides a base for all signature that deal with a calling convention. This includes most member signatures, such as method and field signatures.

ComInterfaceMarshalDescriptor

Represents a description of a marshaller that marshals a value to a COM interface object.

CorLibTypeFactory

Provides a mechanism for obtaining commonly used element type signatures in various blob signatures, defined in the common object runtime library, such as mscorlib (for .NET framework) or System.Private.CorLib (for .NET Core).

CorLibTypeSignature

Represents a blob type signature referencing an element type defined in a common object runtime library such as mscorlib (.NET framework) or System.Private.CorLib (.NET Core).

CustomAttributeArgument

Represents an argument value in a custom attribute construction.

CustomAttributeNamedArgument

Represents an argument value in a custom attribute construction that is assigned to a field or property in the attribute class.

CustomAttributeSignature

Represents the blob signature of a custom attribute, containing the arguments that are passed onto the attribute constructor.

CustomMarshalDescriptor

Represents a description for a marshaller that marshals a value using a custom marshaller type.

CustomModifierTypeSignature

Represents a type signature that is annotated with a required or optional custom modifier type.

DataBlobSignature

Represents a blob signature storing raw data.

ExtendableBlobSignature

Represents a blob signature that might contain extra data not part of the standard format of the signature.

FieldSignature

Represents a signature of a field defined in a .NET executable file.

FixedArrayMarshalDescriptor

Represents a description for a marshaller that marshals a value as a fixed-length array.

FixedSysStringMarshalDescriptor

Represents a description of a marshaller that marshals a given value to a fixed-length string using the system defined string encoding.

FunctionPointerTypeSignature

Represents the type of an object referencing a function or method pointer.

GenericInstanceMethodSignature

Represents an instantiation of a generic method.

GenericInstanceTypeSignature

Represents an instantiation of a generic type.

GenericParameterSignature

Represents a type signature that references a type argument from a generic type or method.

GenericTypeActivator

Provides a mechanism for substituting generic type parameters in a type signature with arguments.

InvalidBlobSignatureException

Describes the exception that occurs upon encountering an invalid or incomplete blob signature.

LPArrayMarshalDescriptor

Represents the marshal descriptor for a pointer to the first element of a C-style array.

LocalVariablesSignature

Represents a blob signature containing a list of variable types for a CIL method body.

MarshalDescriptor

When derived from this class, provides a description on how a specific type needs to be marshaled upon calling to or from unmanaged code via P/Invoke dispatch.

MemberSignature

Provides a base for all member signatures.

MethodSignature

Represents the signature of a method defined or referenced by a .NET executable file.

MethodSignatureBase

Provides a base for method and property signatures.

PermissionSetSignature

Represents a blob signature containing a set of security attributes.

PhysicalTypeSignatureResolver

Provides an implementation for the ITypeSignatureResolver that resolves metadata tokens from the underlying module's tables stream.

PinnedTypeSignature

Represents a type modifier indicating the value is pinned into memory, and the garbage collector cannot change the location of a value at runtime.

PointerTypeSignature

Represents a type signature that describes an unmanaged pointer that addresses a chunk of data in memory.

PropertySignature

Represents the signature that is assigned to a property. This includes the type of the property, as well as the types of the parameters that it defines.

SafeArrayMarshalDescriptor

Represents a description for marshalling a safe array, which is a self-describing array that carries the type, rank, and bounds of the associated array data.

SecurityAttribute

Represents a single instance of a security attribute.

SentinelTypeSignature

Represents a sentinel type signature to be used in a method signature, indicating the start of any vararg argument types.

SerializedCustomAttributeSignature

Provides a lazy initialized implementation of the CustomAttributeSignature class.

SignatureComparer

Provides a mechanism for comparing signatures of members defined in a .NET assembly by their contents.

SimpleMarshalDescriptor

Represents a marshal descriptor that requires no further parameters.

SzArrayTypeSignature

Represents a type signature describing a single dimension array with 0 as a lower bound.

TypeDefOrRefSignature

Represents a type signature that references a type in the metadata tables of a .NET module.

TypeSignature

Provides a base for blob signatures that reference a type.

TypeSpecificationSignature

Provides a base for type signatures that are based on another type signature.

Structs

ArrayDimension

Represents a single dimension in an array specification.

BlobReaderContext

Provides a context in which a metadata blob parser exists in. This includes the original module reader context as well as a mechanism to protect against infinite recursion.

BlobSerializationContext

Describes a context in which a blob signature is to be serialized in.

GenericContext

Provides a context within a generic instantiation, including the type arguments of the enclosing type and method.

Interfaces

IGenericArgumentsProvider

Provides members for describing an instantiation of a type or method.

ITypeCodedIndexProvider

Provides members for obtaining coded indices into a metadata tables stream.

ITypeSignatureResolver

Provides members for resolving raw metadata tokens and addresses to types.

ITypeSignatureVisitor<TResult>

Provides members for visiting type signatures.

ITypeSignatureVisitor<TState, TResult>

Provides members for visiting type signatures.

Enums

CallingConventionAttributes

Provides members for describing all available attributes that can be used in a calling convention signature.

CustomAttributeArgumentMemberType

Provides fields for describing all possible members that can be referenced by name in a custom attribute.

GenericParameterType

Provides members indicating whether a reference to a generic parameter is declared in a type or a method.

LPArrayFlags

Provides flags that can be assigned to an instance of a LPArrayMarshalDescriptor.

NativeType

Provides members describing native types used for marshalling managed types to unmanaged types and vice versa.

SafeArrayTypeFlags

Provides members defining all valid flags for an element type in a safe array marshal descriptor.

SafeArrayVariantType

Provides members defining all valid element types for a safe array.

SignatureComparisonFlags

Flags for controlling the behavior of SignatureComparer.