System.Reflection.Metadata Namespace

The System.Reflection.Metadata namespace contains types that represent metadata information about assemblies, modules, members, parameters, and other entities in managed code.

Classes

AssemblyExtensions
BlobBuilder
DebugMetadataHeader
HandleComparer
ILOpCodeExtensions
ImageFormatLimitationException

The exception that is thrown when an attempt to write metadata exceeds a limit given by the format specification. For example, when the heap size limit is exceeded.

MetadataReader
MetadataReaderProvider
MetadataStringDecoder
MethodBodyBlock
PEReaderExtensions

Structs

ArrayShape

Represents the shape of an array type.

AssemblyDefinition
AssemblyDefinitionHandle
AssemblyFile
AssemblyFileHandle
AssemblyFileHandleCollection
AssemblyFileHandleCollection.Enumerator
AssemblyReference
AssemblyReferenceHandle
AssemblyReferenceHandleCollection
AssemblyReferenceHandleCollection.Enumerator
Blob
BlobBuilder.Blobs
BlobContentId
BlobHandle
BlobReader
BlobWriter
Constant
ConstantHandle
CustomAttribute
CustomAttributeHandle
CustomAttributeHandleCollection
CustomAttributeHandleCollection.Enumerator
CustomAttributeNamedArgument<TType>

Represents a named argument decoded from a custom attribute signature.

CustomAttributeTypedArgument<TType>

Represents a typed argument for a custom metadata attribute.

CustomAttributeValue<TType>

Represents a custom attribute of the type specified by TType.

CustomDebugInformation
CustomDebugInformationHandle
CustomDebugInformationHandleCollection
CustomDebugInformationHandleCollection.Enumerator
DeclarativeSecurityAttribute
DeclarativeSecurityAttributeHandle
DeclarativeSecurityAttributeHandleCollection
DeclarativeSecurityAttributeHandleCollection.Enumerator
Document
DocumentHandle
DocumentHandleCollection
DocumentHandleCollection.Enumerator
DocumentNameBlobHandle
EntityHandle
EventAccessors
EventDefinition
EventDefinitionHandle
EventDefinitionHandleCollection
EventDefinitionHandleCollection.Enumerator
ExceptionRegion
ExportedType
ExportedTypeHandle
ExportedTypeHandleCollection
ExportedTypeHandleCollection.Enumerator
FieldDefinition
FieldDefinitionHandle
FieldDefinitionHandleCollection
FieldDefinitionHandleCollection.Enumerator
GenericParameter
GenericParameterConstraint
GenericParameterConstraintHandle
GenericParameterConstraintHandleCollection
GenericParameterConstraintHandleCollection.Enumerator
GenericParameterHandle
GenericParameterHandleCollection
GenericParameterHandleCollection.Enumerator
GuidHandle
Handle
ImportDefinition
ImportDefinitionCollection
ImportDefinitionCollection.Enumerator
ImportScope
ImportScopeCollection
ImportScopeCollection.Enumerator
ImportScopeHandle
InterfaceImplementation
InterfaceImplementationHandle
InterfaceImplementationHandleCollection
InterfaceImplementationHandleCollection.Enumerator
LocalConstant
LocalConstantHandle
LocalConstantHandleCollection
LocalConstantHandleCollection.Enumerator
LocalScope
LocalScopeHandle
LocalScopeHandleCollection
LocalScopeHandleCollection.ChildrenEnumerator
LocalScopeHandleCollection.Enumerator
LocalVariable
LocalVariableHandle
LocalVariableHandleCollection
LocalVariableHandleCollection.Enumerator
ManifestResource
ManifestResourceHandle
ManifestResourceHandleCollection
ManifestResourceHandleCollection.Enumerator
MemberReference
MemberReferenceHandle
MemberReferenceHandleCollection
MemberReferenceHandleCollection.Enumerator
MetadataStringComparer
MethodDebugInformation
MethodDebugInformationHandle
MethodDebugInformationHandleCollection
MethodDebugInformationHandleCollection.Enumerator
MethodDefinition
MethodDefinitionHandle
MethodDefinitionHandleCollection
MethodDefinitionHandleCollection.Enumerator
MethodImplementation
MethodImplementationHandle
MethodImplementationHandleCollection
MethodImplementationHandleCollection.Enumerator
MethodImport
MethodSignature<TType>

Represents a method (definition, reference, or standalone) or property signature. In the case of properties, the signature matches that of a getter with a distinguishing SignatureHeader.

MethodSpecification
MethodSpecificationHandle
ModuleDefinition
ModuleDefinitionHandle
ModuleReference
ModuleReferenceHandle
NamespaceDefinition
NamespaceDefinitionHandle
Parameter
ParameterHandle
ParameterHandleCollection
ParameterHandleCollection.Enumerator
PropertyAccessors
PropertyDefinition
PropertyDefinitionHandle
PropertyDefinitionHandleCollection
PropertyDefinitionHandleCollection.Enumerator
ReservedBlob<THandle>
SequencePoint
SequencePointCollection
SequencePointCollection.Enumerator
SignatureHeader

Represents the signature characteristics specified by the leading byte of signature blobs.

StandaloneSignature
StandaloneSignatureHandle
StringHandle
TypeDefinition
TypeDefinitionHandle
TypeDefinitionHandleCollection
TypeDefinitionHandleCollection.Enumerator
TypeLayout
TypeReference
TypeReferenceHandle
TypeReferenceHandleCollection
TypeReferenceHandleCollection.Enumerator
TypeSpecification
TypeSpecificationHandle
UserStringHandle

Interfaces

IConstructedTypeProvider<TType>
ICustomAttributeTypeProvider<TType>
IPrimitiveTypeProvider<TType>
ISignatureTypeProvider<TType>
ISignatureTypeProvider<TType,TGenericContext>
ISimpleTypeProvider<TType>
ISZArrayTypeProvider<TType>
ITypeProvider<TType>

Enums

ConstantTypeCode

Specifies values that represent types of metadata constants.

CustomAttributeNamedArgumentKind

Specifies constants that define the kinds of arguments in a custom attribute signature.

ExceptionRegionKind
HandleKind
ILOpCode
ImportDefinitionKind
LocalVariableAttributes
MemberReferenceKind

Specifies constants that indicate whether a MemberReference references a method or field.

MetadataKind
MetadataReaderOptions
MetadataStreamOptions
PrimitiveSerializationTypeCode

Specifies constants that define the type codes used to encode types of primitive values in a CustomAttribute value blob.

PrimitiveTypeCode

Specifies constants that define primitive types found in metadata signatures.

SerializationTypeCode

Specifies type codes used to encode the types of values in a CustomAttributeValue<TType> blob.

SignatureAttributes

Specifies additional flags that can be applied to method signatures. The underlying values of the fields in this type correspond to the representation in the leading signature byte represented by a SignatureHeader structure.

SignatureCallingConvention

Specifies how arguments in a given signature are passed from the caller to the callee. The underlying values of the fields in this type correspond to the representation in the leading signature byte represented by a SignatureHeader structure.

SignatureKind

Specifies the signature kind. The underlying values of the fields in this type correspond to the representation in the leading signature byte represented by a SignatureHeader structure.

SignatureTypeCode

Specifies constants that define type codes used in signature encoding.

SignatureTypeKind

Indicates the type definition of the signature.

StandaloneSignatureKind

Indicates whether a StandaloneSignature represents a standalone method or local variable signature.