System.Reflection.Metadata Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides low-level functionality for reading assembly metadata according to ECMA-335. This namespace is designed to be used by compilers and other tools that need to read assembly metadata.
Classes
AssemblyExtensions | |
AssemblyNameInfo |
Describes an assembly. |
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 |
Reads metadata as defined by the ECMA 335 CLI specification. |
MetadataReaderProvider |
Provides a MetadataReader for metadata stored in an array of bytes, a memory block, or a stream. |
MetadataStringDecoder |
Provides the MetadataReader with a custom mechanism for decoding byte sequences in metadata that represent text. |
MetadataUpdateHandlerAttribute |
Indicates that a type that should receive notifications of metadata updates. |
MetadataUpdater | |
MethodBodyBlock |
Represents the method body in ECMA 335 assembly. |
PEReaderExtensions | |
TypeName | |
TypeNameParseOptions |
Structs
Interfaces
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. |
Remarks
This namespace contains the following core classes:
- The MetadataReader class, which is used to read an assembly.
See also
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir