Bewerken

Share via


System.Reflection.Metadata.Ecma335 Namespace

Provides low-level functionality for writing assembly metadata according to ECMA-335.

Classes

CodedIndex
ControlFlowBuilder

Emits branches and exception blocks in a method body.

ExportedTypeExtensions

Provides an extension method to access the TypeDefinitionId column of the ExportedType table.

MetadataAggregator
MetadataBuilder

The MetadataBuilder class writes metadata for an assembly in a highly performant manner. It is designed for use by compilers and other assembly generation tools.

MetadataReaderExtensions

Provides extension methods for working with certain raw elements of the ECMA-335 metadata tables and heaps.

MetadataRootBuilder

Builder of a Metadata Root to be embedded in a Portable Executable image.

MetadataSizes

Provides information on sizes of various metadata structures.

MetadataTokens
PortablePdbBuilder

Represents the builder of a Portable PDB image.

Structs

ArrayShapeEncoder
BlobEncoder
CustomAttributeArrayTypeEncoder
CustomAttributeElementTypeEncoder
CustomAttributeNamedArgumentsEncoder
CustomModifiersEncoder
EditAndContinueLogEntry
ExceptionRegionEncoder
FieldTypeEncoder

Provides encoder for field signature blob, with additional support for encoding ref fields, custom modifiers and typed references.

FixedArgumentsEncoder
GenericTypeArgumentsEncoder
InstructionEncoder

Encodes Common Intermediate Language (CIL) instructions.

LabelHandle
LiteralEncoder

Provides methods for encoding literals.

LiteralsEncoder
LocalVariablesEncoder
LocalVariableTypeEncoder
MethodBodyStreamEncoder

Provides an encoder for a method body stream.

MethodBodyStreamEncoder.MethodBody

Describes a method body. This class is meant to used along with the MethodBodyStreamEncoder class.

MethodSignatureEncoder

Provides an encoder for method signatures.

NamedArgumentsEncoder
NamedArgumentTypeEncoder
NameEncoder
ParametersEncoder
ParameterTypeEncoder
PermissionSetEncoder
ReturnTypeEncoder
ScalarEncoder
SignatureDecoder<TType>
SignatureDecoder<TType,TGenericContext>

Decodes signature blobs.

SignatureTypeEncoder

Encodes a type in a signature.

SwitchInstructionEncoder

Encodes the branches of an IL switch instruction.

VectorEncoder

Enums

EditAndContinueOperation
FunctionPointerAttributes
HeapIndex
MethodBodyAttributes

Defines method body attributes.

TableIndex

Remarks

This namespace contains the following core classes:

See also