4 <name>System.Reflection.Metadata</name>
7 <member name="T:System.Reflection.Internal.AbstractMemoryBlock">
9 Represents a disposable blob of memory accessed via unsafe pointer.
12 <member name="P:System.Reflection.Internal.AbstractMemoryBlock.Pointer">
14 Pointer to the underlying data (not valid after disposal).
17 <member name="P:System.Reflection.Internal.AbstractMemoryBlock.Size">
22 <member name="M:System.Reflection.Internal.AbstractMemoryBlock.GetContentUnchecked(System.Int32,System.Int32)">
24 Returns the content of the entire memory block.
27 Does not check bounds.
29 Only creates a copy of the data if they are not represented by a managed byte array,
30 or if the specified range doens't span the entire block.
33 <member name="M:System.Reflection.Internal.AbstractMemoryBlock.Dispose">
38 The operation is idempotent, but must not be called concurrently with any other operations on the block
39 or with another call to Dispose.
41 Using the block after dispose is an error in our code and therefore no effort is made to throw a tidy
42 ObjectDisposedException and null ref or AV is possible.
45 <member name="T:System.Reflection.Internal.ByteArrayMemoryBlock">
47 Represents a memory block backed by an array of bytes.
50 <member name="T:System.Reflection.Internal.ExternalMemoryBlock">
52 Class representing raw memory but not owning the memory.
55 <member name="T:System.Reflection.Internal.ExternalMemoryBlockProvider">
57 Represents raw memory owned by an external object.
60 <member name="M:System.Reflection.Internal.MemoryBlockProvider.GetMemoryBlock">
62 Creates and hydrates a memory block representing all data.
64 <exception cref="T:System.IO.IOException">Error while reading from the memory source.</exception>
66 <member name="M:System.Reflection.Internal.MemoryBlockProvider.GetMemoryBlock(System.Int32,System.Int32)">
68 Creates and hydrates a memory block representing data in the specified range.
70 <param name="start">Starting offset relative to the beginning of the data represented by this provider.</param>
71 <param name="size">Size of the resulting block.</param>
72 <exception cref="T:System.IO.IOException">Error while reading from the memory source.</exception>
74 <member name="M:System.Reflection.Internal.MemoryBlockProvider.GetMemoryBlockImpl(System.Int32,System.Int32)">
75 <exception cref="T:System.IO.IOException">IO error while reading from the underlying stream.</exception>
77 <member name="M:System.Reflection.Internal.MemoryBlockProvider.GetStream(System.Reflection.Internal.StreamConstraints@)">
79 Gets a seekable and readable <see cref="T:System.IO.Stream"/> that can be used to read all data.
80 The operations on the stream has to be done under a lock of <see cref="F:System.Reflection.Internal.StreamConstraints.GuardOpt"/> if non-null.
81 The image starts at <see cref="F:System.Reflection.Internal.StreamConstraints.ImageStart"/> and has size <see cref="F:System.Reflection.Internal.StreamConstraints.ImageSize"/>.
82 It is the caller's responsibility not to read outside those bounds.
85 <member name="P:System.Reflection.Internal.MemoryBlockProvider.Size">
90 <member name="T:System.Reflection.Internal.NativeHeapMemoryBlock">
92 Represents memory block allocated on native heap.
95 Owns the native memory resource.
98 <member name="T:System.Reflection.Internal.StreamMemoryBlockProvider">
100 Represents data read from a stream.
103 Uses memory map to load data from streams backed by files that are bigger than <see cref="F:System.Reflection.Internal.StreamMemoryBlockProvider.MemoryMapThreshold"/>.
106 <member name="M:System.Reflection.Internal.StreamMemoryBlockProvider.ReadMemoryBlockNoLock(System.IO.Stream,System.Boolean,System.Int64,System.Int32)">
107 <exception cref="T:System.IO.IOException">Error reading from the stream.</exception>
109 <member name="M:System.Reflection.Internal.StreamMemoryBlockProvider.GetMemoryBlockImpl(System.Int32,System.Int32)">
110 <exception cref="T:System.IO.IOException">Error while reading from the stream.</exception>
112 <member name="M:System.Reflection.Internal.StreamMemoryBlockProvider.TryCreateMemoryMappedFileBlock(System.Int64,System.Int32,System.Reflection.Internal.MemoryMappedFileBlock@)">
113 <exception cref="T:System.IO.IOException">IO error while mapping memory or not enough memory to create the mapping.</exception>
115 <member name="T:System.Reflection.Internal.EncodingHelper">
117 Provides helpers to decode strings from unmanaged memory to System.String while avoiding
118 intermediate allocation.
120 This has three components:
122 (1) Light-up Encoding.GetString(byte*, int) via reflection and resurface it as extension
125 This is a new API that will provide API convergence across all platforms for
126 this scenario. It is already on .NET 4.6+ and ASP.NET vNext, but not yet available
127 on every platform we support. See below for how we fall back.
129 (2) Deal with WinRT prefixes.
131 When reading managed winmds with projections enabled, the metadata reader needs to prepend
132 a WinRT prefix in some case . Doing this without allocation poses a problem
133 as we don't have the prefix and input in contiguous data that we can pass to the
134 Encoding.GetString. We handle this case using pooled managed scratch buffers where we copy
135 the prefix and input and decode using Encoding.GetString(byte[], int, int).
137 (3) Deal with platforms that don't yet have Encoding.GetString(byte*, int).
139 If we're running on a full framework earlier than 4.6, we will bind to the internal
140 String.CreateStringFromEncoding which is equivalent and Encoding.GetString is just a trivial
141 wrapper around it in .NET 4.6. This means that we always have the fast path on every
142 full framework version we support.
144 If we can't bind to it via reflection, then we emulate it using what is effectively (2) and
145 with an empty prefix.
147 For both (2) and (3), the pooled buffers have a fixed size deemed large enough for the
148 vast majority of metadata strings. In the rare worst case (byteCount > threshold and
149 (lightUpAttemptFailed || prefix != null), we give up and allocate a temporary array,
150 copy to it, decode, and throw it away.
153 <member name="F:System.Reflection.Internal.Hash.FnvOffsetBias">
155 The offset bias value used in the FNV-1a algorithm
156 See http://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function
159 <member name="F:System.Reflection.Internal.Hash.FnvPrime">
161 The generative factor used in the FNV-1a algorithm
162 See http://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function
165 <member name="M:System.Reflection.Internal.Hash.GetFNVHashCode(System.Byte[])">
167 Compute the FNV-1a hash of a sequence of bytes
168 See http://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function
170 <param name="data">The sequence of bytes</param>
171 <returns>The FNV-1a hash of <paramref name="data"/></returns>
173 <member name="M:System.Reflection.Internal.Hash.GetFNVHashCode(System.Collections.Immutable.ImmutableArray{System.Byte})">
175 Compute the FNV-1a hash of a sequence of bytes
176 See http://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function
178 <param name="data">The sequence of bytes</param>
179 <returns>The FNV-1a hash of <paramref name="data"/></returns>
181 <member name="T:System.Reflection.Internal.ImmutableByteArrayInterop">
183 Provides tools for using <see cref="T:System.Collections.Immutable.ImmutableArray`1"/> in interop scenarios.
188 If you decide to copy this code elsewhere, please retain the documentation here
189 and the Dangerous prefixes in the API names. This will help track down and audit
190 other places where this technique (with dangerous consequences when misused) may
193 A generic version of this API was once public in a pre-release of immutable
194 collections, but it was deemed to be too subject to abuse when available publicly.
196 This implementation is scoped to byte arrays as that is all that the metadata reader needs.
198 Also, since we don't have access to immutable collection internals, we use a trick involving
199 overlapping a <see cref="T:System.Collections.Immutable.ImmutableArray`1"/> with a <see cref="T:Byte[]"/> refer. While
200 unverifiable, it is valid. See ECMA-335, section II.10.7 Controlling instance layout:
202 "It is possible to overlap fields in this way, though offsets occupied by an object reference
203 shall not overlap with offsets occupied by a built-in value type or a part of
204 another object reference. While one object reference can completely overlap another, this is
207 Furthermore, the fact that <see cref="T:System.Collections.Immutable.ImmutableArray`1"/> backed by a single <see cref="T:Byte[]"/>
208 field is something inherent to the design of ImmutableArray in order to get its performance
209 characteristics and therefore something we (Microsoft) are comfortable defining as a contract that
210 can be depended upon as below.
213 <member name="M:System.Reflection.Internal.ImmutableByteArrayInterop.DangerousCreateFromUnderlyingArray(System.Byte[]@)">
215 Creates a new instance of <see cref="T:System.Collections.Immutable.ImmutableArray`1"/> using a given mutable array as the backing
216 field, without creating a defensive copy. It is the responsibility of the caller to ensure no other mutable
217 references exist to the array. Do not mutate the array after calling this method.
219 <param name="array">The mutable array to use as the backing field. The incoming reference is set to null
220 since it should not be retained by the caller.</param>
222 Users of this method should take extra care to ensure that the mutable array given as a parameter
223 is never modified. The returned <see cref="T:System.Collections.Immutable.ImmutableArray`1"/> will use the given array as its backing
224 field without creating a defensive copy, so changes made to the given mutable array will be observable
225 on the returned <see cref="T:System.Collections.Immutable.ImmutableArray`1"/>. Instance and static methods of <see cref="T:System.Collections.Immutable.ImmutableArray`1"/>
226 and <see cref="T:System.Collections.Immutable.ImmutableArray"/> may malfunction if they operate on an <see cref="T:System.Collections.Immutable.ImmutableArray`1"/> instance
227 whose underlying backing field is modified.
229 <returns>An immutable array.</returns>
231 <member name="M:System.Reflection.Internal.ImmutableByteArrayInterop.DangerousGetUnderlyingArray(System.Collections.Immutable.ImmutableArray{System.Byte})">
233 Access the backing mutable array instance for the given <see cref="T:System.Collections.Immutable.ImmutableArray`1"/>, without
234 creating a defensive copy. It is the responsibility of the caller to ensure the array is not modified
235 through the returned mutable reference. Do not mutate the returned array.
237 <param name="array">The <see cref="T:System.Collections.Immutable.ImmutableArray`1"/> from which to retrieve the backing field.</param>
239 Users of this method should take extra care to ensure that the returned mutable array is never modified.
240 The returned mutable array continues to be used as the backing field of the given <see cref="T:System.Collections.Immutable.ImmutableArray`1"/>
241 without creating a defensive copy, so changes made to the returned mutable array will be observable
242 on the given <see cref="T:System.Collections.Immutable.ImmutableArray`1"/>. Instance and static methods of <see cref="T:System.Collections.Immutable.ImmutableArray`1"/>
243 and <see cref="T:System.Collections.Immutable.ImmutableArray"/> may malfunction if they operate on an <see cref="T:System.Collections.Immutable.ImmutableArray`1"/> instance
244 whose underlying backing field is modified.
246 <returns>The underlying array, or null if <see cref="P:System.Collections.Immutable.ImmutableArray`1.IsDefault"/> is true.</returns>
248 <member name="M:System.Reflection.Internal.MemoryBlock.PeekCompressedInteger(System.Int32,System.Int32@)">
250 Decodes a compressed integer value starting at offset.
251 See Metadata Specification section II.23.2: Blobs and signatures.
253 <param name="offset">Offset to the start of the compressed data.</param>
254 <param name="numberOfBytesRead">Bytes actually read.</param>
256 Value between 0 and 0x1fffffff, or <see cref="F:System.Reflection.Metadata.BlobReader.InvalidCompressedInteger"/> if the value encoding is invalid.
259 <member name="M:System.Reflection.Internal.MemoryBlock.PeekUtf8NullTerminated(System.Int32,System.Byte[],System.Reflection.Metadata.MetadataStringDecoder,System.Int32@,System.Char)">
261 Read UTF8 at the given offset up to the given terminator, null terminator, or end-of-block.
263 <param name="offset">Offset in to the block where the UTF8 bytes start.</param>
264 <param name="prefix">UTF8 encoded prefix to prepend to the bytes at the offset before decoding.</param>
265 <param name="utf8Decoder">The UTF8 decoder to use that allows user to adjust fallback and/or reuse existing strings without allocating a new one.</param>
266 <param name="numberOfBytesRead">The number of bytes read, which includes the terminator if we did not hit the end of the block.</param>
267 <param name="terminator">A character in the ASCII range that marks the end of the string.
268 If a value other than '\0' is passed we still stop at the null terminator if encountered first.</param>
269 <returns>The decoded string.</returns>
271 <member name="M:System.Reflection.Internal.MemoryBlock.GetUtf8NullTerminatedLength(System.Int32,System.Int32@,System.Char)">
273 Get number of bytes from offset to given terminator, null terminator, or end-of-block (whichever comes first).
274 Returned length does not include the terminator, but numberOfBytesRead out parameter does.
276 <param name="offset">Offset in to the block where the UTF8 bytes start.</param>
277 <param name="terminator">A character in the ASCII range that marks the end of the string.
278 If a value other than '\0' is passed we still stop at the null terminator if encountered first.</param>
279 <param name="numberOfBytesRead">The number of bytes read, which includes the terminator if we did not hit the end of the block.</param>
280 <returns>Length (byte count) not including terminator.</returns>
282 <member name="M:System.Reflection.Internal.MemoryBlock.BinarySearchForSlot(System.Int32,System.Int32,System.Int32,System.UInt32,System.Boolean)">
284 In a table that specifies children via a list field (e.g. TypeDef.FieldList, TypeDef.MethodList),
285 searches for the parent given a reference to a child.
287 <returns>Returns row number [0..RowCount).</returns>
289 <member name="M:System.Reflection.Internal.MemoryBlock.BinarySearchReference(System.Int32,System.Int32,System.Int32,System.UInt32,System.Boolean)">
291 In a table ordered by a column containing entity references searches for a row with the specified reference.
293 <returns>Returns row number [0..RowCount) or -1 if not found.</returns>
295 <member name="M:System.Reflection.Internal.MemoryBlock.BinarySearchReferenceRange(System.Int32,System.Int32,System.Int32,System.UInt32,System.Boolean,System.Int32@,System.Int32@)">
297 Calculates a range of rows that have specified value in the specified column in a table that is sorted by that column.
300 <member name="M:System.Reflection.Internal.MemoryBlock.BinarySearchReferenceRange(System.Int32[],System.Int32,System.Int32,System.UInt32,System.Boolean,System.Int32@,System.Int32@)">
302 Calculates a range of rows that have specified value in the specified column in a table that is sorted by that column.
305 <member name="T:System.Reflection.Internal.PooledStringBuilder">
308 var inst = PooledStringBuilder.GetInstance();
309 var sb = inst.builder;
311 ... sb.ToString() ...
315 <member name="T:System.Reflection.Internal.ObjectPool`1">
317 Generic implementation of object pooling pattern with predefined pool size limit. The main
318 purpose is that limited number of frequently used objects can be kept in the pool for
322 1) it is not the goal to keep all returned objects. Pool is not meant for storage. If there
323 is no space in the pool, extra returned objects will be dropped.
325 2) it is implied that if object was obtained from a pool, the caller will return it back in
326 a relatively short time. Keeping checked out objects for long durations is ok, but
327 reduces usefulness of pooling. Just new up your own.
329 Not returning objects to the pool in not detrimental to the pool's work, but is a bad practice.
331 If there is no intent for reusing the object, do not use pool - just use "new".
334 <member name="M:System.Reflection.Internal.ObjectPool`1.Allocate">
336 Produces an instance.
339 Search strategy is a simple linear probing which is chosen for it cache-friendliness.
340 Note that Free will try to store recycled objects close to the start thus statistically
341 reducing how far we will typically search.
344 <member name="M:System.Reflection.Internal.ObjectPool`1.Free(`0)">
346 Returns objects to the pool.
349 Search strategy is a simple linear probing which is chosen for it cache-friendliness.
350 Note that Free will try to store recycled objects close to the start thus statistically
351 reducing how far we will typically search in Allocate.
354 <member name="M:System.Reflection.Internal.StreamExtensions.CopyTo(System.IO.Stream,System.Byte*,System.Int32)">
356 Copies specified amount of data from given stream to a target memory pointer.
358 <exception cref="T:System.IO.IOException">unexpected stream end.</exception>
360 <member name="M:System.Reflection.Internal.StreamExtensions.TryReadAll(System.IO.Stream,System.Byte[],System.Int32,System.Int32)">
362 Attempts to read all of the requested bytes from the stream into the buffer
365 The number of bytes read. Less than <paramref name="count" /> will
366 only be returned if the end of stream is reached before all bytes can be read.
369 Unlike <see cref="M:System.IO.Stream.Read(System.Byte[],System.Int32,System.Int32)"/> it is not guaranteed that
370 the stream position or the output buffer will be unchanged if an exception is
374 <member name="M:System.Reflection.Internal.StreamExtensions.GetAndValidateSize(System.IO.Stream,System.Int32,System.String)">
376 Resolve image size as either the given user-specified size or distance from current position to end-of-stream.
377 Also performs the relevant argument validation and publicly visible caller has same argument names.
379 <exception cref="T:System.ArgumentException">size is 0 and distance from current position to end-of-stream can't fit in Int32.</exception>
380 <exception cref="T:System.ArgumentOutOfRangeException">Size is negative or extends past the end-of-stream from current position.</exception>
382 <member name="M:System.Reflection.Metadata.PathUtilities.IndexOfFileName(System.String)">
384 Returns the position in given path where the file name starts.
386 <returns>-1 if path is null.</returns>
388 <member name="M:System.Reflection.Metadata.PathUtilities.GetFileName(System.String,System.Boolean)">
390 Get file name from path.
392 <remarks>Unlike <see cref="M:System.IO.Path.GetFileName(System.String)"/> doesn't check for invalid path characters.</remarks>
394 <member name="T:System.Reflection.Metadata.Ecma335.MethodBodyStreamEncoder">
396 Encodes method body stream.
399 <member name="M:System.Reflection.Metadata.Ecma335.MethodBodyStreamEncoder.AddMethodBody(System.Int32,System.Int32,System.Int32,System.Boolean,System.Reflection.Metadata.StandaloneSignatureHandle,System.Reflection.Metadata.Ecma335.MethodBodyAttributes)">
401 Encodes a method body and adds it to the method body stream.
403 <param name="codeSize">Number of bytes to be reserved for instructions.</param>
404 <param name="maxStack">Max stack.</param>
405 <param name="exceptionRegionCount">Number of exception regions.</param>
406 <param name="hasSmallExceptionRegions">True if the exception regions should be encoded in 'small' format.</param>
407 <param name="localVariablesSignature">Local variables signature handle.</param>
408 <param name="attributes">Attributes.</param>
409 <returns>The offset of the encoded body within the method body stream.</returns>
410 <exception cref="T:System.ArgumentOutOfRangeException">
411 <paramref name="codeSize"/>, <paramref name="exceptionRegionCount"/>, or <paramref name="maxStack"/> is out of allowed range.
414 <member name="P:System.Reflection.Metadata.Ecma335.MethodBodyStreamEncoder.MethodBody.Offset">
416 Offset of the encoded method body in method body stream.
419 <member name="P:System.Reflection.Metadata.Ecma335.MethodBodyStreamEncoder.MethodBody.Instructions">
421 Blob reserved for instructions.
424 <member name="P:System.Reflection.Metadata.Ecma335.MethodBodyStreamEncoder.MethodBody.ExceptionRegions">
426 Use to encode exception regions to the method body.
429 <member name="M:System.Reflection.Metadata.Ecma335.MethodBodyStreamEncoder.AddMethodBody(System.Reflection.Metadata.Ecma335.InstructionEncoder,System.Int32,System.Reflection.Metadata.StandaloneSignatureHandle,System.Reflection.Metadata.Ecma335.MethodBodyAttributes)">
431 Encodes a method body and adds it to the method body stream.
433 <param name="instructionEncoder">Instruction encoder.</param>
434 <param name="maxStack">Max stack.</param>
435 <param name="localVariablesSignature">Local variables signature handle.</param>
436 <param name="attributes">Attributes.</param>
437 <returns>The offset of the encoded body within the method body stream.</returns>
438 <exception cref="T:System.ArgumentNullException"><paramref name="instructionEncoder"/> has default value.</exception>
439 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="maxStack"/> is out of range [0, <see cref="F:System.UInt16.MaxValue"/>].</exception>
440 <exception cref="T:System.InvalidOperationException">
441 A label targeted by a branch in the instruction stream has not been marked,
442 or the distance between a branch instruction and the target label is doesn't fit the size of the instruction operand.
445 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.SetCapacity(System.Reflection.Metadata.Ecma335.TableIndex,System.Int32)">
447 Sets the capacity of the specified table.
449 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="table"/> is not a valid table index.</exception>
450 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="rowCount"/> is negative.</exception>
452 Use to reduce allocations if the approximate number of rows is known ahead of time.
455 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.GetRowCount(System.Reflection.Metadata.Ecma335.TableIndex)">
457 Returns the current number of entires in the specified table.
459 <param name="table">Table index.</param>
460 <returns>The number of entires in the table.</returns>
461 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="table"/> is not a valid table index.</exception>
463 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.GetRowCounts">
465 Returns the current number of entires in each table.
468 An array of size <see cref="F:System.Reflection.Metadata.Ecma335.MetadataTokens.TableCount"/> with each item filled with the current row count of the corresponding table.
471 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddTypeDefinition(System.Reflection.TypeAttributes,System.Reflection.Metadata.StringHandle,System.Reflection.Metadata.StringHandle,System.Reflection.Metadata.EntityHandle,System.Reflection.Metadata.FieldDefinitionHandle,System.Reflection.Metadata.MethodDefinitionHandle)">
473 Adds a type definition.
475 <param name="attributes">Attributes</param>
476 <param name="namespace">Namespace</param>
477 <param name="name">Type name</param>
478 <param name="baseType"><see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/>, <see cref="T:System.Reflection.Metadata.TypeReferenceHandle"/>, <see cref="T:System.Reflection.Metadata.TypeSpecificationHandle"/> or nil.</param>
479 <param name="fieldList">
480 If the type declares fields the handle of the first one, otherwise the handle of the first field declared by the next type definition.
481 If no type defines any fields in the module, <see cref="M:System.Reflection.Metadata.Ecma335.MetadataTokens.FieldDefinitionHandle(System.Int32)"/>(1).
483 <param name="methodList">
484 If the type declares methods the handle of the first one, otherwise the handle of the first method declared by the next type definition.
485 If no type defines any methods in the module, <see cref="M:System.Reflection.Metadata.Ecma335.MetadataTokens.MethodDefinitionHandle(System.Int32)"/>(1).
487 <exception cref="T:System.ArgumentException"><paramref name="baseType"/> doesn't have the expected handle kind.</exception>
489 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddTypeLayout(System.Reflection.Metadata.TypeDefinitionHandle,System.UInt16,System.UInt32)">
491 Defines a type layout of a type definition.
493 <param name="type">Type definition.</param>
494 <param name="packingSize">
495 Specifies that fields should be placed within the type instance at byte addresses which are a multiple of the value,
496 or at natural alignment for that field type, whichever is smaller. Shall be one of the following: 0, 1, 2, 4, 8, 16, 32, 64, or 128.
497 A value of zero indicates that the packing size used should match the default for the current platform.
500 Indicates a minimum size of the type instance, and is intended to allow for padding.
501 The amount of memory allocated is the maximum of the size calculated from the layout and <paramref name="size"/>.
502 Note that if this directive applies to a value type, then the size shall be less than 1 MB.
505 Entires must be added in the same order as the corresponding type definitions.
508 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddInterfaceImplementation(System.Reflection.Metadata.TypeDefinitionHandle,System.Reflection.Metadata.EntityHandle)">
510 Adds an interface implementation to a type.
512 <param name="type">The type implementing the interface.</param>
513 <param name="implementedInterface">
514 The interface being implemented:
515 <see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/>, <see cref="T:System.Reflection.Metadata.TypeReferenceHandle"/> or <see cref="T:System.Reflection.Metadata.TypeSpecificationHandle"/>.
518 Interface implementations must be added in the same order as the corresponding type definitions implementing the interface.
519 If a type implements multiple interfaces the corresponding entries must be added in the order determined by their coded indices (<see cref="M:System.Reflection.Metadata.Ecma335.CodedIndex.TypeDefOrRefOrSpec(System.Reflection.Metadata.EntityHandle)"/>).
521 <exception cref="T:System.ArgumentException"><paramref name="implementedInterface"/> doesn't have the expected handle kind.</exception>
523 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddNestedType(System.Reflection.Metadata.TypeDefinitionHandle,System.Reflection.Metadata.TypeDefinitionHandle)">
525 Defines a nesting relationship to specified type definitions.
527 <param name="type">The nested type definition handle.</param>
528 <param name="enclosingType">The enclosing type definition handle.</param>
530 Entries must be added in the same order as the corresponding nested type definitions.
533 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddTypeReference(System.Reflection.Metadata.EntityHandle,System.Reflection.Metadata.StringHandle,System.Reflection.Metadata.StringHandle)">
535 Add a type reference.
537 <param name="resolutionScope">
538 The entity declaring the target type:
539 <see cref="T:System.Reflection.Metadata.ModuleDefinitionHandle"/>, <see cref="T:System.Reflection.Metadata.ModuleReferenceHandle"/>, <see cref="T:System.Reflection.Metadata.AssemblyReferenceHandle"/>, <see cref="T:System.Reflection.Metadata.TypeReferenceHandle"/>, or nil.
541 <param name="namespace">Namespace.</param>
542 <param name="name">Type name.</param>
543 <exception cref="T:System.ArgumentException"><paramref name="resolutionScope"/> doesn't have the expected handle kind.</exception>
545 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddProperty(System.Reflection.PropertyAttributes,System.Reflection.Metadata.StringHandle,System.Reflection.Metadata.BlobHandle)">
547 Adds a property defintion.
549 <param name="attributes">Attributes</param>
550 <param name="name">Name</param>
551 <param name="signature">Signature of the property.</param>
553 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddEvent(System.Reflection.EventAttributes,System.Reflection.Metadata.StringHandle,System.Reflection.Metadata.EntityHandle)">
555 Adds an event defintion.
557 <param name="attributes">Attributes</param>
558 <param name="name">Name</param>
559 <param name="type">Type of the event: <see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/>, <see cref="T:System.Reflection.Metadata.TypeReferenceHandle"/>, or <see cref="T:System.Reflection.Metadata.TypeSpecificationHandle"/></param>
560 <exception cref="T:System.ArgumentException"><paramref name="type"/> doesn't have the expected handle kind.</exception>
562 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddConstant(System.Reflection.Metadata.EntityHandle,System.Object)">
564 Adds a default value for a parameter, field or property.
566 <param name="parent"><see cref="T:System.Reflection.Metadata.ParameterHandle"/>, <see cref="T:System.Reflection.Metadata.FieldDefinitionHandle"/>, or <see cref="T:System.Reflection.Metadata.PropertyDefinitionHandle"/></param>
567 <param name="value">The constant value.</param>
569 Entries may be added in any order. The table is automatically sorted when serialized.
571 <exception cref="T:System.ArgumentException"><paramref name="parent"/> doesn't have the expected handle kind.</exception>
573 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddMethodSemantics(System.Reflection.Metadata.EntityHandle,System.Reflection.MethodSemanticsAttributes,System.Reflection.Metadata.MethodDefinitionHandle)">
575 Associates a method (a getter, a setter, an adder, etc.) with a property or an event.
577 <param name="association"><see cref="T:System.Reflection.Metadata.EventDefinitionHandle"/> or <see cref="T:System.Reflection.Metadata.PropertyDefinitionHandle"/>.</param>
578 <param name="semantics">Semantics.</param>
579 <param name="methodDefinition">Method definition.</param>
580 <exception cref="T:System.ArgumentException"><paramref name="association"/> doesn't have the expected handle kind.</exception>
582 Entries may be added in any order. The table is automatically sorted when serialized.
585 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddCustomAttribute(System.Reflection.Metadata.EntityHandle,System.Reflection.Metadata.EntityHandle,System.Reflection.Metadata.BlobHandle)">
587 Add a custom attribute.
589 <param name="parent">
590 An entity to attach the custom attribute to:
591 <see cref="T:System.Reflection.Metadata.MethodDefinitionHandle"/>,
592 <see cref="T:System.Reflection.Metadata.FieldDefinitionHandle"/>,
593 <see cref="T:System.Reflection.Metadata.TypeReferenceHandle"/>,
594 <see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/>,
595 <see cref="T:System.Reflection.Metadata.ParameterHandle"/>,
596 <see cref="T:System.Reflection.Metadata.InterfaceImplementationHandle"/>,
597 <see cref="T:System.Reflection.Metadata.MemberReferenceHandle"/>,
598 <see cref="T:System.Reflection.Metadata.ModuleDefinitionHandle"/>,
599 <see cref="T:System.Reflection.Metadata.DeclarativeSecurityAttributeHandle"/>,
600 <see cref="T:System.Reflection.Metadata.PropertyDefinitionHandle"/>,
601 <see cref="T:System.Reflection.Metadata.EventDefinitionHandle"/>,
602 <see cref="T:System.Reflection.Metadata.StandaloneSignatureHandle"/>,
603 <see cref="T:System.Reflection.Metadata.ModuleReferenceHandle"/>,
604 <see cref="T:System.Reflection.Metadata.TypeSpecificationHandle"/>,
605 <see cref="T:System.Reflection.Metadata.AssemblyDefinitionHandle"/>,
606 <see cref="T:System.Reflection.Metadata.AssemblyReferenceHandle"/>,
607 <see cref="T:System.Reflection.Metadata.AssemblyFileHandle"/>,
608 <see cref="T:System.Reflection.Metadata.ExportedTypeHandle"/>,
609 <see cref="T:System.Reflection.Metadata.ManifestResourceHandle"/>,
610 <see cref="T:System.Reflection.Metadata.GenericParameterHandle"/>,
611 <see cref="T:System.Reflection.Metadata.GenericParameterConstraintHandle"/> or
612 <see cref="T:System.Reflection.Metadata.MethodSpecificationHandle"/>.
614 <param name="constructor">
615 Custom attribute constructor: <see cref="T:System.Reflection.Metadata.MethodDefinitionHandle"/> or <see cref="T:System.Reflection.Metadata.MemberReferenceHandle"/>
618 Custom attribute value blob.
621 Entries may be added in any order. The table is automatically sorted when serialized.
623 <exception cref="T:System.ArgumentException"><paramref name="parent"/> doesn't have the expected handle kind.</exception>
625 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddMethodSpecification(System.Reflection.Metadata.EntityHandle,System.Reflection.Metadata.BlobHandle)">
627 Adds a method specification (instantiation).
629 <param name="method">Generic method: <see cref="T:System.Reflection.Metadata.MethodDefinitionHandle"/> or <see cref="T:System.Reflection.Metadata.MemberReferenceHandle"/></param>
630 <param name="instantiation">Instantiation blob encoding the generic arguments of the method.</param>
631 <exception cref="T:System.ArgumentException"><paramref name="method"/> doesn't have the expected handle kind.</exception>
633 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddParameter(System.Reflection.ParameterAttributes,System.Reflection.Metadata.StringHandle,System.Int32)">
635 Adds a parameter definition.
637 <param name="attributes"><see cref="T:System.Reflection.ParameterAttributes"/></param>
638 <param name="name">Parameter name (optional).</param>
639 <param name="sequenceNumber">Sequence number of the parameter. Value of 0 refers to the owner method's return type; its parameters are then numbered from 1 onwards.</param>
640 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="sequenceNumber"/> is greater than <see cref="F:System.UInt16.MaxValue"/>.</exception>
642 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddGenericParameter(System.Reflection.Metadata.EntityHandle,System.Reflection.GenericParameterAttributes,System.Reflection.Metadata.StringHandle,System.Int32)">
644 Adds a generic parameter definition.
646 <param name="parent">Parent entity handle: <see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/> or <see cref="T:System.Reflection.Metadata.MethodDefinitionHandle"/></param>
647 <param name="attributes">Attributes.</param>
648 <param name="name">Parameter name.</param>
649 <param name="index">Zero-based parameter index.</param>
651 Generic parameters must be added in an order determined by the coded index of their parent entity (<see cref="M:System.Reflection.Metadata.Ecma335.CodedIndex.TypeOrMethodDef(System.Reflection.Metadata.EntityHandle)"/>).
652 Generic parameters with the same parent must be ordered by their <paramref name="index"/>.
654 <exception cref="T:System.ArgumentException"><paramref name="parent"/> doesn't have the expected handle kind.</exception>
655 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index"/> is greater than <see cref="F:System.UInt16.MaxValue"/>.</exception>
657 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddGenericParameterConstraint(System.Reflection.Metadata.GenericParameterHandle,System.Reflection.Metadata.EntityHandle)">
659 Adds a type constraint to a generic parameter.
661 <param name="genericParameter">Generic parameter to constrain.</param>
662 <param name="constraint">Type constraint: <see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/>, <see cref="T:System.Reflection.Metadata.TypeReferenceHandle"/> or <see cref="T:System.Reflection.Metadata.TypeSpecificationHandle"/></param>
663 <exception cref="T:System.ArgumentException"><paramref name="genericParameter"/> doesn't have the expected handle kind.</exception>
665 Constraints must be added in the same order as the corresponding generic parameters.
668 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddFieldDefinition(System.Reflection.FieldAttributes,System.Reflection.Metadata.StringHandle,System.Reflection.Metadata.BlobHandle)">
670 Adds a field definition.
672 <param name="attributes">Field attributes.</param>
673 <param name="name">Field name.</param>
674 <param name="signature">Field signature. Use <see cref="M:System.Reflection.Metadata.Ecma335.BlobEncoder.FieldSignature"/> to construct the blob.</param>
676 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddFieldLayout(System.Reflection.Metadata.FieldDefinitionHandle,System.Int32)">
678 Defines a field layout of a field definition.
680 <param name="field">Field definition.</param>
681 <param name="offset">The byte offset of the field within the declaring type instance.</param>
683 Entires must be added in the same order as the corresponding field definitions.
686 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddMarshallingDescriptor(System.Reflection.Metadata.EntityHandle,System.Reflection.Metadata.BlobHandle)">
688 Add marshalling information to a field or a parameter.
690 <param name="parent"><see cref="T:System.Reflection.Metadata.ParameterHandle"/> or <see cref="T:System.Reflection.Metadata.FieldDefinitionHandle"/>.</param>
691 <param name="descriptor">Descriptor blob.</param>
692 <exception cref="T:System.ArgumentException"><paramref name="parent"/> doesn't have the expected handle kind.</exception>
694 Entries may be added in any order. The table is automatically sorted when serialized.
697 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddFieldRelativeVirtualAddress(System.Reflection.Metadata.FieldDefinitionHandle,System.Int32)">
699 Adds a mapping from a field to its initial value stored in the PE image.
701 <param name="field">Field definition handle.</param>
702 <param name="offset">
703 Offset within the block in the PE image that stores initial values of mapped fields (usually in .text section).
704 The final relative virtual address stored in the metadata is calculated when the metadata is serialized
705 by adding the offset to the virtual address of the block start.
708 Entires must be added in the same order as the corresponding field definitions.
710 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="offset"/> is negative.</exception>
712 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddMethodDefinition(System.Reflection.MethodAttributes,System.Reflection.MethodImplAttributes,System.Reflection.Metadata.StringHandle,System.Reflection.Metadata.BlobHandle,System.Int32,System.Reflection.Metadata.ParameterHandle)">
714 Adds a method definition.
716 <param name="attributes"><see cref="T:System.Reflection.MethodAttributes"/></param>
717 <param name="implAttributes"><see cref="T:System.Reflection.MethodImplAttributes"/></param>
718 <param name="name">Method name/</param>
719 <param name="signature">Method signature.</param>
720 <param name="bodyOffset">
721 Offset within the block in the PE image that stores method bodies (IL stream),
722 or -1 if the method doesn't have a body.
724 The final relative virtual address stored in the metadata is calculated when the metadata is serialized
725 by adding the offset to the virtual address of the beginning of the block.
727 <param name="parameterList">
728 If the method declares parameters in Params table the handle of the first one, otherwise the handle of the first parameter declared by the next method definition.
729 If no parameters are declared in the module, <see cref="M:System.Reflection.Metadata.Ecma335.MetadataTokens.ParameterHandle(System.Int32)"/>(1).
731 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="bodyOffset"/> is less than -1.</exception>
733 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddMethodImport(System.Reflection.Metadata.MethodDefinitionHandle,System.Reflection.MethodImportAttributes,System.Reflection.Metadata.StringHandle,System.Reflection.Metadata.ModuleReferenceHandle)">
735 Adds import information to a method definition (P/Invoke).
737 <param name="method">Method definition handle.</param>
738 <param name="attributes">Attributes.</param>
739 <param name="name">Unmanaged method name.</param>
740 <param name="module">Module containing the unmanaged method.</param>
742 Method imports must be added in the same order as the corresponding method definitions.
745 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddMethodImplementation(System.Reflection.Metadata.TypeDefinitionHandle,System.Reflection.Metadata.EntityHandle,System.Reflection.Metadata.EntityHandle)">
747 Defines an implementation for a method declaration within a type.
749 <param name="type">Type</param>
750 <param name="methodBody"><see cref="T:System.Reflection.Metadata.MethodDefinitionHandle"/> or <see cref="T:System.Reflection.Metadata.MemberReferenceHandle"/> which provides the implementation.</param>
751 <param name="methodDeclaration"><see cref="T:System.Reflection.Metadata.MethodDefinitionHandle"/> or <see cref="T:System.Reflection.Metadata.MemberReferenceHandle"/> the method being implemented.</param>
753 Method implementations must be added in the same order as the corresponding type definitions.
755 <exception cref="T:System.ArgumentException"><paramref name="methodBody"/> or <paramref name="methodDeclaration"/> doesn't have the expected handle kind.</exception>
757 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddMemberReference(System.Reflection.Metadata.EntityHandle,System.Reflection.Metadata.StringHandle,System.Reflection.Metadata.BlobHandle)">
759 Adds a MemberRef table row.
761 <param name="parent">Containing entity:
762 <see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/>,
763 <see cref="T:System.Reflection.Metadata.TypeReferenceHandle"/>,
764 <see cref="T:System.Reflection.Metadata.ModuleReferenceHandle"/>,
765 <see cref="T:System.Reflection.Metadata.MethodDefinitionHandle"/>, or
766 <see cref="T:System.Reflection.Metadata.TypeSpecificationHandle"/>.
768 <param name="name">Member name.</param>
769 <param name="signature">Member signature.</param>
770 <exception cref="T:System.ArgumentException"><paramref name="parent"/> doesn't have the expected handle kind.</exception>
772 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddManifestResource(System.Reflection.ManifestResourceAttributes,System.Reflection.Metadata.StringHandle,System.Reflection.Metadata.EntityHandle,System.UInt32)">
774 Adds a manifest resource.
776 <param name="attributes">Attributes</param>
777 <param name="name">Resource name</param>
778 <param name="implementation"><see cref="T:System.Reflection.Metadata.AssemblyFileHandle"/>, <see cref="T:System.Reflection.Metadata.AssemblyReferenceHandle"/>, or nil</param>
779 <param name="offset">Specifies the byte offset within the referenced file at which this resource record begins.</param>
780 <exception cref="T:System.ArgumentException"><paramref name="implementation"/> doesn't have the expected handle kind.</exception>
782 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddExportedType(System.Reflection.TypeAttributes,System.Reflection.Metadata.StringHandle,System.Reflection.Metadata.StringHandle,System.Reflection.Metadata.EntityHandle,System.Int32)">
784 Adds an exported type.
786 <param name="attributes">Attributes</param>
787 <param name="namespace">Namespace</param>
788 <param name="name">Type name</param>
789 <param name="implementation"><see cref="T:System.Reflection.Metadata.AssemblyFileHandle"/>, <see cref="T:System.Reflection.Metadata.ExportedTypeHandle"/> or <see cref="T:System.Reflection.Metadata.AssemblyReferenceHandle"/></param>
790 <param name="typeDefinitionId">Type definition id</param>
791 <exception cref="T:System.ArgumentException"><paramref name="implementation"/> doesn't have the expected handle kind.</exception>
793 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddDeclarativeSecurityAttribute(System.Reflection.Metadata.EntityHandle,System.Reflection.DeclarativeSecurityAction,System.Reflection.Metadata.BlobHandle)">
795 Adds declarative security attribute to a type, method or an assembly.
797 <param name="parent"><see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/>, <see cref="T:System.Reflection.Metadata.MethodDefinitionHandle"/>, or <see cref="T:System.Reflection.Metadata.AssemblyDefinitionHandle"/></param>
798 <param name="action">Security action</param>
799 <param name="permissionSet">Permission set blob.</param>
800 <exception cref="T:System.ArgumentException"><paramref name="parent"/> doesn't have the expected handle kind.</exception>
802 Entries may be added in any order. The table is automatically sorted when serialized.
805 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddDocument(System.Reflection.Metadata.BlobHandle,System.Reflection.Metadata.GuidHandle,System.Reflection.Metadata.BlobHandle,System.Reflection.Metadata.GuidHandle)">
807 Add document debug information.
811 See https://github.com/dotnet/corefx/blob/master/src/System.Reflection.Metadata/specs/PortablePdb-Metadata.md#document-name-blob
813 <param name="hashAlgorithm">
814 GUID of the hash algorithm used to calculate the value of <paramref name="hash"/>.
815 See https://github.com/dotnet/corefx/blob/master/src/System.Reflection.Metadata/specs/PortablePdb-Metadata.md#document-table-0x30 for common values.
818 The hash of the document content.
820 <param name="language">
821 GUID of the language.
822 See https://github.com/dotnet/corefx/blob/master/src/System.Reflection.Metadata/specs/PortablePdb-Metadata.md#document-table-0x30 for common values.
825 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddMethodDebugInformation(System.Reflection.Metadata.DocumentHandle,System.Reflection.Metadata.BlobHandle)">
827 Add method debug information.
829 <param name="document">
830 The handle of a single document containing all sequence points of the method, or nil if the method doesn't have sequence points or spans multiple documents.
832 <param name="sequencePoints">
833 Sequence Points blob, or nil if the method doesn't have sequence points.
834 See https://github.com/dotnet/corefx/blob/master/src/System.Reflection.Metadata/specs/PortablePdb-Metadata.md#sequence-points-blob.
837 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddLocalScope(System.Reflection.Metadata.MethodDefinitionHandle,System.Reflection.Metadata.ImportScopeHandle,System.Reflection.Metadata.LocalVariableHandle,System.Reflection.Metadata.LocalConstantHandle,System.Int32,System.Int32)">
839 Add local scope debug information.
841 <param name="method">The containing method.</param>
842 <param name="importScope">Handle of the associated import scope.</param>
843 <param name="variableList">
844 If the scope declares variables the handle of the first one, otherwise the handle of the first variable declared by the next scope definition.
845 If no scope defines any variables, <see cref="M:System.Reflection.Metadata.Ecma335.MetadataTokens.LocalVariableHandle(System.Int32)"/>(1).
847 <param name="constantList">
848 If the scope declares constants the handle of the first one, otherwise the handle of the first constant declared by the next scope definition.
849 If no scope defines any constants, <see cref="M:System.Reflection.Metadata.Ecma335.MetadataTokens.LocalConstantHandle(System.Int32)"/>(1).
851 <param name="startOffset">Offset of the first instruction covered by the scope.</param>
852 <param name="length">The length (in bytes) of the scope.</param>
854 Local scopes should be added in the same order as the corresponding method definition.
855 Within a method they should be ordered by ascending <paramref name="startOffset"/> and then by descending <paramref name="length"/>.
858 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddLocalVariable(System.Reflection.Metadata.LocalVariableAttributes,System.Int32,System.Reflection.Metadata.StringHandle)">
860 Add local variable debug information.
862 <param name="attributes"><see cref="T:System.Reflection.Metadata.LocalVariableAttributes"/></param>
863 <param name="index">Local variable index in the local signature (zero-based).</param>
864 <param name="name">Name of the variable.</param>
865 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index"/> is greater than <see cref="F:System.UInt16.MaxValue"/>.</exception>
867 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddLocalConstant(System.Reflection.Metadata.StringHandle,System.Reflection.Metadata.BlobHandle)">
869 Add local constant debug information.
871 <param name="name">Name of the variable.</param>
872 <param name="signature">
873 LocalConstantSig blob, see https://github.com/dotnet/corefx/blob/master/src/System.Reflection.Metadata/specs/PortablePdb-Metadata.md#localconstantsig-blob.
876 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddImportScope(System.Reflection.Metadata.ImportScopeHandle,System.Reflection.Metadata.BlobHandle)">
878 Add local scope debug information.
880 <param name="parentScope">Parent scope handle.</param>
881 <param name="imports">
882 Imports blob, see https://github.com/dotnet/corefx/blob/master/src/System.Reflection.Metadata/specs/PortablePdb-Metadata.md#imports-blob.
885 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddStateMachineMethod(System.Reflection.Metadata.MethodDefinitionHandle,System.Reflection.Metadata.MethodDefinitionHandle)">
887 Add state machine method debug information.
889 <param name="moveNextMethod">Handle of the MoveNext method of the state machine (the compiler-generated method).</param>
890 <param name="kickoffMethod">Handle of the kickoff method (the user defined iterator/async method)</param>
892 Entries should be added in the same order as the corresponding MoveNext method definitions.
895 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.AddCustomDebugInformation(System.Reflection.Metadata.EntityHandle,System.Reflection.Metadata.GuidHandle,System.Reflection.Metadata.BlobHandle)">
897 Add custom debug information.
899 <param name="parent">
900 An entity to attach the debug information to:
901 <see cref="T:System.Reflection.Metadata.MethodDefinitionHandle"/>,
902 <see cref="T:System.Reflection.Metadata.FieldDefinitionHandle"/>,
903 <see cref="T:System.Reflection.Metadata.TypeReferenceHandle"/>,
904 <see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/>,
905 <see cref="T:System.Reflection.Metadata.ParameterHandle"/>,
906 <see cref="T:System.Reflection.Metadata.InterfaceImplementationHandle"/>,
907 <see cref="T:System.Reflection.Metadata.MemberReferenceHandle"/>,
908 <see cref="T:System.Reflection.Metadata.ModuleDefinitionHandle"/>,
909 <see cref="T:System.Reflection.Metadata.DeclarativeSecurityAttributeHandle"/>,
910 <see cref="T:System.Reflection.Metadata.PropertyDefinitionHandle"/>,
911 <see cref="T:System.Reflection.Metadata.EventDefinitionHandle"/>,
912 <see cref="T:System.Reflection.Metadata.StandaloneSignatureHandle"/>,
913 <see cref="T:System.Reflection.Metadata.ModuleReferenceHandle"/>,
914 <see cref="T:System.Reflection.Metadata.TypeSpecificationHandle"/>,
915 <see cref="T:System.Reflection.Metadata.AssemblyDefinitionHandle"/>,
916 <see cref="T:System.Reflection.Metadata.AssemblyReferenceHandle"/>,
917 <see cref="T:System.Reflection.Metadata.AssemblyFileHandle"/>,
918 <see cref="T:System.Reflection.Metadata.ExportedTypeHandle"/>,
919 <see cref="T:System.Reflection.Metadata.ManifestResourceHandle"/>,
920 <see cref="T:System.Reflection.Metadata.GenericParameterHandle"/>,
921 <see cref="T:System.Reflection.Metadata.GenericParameterConstraintHandle"/>,
922 <see cref="T:System.Reflection.Metadata.MethodSpecificationHandle"/>,
923 <see cref="T:System.Reflection.Metadata.DocumentHandle"/>,
924 <see cref="T:System.Reflection.Metadata.LocalScopeHandle"/>,
925 <see cref="T:System.Reflection.Metadata.LocalVariableHandle"/>,
926 <see cref="T:System.Reflection.Metadata.LocalConstantHandle"/> or
927 <see cref="T:System.Reflection.Metadata.ImportScopeHandle"/>.
929 <param name="kind">Information kind. Determines the structure of the <paramref name="value"/> blob.</param>
930 <param name="value">Custom debug information blob.</param>
931 <exception cref="T:System.ArgumentException"><paramref name="parent"/> doesn't have the expected handle kind.</exception>
933 Entries may be added in any order. The table is automatically sorted when serialized.
936 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.#ctor(System.Int32,System.Int32,System.Int32,System.Int32)">
938 Creates a builder for metadata tables and heaps.
940 <param name="userStringHeapStartOffset">
941 Start offset of the User String heap.
942 The cumulative size of User String heaps of all previous EnC generations. Should be 0 unless the metadata is EnC delta metadata.
944 <param name="stringHeapStartOffset">
945 Start offset of the String heap.
946 The cumulative size of String heaps of all previous EnC generations. Should be 0 unless the metadata is EnC delta metadata.
948 <param name="blobHeapStartOffset">
949 Start offset of the Blob heap.
950 The cumulative size of Blob heaps of all previous EnC generations. Should be 0 unless the metadata is EnC delta metadata.
952 <param name="guidHeapStartOffset">
953 Start offset of the Guid heap.
954 The cumulative size of Guid heaps of all previous EnC generations. Should be 0 unless the metadata is EnC delta metadata.
956 <exception cref="T:System.Reflection.Metadata.ImageFormatLimitationException">Offset is too big.</exception>
957 <exception cref="T:System.ArgumentOutOfRangeException">Offset is negative.</exception>
958 <exception cref="T:System.ArgumentException"><paramref name="guidHeapStartOffset"/> is not a multiple of size of GUID.</exception>
960 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.SetCapacity(System.Reflection.Metadata.Ecma335.HeapIndex,System.Int32)">
962 Sets the capacity of the specified table.
964 <param name="heap">Heap index.</param>
965 <param name="byteCount">Number of bytes.</param>
966 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="heap"/> is not a valid heap index.</exception>
967 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="byteCount"/> is negative.</exception>
969 Use to reduce allocations if the approximate number of bytes is known ahead of time.
972 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.GetOrAddBlob(System.Reflection.Metadata.BlobBuilder)">
974 Adds specified blob to Blob heap, if it's not there already.
976 <param name="value"><see cref="T:System.Reflection.Metadata.BlobBuilder"/> containing the blob.</param>
977 <returns>Handle to the added or existing blob.</returns>
978 <exception cref="T:System.ArgumentNullException"><paramref name="value"/> is null.</exception>
980 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.GetOrAddBlob(System.Byte[])">
982 Adds specified blob to Blob heap, if it's not there already.
984 <param name="value">Array containing the blob.</param>
985 <returns>Handle to the added or existing blob.</returns>
986 <exception cref="T:System.ArgumentNullException"><paramref name="value"/> is null.</exception>
988 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.GetOrAddBlob(System.Collections.Immutable.ImmutableArray{System.Byte})">
990 Adds specified blob to Blob heap, if it's not there already.
992 <param name="value">Array containing the blob.</param>
993 <returns>Handle to the added or existing blob.</returns>
994 <exception cref="T:System.ArgumentNullException"><paramref name="value"/> is null.</exception>
996 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.GetOrAddConstantBlob(System.Object)">
998 Encodes a constant value to a blob and adds it to the Blob heap, if it's not there already.
999 Uses UTF16 to encode string constants.
1001 <param name="value">Constant value.</param>
1002 <returns>Handle to the added or existing blob.</returns>
1004 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.GetOrAddBlobUTF16(System.String)">
1006 Encodes a string using UTF16 encoding to a blob and adds it to the Blob heap, if it's not there already.
1008 <param name="value">String.</param>
1009 <returns>Handle to the added or existing blob.</returns>
1010 <exception cref="T:System.ArgumentNullException"><paramref name="value"/> is null.</exception>
1012 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.GetOrAddBlobUTF8(System.String,System.Boolean)">
1014 Encodes a string using UTF8 encoding to a blob and adds it to the Blob heap, if it's not there already.
1016 <param name="value">Constant value.</param>
1017 <param name="allowUnpairedSurrogates">
1018 True to encode unpaired surrogates as specified, otherwise replace them with U+FFFD character.
1020 <returns>Handle to the added or existing blob.</returns>
1021 <exception cref="T:System.ArgumentNullException"><paramref name="value"/> is null.</exception>
1023 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.GetOrAddDocumentName(System.String)">
1025 Encodes a debug document name and adds it to the Blob heap, if it's not there already.
1027 <param name="value">Document name.</param>
1029 Handle to the added or existing document name blob
1030 (see https://github.com/dotnet/corefx/blob/master/src/System.Reflection.Metadata/specs/PortablePdb-Metadata.md#DocumentNameBlob).
1032 <exception cref="T:System.ArgumentNullException"><paramref name="value"/> is null.</exception>
1034 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.GetOrAddGuid(System.Guid)">
1036 Adds specified Guid to Guid heap, if it's not there already.
1038 <param name="guid">Guid to add.</param>
1039 <returns>Handle to the added or existing Guid.</returns>
1041 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.ReserveGuid">
1043 Reserves space on the Guid heap for a GUID.
1046 Handle to the reserved Guid and a <see cref="T:System.Reflection.Metadata.Blob"/> representing the GUID blob as stored on the heap.
1048 <exception cref="T:System.Reflection.Metadata.ImageFormatLimitationException">The remaining space on the heap is too small to fit the string.</exception>
1050 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.GetOrAddString(System.String)">
1052 Adds specified string to String heap, if it's not there already.
1054 <param name="value">Array containing the blob.</param>
1055 <returns>Handle to the added or existing blob.</returns>
1056 <exception cref="T:System.ArgumentNullException"><paramref name="value"/> is null.</exception>
1058 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.ReserveUserString(System.Int32)">
1060 Reserves space on the User String heap for a string of specified length.
1062 <param name="length">The number of characters to reserve.</param>
1064 Handle to the reserved User String and a <see cref="T:System.Reflection.Metadata.Blob"/> representing the entire User String blob (including its length and terminal character).
1066 Handle may be used in <see cref="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.LoadString(System.Reflection.Metadata.UserStringHandle)"/>.
1067 Use <see cref="M:System.Reflection.Metadata.BlobWriter.WriteUserString(System.String)"/> to fill in the blob content.
1069 <exception cref="T:System.Reflection.Metadata.ImageFormatLimitationException">The remaining space on the heap is too small to fit the string.</exception>
1070 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="length"/> is negative.</exception>
1072 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.GetOrAddUserString(System.String)">
1074 Adds specified string to User String heap, if it's not there already.
1076 <param name="value">String to add.</param>
1078 Handle to the added or existing string.
1079 May be used in <see cref="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.LoadString(System.Reflection.Metadata.UserStringHandle)"/>.
1081 <exception cref="T:System.Reflection.Metadata.ImageFormatLimitationException">The remaining space on the heap is too small to fit the string.</exception>
1082 <exception cref="T:System.ArgumentNullException"><paramref name="value"/> is null.</exception>
1084 <member name="M:System.Reflection.Metadata.Ecma335.MetadataBuilder.SerializeStringHeap(System.Reflection.Metadata.BlobBuilder,System.Collections.Generic.Dictionary{System.String,System.Reflection.Metadata.StringHandle},System.Int32)">
1086 Fills in stringIndexMap with data from stringIndex and write to stringWriter.
1087 Releases stringIndex as the stringTable is sealed after this point.
1090 <member name="T:System.Reflection.Metadata.Ecma335.MetadataBuilder.SuffixSort">
1092 Sorts strings such that a string is followed immediately by all strings
1093 that are a suffix of it.
1096 <member name="T:System.Reflection.Metadata.Ecma335.MetadataRootBuilder">
1098 Builder of a Metadata Root to be embedded in a Portable Executable image.
1101 Metadata root constitutes of a metadata header followed by metadata streams (#~, #Strings, #US, #Guid and #Blob).
1104 <member name="P:System.Reflection.Metadata.Ecma335.MetadataRootBuilder.MetadataVersion">
1106 Metadata version string.
1109 <member name="P:System.Reflection.Metadata.Ecma335.MetadataRootBuilder.SuppressValidation">
1111 True to suppresses basic validation of metadata tables.
1112 The validation verifies that entries in the tables were added in order required by the ECMA specification.
1113 It does not enforce all specification requirements on metadata tables.
1116 <member name="M:System.Reflection.Metadata.Ecma335.MetadataRootBuilder.#ctor(System.Reflection.Metadata.Ecma335.MetadataBuilder,System.String,System.Boolean)">
1118 Creates a builder of a metadata root.
1120 <param name="tablesAndHeaps">
1121 Builder populated with metadata entities stored in tables and values stored in heaps.
1122 The entities and values will be enumerated when serializing the metadata root.
1124 <param name="metadataVersion">
1125 The version string written to the metadata header. The default value is "v4.0.30319".
1127 <param name="suppressValidation">
1128 True to suppresses basic validation of metadata tables during serialization.
1129 The validation verifies that entries in the tables were added in order required by the ECMA specification.
1130 It does not enforce all specification requirements on metadata tables.
1132 <exception cref="T:System.ArgumentNullException"><paramref name="tablesAndHeaps"/> is null.</exception>
1133 <exception cref="T:System.ArgumentException"><paramref name="metadataVersion"/> is too long (the number of bytes when UTF8-encoded must be less than 255).</exception>
1135 <member name="P:System.Reflection.Metadata.Ecma335.MetadataRootBuilder.Sizes">
1137 Returns sizes of various metadata structures.
1140 <member name="M:System.Reflection.Metadata.Ecma335.MetadataRootBuilder.Serialize(System.Reflection.Metadata.BlobBuilder,System.Int32,System.Int32)">
1142 Serializes metadata root content into the given <see cref="T:System.Reflection.Metadata.BlobBuilder"/>.
1144 <param name="builder">Builder to write to.</param>
1145 <param name="methodBodyStreamRva">
1146 The relative virtual address of the start of the method body stream.
1147 Used to calculate the final value of RVA fields of MethodDef table.
1149 <param name="mappedFieldDataStreamRva">
1150 The relative virtual address of the start of the field init data stream.
1151 Used to calculate the final value of RVA fields of FieldRVA table.
1153 <exception cref="T:System.ArgumentNullException"><paramref name="builder"/> is null.</exception>
1154 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="methodBodyStreamRva"/> or <paramref name="mappedFieldDataStreamRva"/> is negative.</exception>
1155 <exception cref="T:System.InvalidOperationException">
1156 A metadata table is not ordered as required by the specification and <see cref="P:System.Reflection.Metadata.Ecma335.MetadataRootBuilder.SuppressValidation"/> is false.
1159 <member name="M:System.Reflection.Metadata.Ecma335.StringHeap.EqualsRaw(System.Reflection.Metadata.StringHandle,System.String)">
1161 Returns true if the given raw (non-virtual) handle represents the same string as given ASCII string.
1164 <member name="M:System.Reflection.Metadata.Ecma335.StringHeap.IndexOfRaw(System.Int32,System.Char)">
1166 Returns the heap index of the given ASCII character or -1 if not found prior null terminator or end of heap.
1169 <member name="M:System.Reflection.Metadata.Ecma335.StringHeap.StartsWithRaw(System.Reflection.Metadata.StringHandle,System.String)">
1171 Returns true if the given raw (non-virtual) handle represents a string that starts with given ASCII prefix.
1174 <member name="M:System.Reflection.Metadata.Ecma335.StringHeap.BinarySearchRaw(System.String[],System.Reflection.Metadata.StringHandle)">
1176 Equivalent to Array.BinarySearch, searches for given raw (non-virtual) handle in given array of ASCII strings.
1179 <member name="T:System.Reflection.Metadata.Ecma335.CustomAttributeDecoder`1">
1181 Decodes custom attribute blobs.
1184 <member name="M:System.Reflection.Metadata.Ecma335.ControlFlowBuilder.AddFinallyRegion(System.Reflection.Metadata.Ecma335.LabelHandle,System.Reflection.Metadata.Ecma335.LabelHandle,System.Reflection.Metadata.Ecma335.LabelHandle,System.Reflection.Metadata.Ecma335.LabelHandle)">
1186 Adds finally region.
1188 <param name="tryStart">Label marking the first instruction of the try block.</param>
1189 <param name="tryEnd">Label marking the instruction immediately following the try block.</param>
1190 <param name="handlerStart">Label marking the first instruction of the handler.</param>
1191 <param name="handlerEnd">Label marking the instruction immediately following the handler.</param>
1192 <returns>Encoder for the next clause.</returns>
1193 <exception cref="T:System.ArgumentException">A label was not defined by an instruction encoder this builder is associated with.</exception>
1194 <exception cref="T:System.ArgumentNullException">A label has default value.</exception>
1196 <member name="M:System.Reflection.Metadata.Ecma335.ControlFlowBuilder.AddFaultRegion(System.Reflection.Metadata.Ecma335.LabelHandle,System.Reflection.Metadata.Ecma335.LabelHandle,System.Reflection.Metadata.Ecma335.LabelHandle,System.Reflection.Metadata.Ecma335.LabelHandle)">
1200 <param name="tryStart">Label marking the first instruction of the try block.</param>
1201 <param name="tryEnd">Label marking the instruction immediately following the try block.</param>
1202 <param name="handlerStart">Label marking the first instruction of the handler.</param>
1203 <param name="handlerEnd">Label marking the instruction immediately following the handler.</param>
1204 <exception cref="T:System.ArgumentException">A label was not defined by an instruction encoder this builder is associated with.</exception>
1205 <exception cref="T:System.ArgumentNullException">A label has default value.</exception>
1207 <member name="M:System.Reflection.Metadata.Ecma335.ControlFlowBuilder.AddCatchRegion(System.Reflection.Metadata.Ecma335.LabelHandle,System.Reflection.Metadata.Ecma335.LabelHandle,System.Reflection.Metadata.Ecma335.LabelHandle,System.Reflection.Metadata.Ecma335.LabelHandle,System.Reflection.Metadata.EntityHandle)">
1211 <param name="tryStart">Label marking the first instruction of the try block.</param>
1212 <param name="tryEnd">Label marking the instruction immediately following the try block.</param>
1213 <param name="handlerStart">Label marking the first instruction of the handler.</param>
1214 <param name="handlerEnd">Label marking the instruction immediately following the handler.</param>
1215 <param name="catchType">The type of exception to be caught: <see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/>, <see cref="T:System.Reflection.Metadata.TypeReferenceHandle"/> or <see cref="T:System.Reflection.Metadata.TypeSpecificationHandle"/>.</param>
1216 <exception cref="T:System.ArgumentException">A label was not defined by an instruction encoder this builder is associated with.</exception>
1217 <exception cref="T:System.ArgumentException"><paramref name="catchType"/> is not a valid type handle.</exception>
1218 <exception cref="T:System.ArgumentNullException">A label has default value.</exception>
1220 <member name="M:System.Reflection.Metadata.Ecma335.ControlFlowBuilder.AddFilterRegion(System.Reflection.Metadata.Ecma335.LabelHandle,System.Reflection.Metadata.Ecma335.LabelHandle,System.Reflection.Metadata.Ecma335.LabelHandle,System.Reflection.Metadata.Ecma335.LabelHandle,System.Reflection.Metadata.Ecma335.LabelHandle)">
1224 <param name="tryStart">Label marking the first instruction of the try block.</param>
1225 <param name="tryEnd">Label marking the instruction immediately following the try block.</param>
1226 <param name="handlerStart">Label marking the first instruction of the handler.</param>
1227 <param name="handlerEnd">Label marking the instruction immediately following the handler.</param>
1228 <param name="filterStart">Label marking the first instruction of the filter block.</param>
1229 <exception cref="T:System.ArgumentException">A label was not defined by an instruction encoder this builder is associated with.</exception>
1230 <exception cref="T:System.ArgumentNullException">A label has default value.</exception>
1232 <member name="M:System.Reflection.Metadata.Ecma335.ControlFlowBuilder.CopyCodeAndFixupBranches(System.Reflection.Metadata.BlobBuilder,System.Reflection.Metadata.BlobBuilder)">
1233 <exception cref="T:System.InvalidOperationException" />
1235 <member name="P:System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder.Builder">
1237 The underlying builder.
1240 <member name="P:System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder.HasSmallFormat">
1242 True if the encoder uses small format.
1245 <member name="M:System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder.IsSmallRegionCount(System.Int32)">
1247 Returns true if the number of exception regions first small format.
1249 <param name="exceptionRegionCount">Number of exception regions.</param>
1251 <member name="M:System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder.IsSmallExceptionRegion(System.Int32,System.Int32)">
1253 Returns true if the region fits small format.
1255 <param name="startOffset">Start offset of the region.</param>
1256 <param name="length">Length of the region.</param>
1258 <member name="M:System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder.AddFinally(System.Int32,System.Int32,System.Int32,System.Int32)">
1260 Adds a finally clause.
1262 <param name="tryOffset">Try block start offset.</param>
1263 <param name="tryLength">Try block length.</param>
1264 <param name="handlerOffset">Handler start offset.</param>
1265 <param name="handlerLength">Handler length.</param>
1266 <returns>Encoder for the next clause.</returns>
1267 <exception cref="T:System.ArgumentOutOfRangeException">
1268 <paramref name="tryOffset"/>, <paramref name="tryLength"/>, <paramref name="handlerOffset"/> or <paramref name="handlerLength"/> is out of range.
1270 <exception cref="T:System.InvalidOperationException">Method body was not declared to have exception regions.</exception>
1272 <member name="M:System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder.AddFault(System.Int32,System.Int32,System.Int32,System.Int32)">
1274 Adds a fault clause.
1276 <param name="tryOffset">Try block start offset.</param>
1277 <param name="tryLength">Try block length.</param>
1278 <param name="handlerOffset">Handler start offset.</param>
1279 <param name="handlerLength">Handler length.</param>
1280 <returns>Encoder for the next clause.</returns>
1281 <exception cref="T:System.ArgumentOutOfRangeException">
1282 <paramref name="tryOffset"/>, <paramref name="tryLength"/>, <paramref name="handlerOffset"/> or <paramref name="handlerLength"/> is out of range.
1284 <exception cref="T:System.InvalidOperationException">Method body was not declared to have exception regions.</exception>
1286 <member name="M:System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder.AddCatch(System.Int32,System.Int32,System.Int32,System.Int32,System.Reflection.Metadata.EntityHandle)">
1288 Adds a fault clause.
1290 <param name="tryOffset">Try block start offset.</param>
1291 <param name="tryLength">Try block length.</param>
1292 <param name="handlerOffset">Handler start offset.</param>
1293 <param name="handlerLength">Handler length.</param>
1294 <param name="catchType">
1295 <see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/>, <see cref="T:System.Reflection.Metadata.TypeReferenceHandle"/> or <see cref="T:System.Reflection.Metadata.TypeSpecificationHandle"/>.
1297 <returns>Encoder for the next clause.</returns>
1298 <exception cref="T:System.ArgumentException"><paramref name="catchType"/> is invalid.</exception>
1299 <exception cref="T:System.ArgumentOutOfRangeException">
1300 <paramref name="tryOffset"/>, <paramref name="tryLength"/>, <paramref name="handlerOffset"/> or <paramref name="handlerLength"/> is out of range.
1302 <exception cref="T:System.InvalidOperationException">Method body was not declared to have exception regions.</exception>
1304 <member name="M:System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder.AddFilter(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
1306 Adds a fault clause.
1308 <param name="tryOffset">Try block start offset.</param>
1309 <param name="tryLength">Try block length.</param>
1310 <param name="handlerOffset">Handler start offset.</param>
1311 <param name="handlerLength">Handler length.</param>
1312 <param name="filterOffset">Offset of the filter block.</param>
1313 <returns>Encoder for the next clause.</returns>
1314 <exception cref="T:System.ArgumentOutOfRangeException">
1315 <paramref name="tryOffset"/>, <paramref name="tryLength"/>, <paramref name="handlerOffset"/> or <paramref name="handlerLength"/> is out of range.
1317 <exception cref="T:System.InvalidOperationException">Method body was not declared to have exception regions.</exception>
1319 <member name="M:System.Reflection.Metadata.Ecma335.ExceptionRegionEncoder.Add(System.Reflection.Metadata.ExceptionRegionKind,System.Int32,System.Int32,System.Int32,System.Int32,System.Reflection.Metadata.EntityHandle,System.Int32)">
1321 Adds an exception clause.
1323 <param name="kind">Clause kind.</param>
1324 <param name="tryOffset">Try block start offset.</param>
1325 <param name="tryLength">Try block length.</param>
1326 <param name="handlerOffset">Handler start offset.</param>
1327 <param name="handlerLength">Handler length.</param>
1328 <param name="catchType">
1329 <see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/>, <see cref="T:System.Reflection.Metadata.TypeReferenceHandle"/> or <see cref="T:System.Reflection.Metadata.TypeSpecificationHandle"/>,
1330 or nil if <paramref name="kind"/> is not <see cref="F:System.Reflection.Metadata.ExceptionRegionKind.Catch"/>
1332 <param name="filterOffset">
1333 Offset of the filter block, or 0 if the <paramref name="kind"/> is not <see cref="F:System.Reflection.Metadata.ExceptionRegionKind.Filter"/>.
1335 <returns>Encoder for the next clause.</returns>
1336 <exception cref="T:System.ArgumentException"><paramref name="catchType"/> is invalid.</exception>
1337 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="kind"/> has invalid value.</exception>
1338 <exception cref="T:System.ArgumentOutOfRangeException">
1339 <paramref name="tryOffset"/>, <paramref name="tryLength"/>, <paramref name="handlerOffset"/> or <paramref name="handlerLength"/> is out of range.
1341 <exception cref="T:System.InvalidOperationException">Method body was not declared to have exception regions.</exception>
1343 <member name="T:System.Reflection.Metadata.Ecma335.InstructionEncoder">
1345 Encodes instructions.
1348 <member name="P:System.Reflection.Metadata.Ecma335.InstructionEncoder.CodeBuilder">
1350 Underlying builder where encoded instructions are written to.
1353 <member name="P:System.Reflection.Metadata.Ecma335.InstructionEncoder.ControlFlowBuilder">
1355 Builder tracking labels, branches and exception handlers.
1358 If null the encoder doesn't support constuction of control flow.
1361 <member name="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.#ctor(System.Reflection.Metadata.BlobBuilder,System.Reflection.Metadata.Ecma335.ControlFlowBuilder)">
1363 Creates an encoder backed by code and control-flow builders.
1365 <param name="codeBuilder">Builder to write encoded instructions to.</param>
1366 <param name="controlFlowBuilder">
1367 Builder tracking labels, branches and exception handlers.
1368 Must be specified to be able to use some of the control-flow factory methods of <see cref="T:System.Reflection.Metadata.Ecma335.InstructionEncoder"/>,
1369 such as <see cref="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.Branch(System.Reflection.Metadata.ILOpCode,System.Reflection.Metadata.Ecma335.LabelHandle)"/>, <see cref="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.DefineLabel"/>, <see cref="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.MarkLabel(System.Reflection.Metadata.Ecma335.LabelHandle)"/> etc.
1372 <member name="P:System.Reflection.Metadata.Ecma335.InstructionEncoder.Offset">
1374 Offset of the next encoded instruction.
1377 <member name="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.OpCode(System.Reflection.Metadata.ILOpCode)">
1379 Encodes specified op-code.
1382 <member name="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.Token(System.Reflection.Metadata.EntityHandle)">
1387 <member name="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.Token(System.Int32)">
1392 <member name="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.LoadString(System.Reflection.Metadata.UserStringHandle)">
1394 Encodes <code>ldstr</code> instruction and its operand.
1397 <member name="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.Call(System.Reflection.Metadata.EntityHandle)">
1399 Encodes <code>call</code> instruction and its operand.
1402 <member name="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.Call(System.Reflection.Metadata.MethodDefinitionHandle)">
1404 Encodes <code>call</code> instruction and its operand.
1407 <member name="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.Call(System.Reflection.Metadata.MethodSpecificationHandle)">
1409 Encodes <code>call</code> instruction and its operand.
1412 <member name="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.Call(System.Reflection.Metadata.MemberReferenceHandle)">
1414 Encodes <code>call</code> instruction and its operand.
1417 <member name="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.CallIndirect(System.Reflection.Metadata.StandaloneSignatureHandle)">
1419 Encodes <code>calli</code> instruction and its operand.
1422 <member name="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.LoadConstantI4(System.Int32)">
1424 Encodes <see cref="T:System.Int32"/> constant load instruction.
1427 <member name="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.LoadConstantI8(System.Int64)">
1429 Encodes <see cref="T:System.Int64"/> constant load instruction.
1432 <member name="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.LoadConstantR4(System.Single)">
1434 Encodes <see cref="T:System.Single"/> constant load instruction.
1437 <member name="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.LoadConstantR8(System.Double)">
1439 Encodes <see cref="T:System.Double"/> constant load instruction.
1442 <member name="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.LoadLocal(System.Int32)">
1444 Encodes local variable load instruction.
1446 <param name="slotIndex">Index of the local variable slot.</param>
1447 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="slotIndex"/> is negative.</exception>
1449 <member name="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.StoreLocal(System.Int32)">
1451 Encodes local variable store instruction.
1453 <param name="slotIndex">Index of the local variable slot.</param>
1454 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="slotIndex"/> is negative.</exception>
1456 <member name="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.LoadLocalAddress(System.Int32)">
1458 Encodes local variable address load instruction.
1460 <param name="slotIndex">Index of the local variable slot.</param>
1461 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="slotIndex"/> is negative.</exception>
1463 <member name="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.LoadArgument(System.Int32)">
1465 Encodes argument load instruction.
1467 <param name="argumentIndex">Index of the argument.</param>
1468 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="argumentIndex"/> is negative.</exception>
1470 <member name="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.LoadArgumentAddress(System.Int32)">
1472 Encodes argument address load instruction.
1474 <param name="argumentIndex">Index of the argument.</param>
1475 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="argumentIndex"/> is negative.</exception>
1477 <member name="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.StoreArgument(System.Int32)">
1479 Encodes argument store instruction.
1481 <param name="argumentIndex">Index of the argument.</param>
1482 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="argumentIndex"/> is negative.</exception>
1484 <member name="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.DefineLabel">
1486 Defines a label that can later be used to mark and refer to a location in the instruction stream.
1488 <returns>Label handle.</returns>
1489 <exception cref="T:System.InvalidOperationException"><see cref="P:System.Reflection.Metadata.Ecma335.InstructionEncoder.ControlFlowBuilder"/> is null.</exception>
1491 <member name="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.Branch(System.Reflection.Metadata.ILOpCode,System.Reflection.Metadata.Ecma335.LabelHandle)">
1493 Encodes a branch instruction.
1495 <param name="code">Branch instruction to encode.</param>
1496 <param name="label">Label of the target location in instruction stream.</param>
1497 <exception cref="T:System.ArgumentException"><paramref name="code"/> is not a branch instruction.</exception>
1498 <exception cref="T:System.ArgumentException"><paramref name="label"/> was not defined by this encoder.</exception>
1499 <exception cref="T:System.InvalidOperationException"><see cref="P:System.Reflection.Metadata.Ecma335.InstructionEncoder.ControlFlowBuilder"/> is null.</exception>
1500 <exception cref="T:System.ArgumentNullException"><paramref name="label"/> has default value.</exception>
1502 <member name="M:System.Reflection.Metadata.Ecma335.InstructionEncoder.MarkLabel(System.Reflection.Metadata.Ecma335.LabelHandle)">
1504 Associates specified label with the current IL offset.
1506 <param name="label">Label to mark.</param>
1508 A single label may be marked multiple times, the last offset wins.
1510 <exception cref="T:System.InvalidOperationException"><see cref="P:System.Reflection.Metadata.Ecma335.InstructionEncoder.ControlFlowBuilder"/> is null.</exception>
1511 <exception cref="T:System.ArgumentException"><paramref name="label"/> was not defined by this encoder.</exception>
1512 <exception cref="T:System.ArgumentNullException"><paramref name="label"/> has default value.</exception>
1514 <member name="P:System.Reflection.Metadata.Ecma335.LabelHandle.Id">
1516 1-based id identifying the label within the context of a <see cref="T:System.Reflection.Metadata.Ecma335.ControlFlowBuilder"/>.
1519 <member name="M:System.Reflection.Metadata.Ecma335.CodedIndex.HasCustomAttribute(System.Reflection.Metadata.EntityHandle)">
1521 Calculates a HasCustomAttribute coded index for the specified handle.
1523 <param name="handle">
1524 <see cref="T:System.Reflection.Metadata.MethodDefinitionHandle"/>,
1525 <see cref="T:System.Reflection.Metadata.FieldDefinitionHandle"/>,
1526 <see cref="T:System.Reflection.Metadata.TypeReferenceHandle"/>,
1527 <see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/>,
1528 <see cref="T:System.Reflection.Metadata.ParameterHandle"/>,
1529 <see cref="T:System.Reflection.Metadata.InterfaceImplementationHandle"/>,
1530 <see cref="T:System.Reflection.Metadata.MemberReferenceHandle"/>,
1531 <see cref="T:System.Reflection.Metadata.ModuleDefinitionHandle"/>,
1532 <see cref="T:System.Reflection.Metadata.DeclarativeSecurityAttributeHandle"/>,
1533 <see cref="T:System.Reflection.Metadata.PropertyDefinitionHandle"/>,
1534 <see cref="T:System.Reflection.Metadata.EventDefinitionHandle"/>,
1535 <see cref="T:System.Reflection.Metadata.StandaloneSignatureHandle"/>,
1536 <see cref="T:System.Reflection.Metadata.ModuleReferenceHandle"/>,
1537 <see cref="T:System.Reflection.Metadata.TypeSpecificationHandle"/>,
1538 <see cref="T:System.Reflection.Metadata.AssemblyDefinitionHandle"/>,
1539 <see cref="T:System.Reflection.Metadata.AssemblyReferenceHandle"/>,
1540 <see cref="T:System.Reflection.Metadata.AssemblyFileHandle"/>,
1541 <see cref="T:System.Reflection.Metadata.ExportedTypeHandle"/>,
1542 <see cref="T:System.Reflection.Metadata.ManifestResourceHandle"/>,
1543 <see cref="T:System.Reflection.Metadata.GenericParameterHandle"/>,
1544 <see cref="T:System.Reflection.Metadata.GenericParameterConstraintHandle"/> or
1545 <see cref="T:System.Reflection.Metadata.MethodSpecificationHandle"/>.
1547 <exception cref="T:System.ArgumentException">Unexpected handle kind.</exception>
1549 <member name="M:System.Reflection.Metadata.Ecma335.CodedIndex.HasConstant(System.Reflection.Metadata.EntityHandle)">
1551 Calculates a HasConstant coded index for the specified handle.
1553 <param name="handle"><see cref="T:System.Reflection.Metadata.ParameterHandle"/>, <see cref="T:System.Reflection.Metadata.FieldDefinitionHandle"/>, or <see cref="T:System.Reflection.Metadata.PropertyDefinitionHandle"/></param>
1554 <exception cref="T:System.ArgumentException">Unexpected handle kind.</exception>
1556 <member name="M:System.Reflection.Metadata.Ecma335.CodedIndex.CustomAttributeType(System.Reflection.Metadata.EntityHandle)">
1558 Calculates a CustomAttributeType coded index for the specified handle.
1560 <param name="handle"><see cref="T:System.Reflection.Metadata.MethodDefinitionHandle"/> or <see cref="T:System.Reflection.Metadata.MemberReferenceHandle"/></param>
1561 <exception cref="T:System.ArgumentException">Unexpected handle kind.</exception>
1563 <member name="M:System.Reflection.Metadata.Ecma335.CodedIndex.HasDeclSecurity(System.Reflection.Metadata.EntityHandle)">
1565 Calculates a HasDeclSecurity coded index for the specified handle.
1567 <param name="handle"><see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/>, <see cref="T:System.Reflection.Metadata.MethodDefinitionHandle"/>, or <see cref="T:System.Reflection.Metadata.AssemblyDefinitionHandle"/></param>
1568 <exception cref="T:System.ArgumentException">Unexpected handle kind.</exception>
1570 <member name="M:System.Reflection.Metadata.Ecma335.CodedIndex.HasFieldMarshal(System.Reflection.Metadata.EntityHandle)">
1572 Calculates a HasFieldMarshal coded index for the specified handle.
1574 <param name="handle"><see cref = "T:System.Reflection.Metadata.ParameterHandle" /> or <see cref="T:System.Reflection.Metadata.FieldDefinitionHandle"/></param>
1575 <exception cref="T:System.ArgumentException">Unexpected handle kind.</exception>
1577 <member name="M:System.Reflection.Metadata.Ecma335.CodedIndex.HasSemantics(System.Reflection.Metadata.EntityHandle)">
1579 Calculates a HasSemantics coded index for the specified handle.
1581 <param name="handle"><see cref="T:System.Reflection.Metadata.EventDefinitionHandle"/> or <see cref="T:System.Reflection.Metadata.PropertyDefinitionHandle"/></param>
1582 <exception cref="T:System.ArgumentException">Unexpected handle kind.</exception>
1584 <member name="M:System.Reflection.Metadata.Ecma335.CodedIndex.Implementation(System.Reflection.Metadata.EntityHandle)">
1586 Calculates a Implementation coded index for the specified handle.
1588 <param name="handle"><see cref="T:System.Reflection.Metadata.AssemblyFileHandle"/>, <see cref="T:System.Reflection.Metadata.ExportedTypeHandle"/> or <see cref="T:System.Reflection.Metadata.AssemblyReferenceHandle"/></param>
1589 <exception cref="T:System.ArgumentException">Unexpected handle kind.</exception>
1591 <member name="M:System.Reflection.Metadata.Ecma335.CodedIndex.MemberForwarded(System.Reflection.Metadata.EntityHandle)">
1593 Calculates a MemberForwarded coded index for the specified handle.
1595 <param name="handle"><see cref="T:System.Reflection.Metadata.FieldDefinition"/>, <see cref="T:System.Reflection.Metadata.MethodDefinition"/></param>
1596 <exception cref="T:System.ArgumentException">Unexpected handle kind.</exception>
1598 <member name="M:System.Reflection.Metadata.Ecma335.CodedIndex.MemberRefParent(System.Reflection.Metadata.EntityHandle)">
1600 Calculates a MemberRefParent coded index for the specified handle.
1602 <param name="handle">
1603 <see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/>,
1604 <see cref="T:System.Reflection.Metadata.TypeReferenceHandle"/>,
1605 <see cref="T:System.Reflection.Metadata.ModuleReferenceHandle"/>,
1606 <see cref="T:System.Reflection.Metadata.MethodDefinitionHandle"/>, or
1607 <see cref="T:System.Reflection.Metadata.TypeSpecificationHandle"/>.
1609 <exception cref="T:System.ArgumentException">Unexpected handle kind.</exception>
1611 <member name="M:System.Reflection.Metadata.Ecma335.CodedIndex.MethodDefOrRef(System.Reflection.Metadata.EntityHandle)">
1613 Calculates a MethodDefOrRef coded index for the specified handle.
1615 <param name="handle"><see cref="T:System.Reflection.Metadata.MethodDefinitionHandle"/> or <see cref="T:System.Reflection.Metadata.MemberReferenceHandle"/></param>
1616 <exception cref="T:System.ArgumentException">Unexpected handle kind.</exception>
1618 <member name="M:System.Reflection.Metadata.Ecma335.CodedIndex.ResolutionScope(System.Reflection.Metadata.EntityHandle)">
1620 Calculates a ResolutionScope coded index for the specified handle.
1622 <param name="handle"><see cref="T:System.Reflection.Metadata.ModuleDefinitionHandle"/>, <see cref="T:System.Reflection.Metadata.ModuleReferenceHandle"/>, <see cref="T:System.Reflection.Metadata.AssemblyReferenceHandle"/> or <see cref="T:System.Reflection.Metadata.TypeReferenceHandle"/></param>
1623 <exception cref="T:System.ArgumentException">Unexpected handle kind.</exception>
1625 <member name="M:System.Reflection.Metadata.Ecma335.CodedIndex.TypeDefOrRef(System.Reflection.Metadata.EntityHandle)">
1627 Calculates a TypeDefOrRef coded index for the specified handle.
1629 <param name="handle"><see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/> or <see cref="T:System.Reflection.Metadata.TypeReferenceHandle"/></param>
1630 <exception cref="T:System.ArgumentException">Unexpected handle kind.</exception>
1632 <member name="M:System.Reflection.Metadata.Ecma335.CodedIndex.TypeDefOrRefOrSpec(System.Reflection.Metadata.EntityHandle)">
1634 Calculates a TypeDefOrRefOrSpec coded index for the specified handle.
1636 <param name="handle"><see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/>, <see cref="T:System.Reflection.Metadata.TypeReferenceHandle"/> or <see cref="T:System.Reflection.Metadata.TypeSpecificationHandle"/></param>
1637 <exception cref="T:System.ArgumentException">Unexpected handle kind.</exception>
1639 <member name="M:System.Reflection.Metadata.Ecma335.CodedIndex.TypeOrMethodDef(System.Reflection.Metadata.EntityHandle)">
1641 Calculates a TypeOrMethodDef coded index for the specified handle.
1643 <param name="handle"><see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/> or <see cref="T:System.Reflection.Metadata.MethodDefinitionHandle"/></param>
1644 <exception cref="T:System.ArgumentException">Unexpected handle kind.</exception>
1646 <member name="M:System.Reflection.Metadata.Ecma335.CodedIndex.HasCustomDebugInformation(System.Reflection.Metadata.EntityHandle)">
1648 Calculates a HasCustomDebugInformation coded index for the specified handle.
1650 <param name="handle">
1651 <see cref="T:System.Reflection.Metadata.MethodDefinitionHandle"/>,
1652 <see cref="T:System.Reflection.Metadata.FieldDefinitionHandle"/>,
1653 <see cref="T:System.Reflection.Metadata.TypeReferenceHandle"/>,
1654 <see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/>,
1655 <see cref="T:System.Reflection.Metadata.ParameterHandle"/>,
1656 <see cref="T:System.Reflection.Metadata.InterfaceImplementationHandle"/>,
1657 <see cref="T:System.Reflection.Metadata.MemberReferenceHandle"/>,
1658 <see cref="T:System.Reflection.Metadata.ModuleDefinitionHandle"/>,
1659 <see cref="T:System.Reflection.Metadata.DeclarativeSecurityAttributeHandle"/>,
1660 <see cref="T:System.Reflection.Metadata.PropertyDefinitionHandle"/>,
1661 <see cref="T:System.Reflection.Metadata.EventDefinitionHandle"/>,
1662 <see cref="T:System.Reflection.Metadata.StandaloneSignatureHandle"/>,
1663 <see cref="T:System.Reflection.Metadata.ModuleReferenceHandle"/>,
1664 <see cref="T:System.Reflection.Metadata.TypeSpecificationHandle"/>,
1665 <see cref="T:System.Reflection.Metadata.AssemblyDefinitionHandle"/>,
1666 <see cref="T:System.Reflection.Metadata.AssemblyReferenceHandle"/>,
1667 <see cref="T:System.Reflection.Metadata.AssemblyFileHandle"/>,
1668 <see cref="T:System.Reflection.Metadata.ExportedTypeHandle"/>,
1669 <see cref="T:System.Reflection.Metadata.ManifestResourceHandle"/>,
1670 <see cref="T:System.Reflection.Metadata.GenericParameterHandle"/>,
1671 <see cref="T:System.Reflection.Metadata.GenericParameterConstraintHandle"/>,
1672 <see cref="T:System.Reflection.Metadata.MethodSpecificationHandle"/>,
1673 <see cref="T:System.Reflection.Metadata.DocumentHandle"/>,
1674 <see cref="T:System.Reflection.Metadata.LocalScopeHandle"/>,
1675 <see cref="T:System.Reflection.Metadata.LocalVariableHandle"/>,
1676 <see cref="T:System.Reflection.Metadata.LocalConstantHandle"/> or
1677 <see cref="T:System.Reflection.Metadata.ImportScopeHandle"/>.
1679 <exception cref="T:System.ArgumentException">Unexpected handle kind.</exception>
1681 <member name="T:System.Reflection.Metadata.Ecma335.PortablePdbBuilder">
1683 Builder of a Portable PDB image.
1686 <member name="M:System.Reflection.Metadata.Ecma335.PortablePdbBuilder.#ctor(System.Reflection.Metadata.Ecma335.MetadataBuilder,System.Collections.Immutable.ImmutableArray{System.Int32},System.Reflection.Metadata.MethodDefinitionHandle,System.Func{System.Collections.Generic.IEnumerable{System.Reflection.Metadata.Blob},System.Reflection.Metadata.BlobContentId})">
1688 Creates a builder of a Portable PDB image.
1690 <param name="tablesAndHeaps">
1691 Builder populated with debug metadata entities stored in tables and values stored in heaps.
1692 The entities and values will be enumerated when serializing the Portable PDB image.
1694 <param name="typeSystemRowCounts">
1695 Row counts of all tables that the associated type-system metadata contain.
1696 Each slot in the array corresponds to a table (<see cref="T:System.Reflection.Metadata.Ecma335.TableIndex"/>).
1697 The length of the array must be equal to <see cref="F:System.Reflection.Metadata.Ecma335.MetadataTokens.TableCount"/>.
1699 <param name="entryPoint">
1700 Entry point method definition handle.
1702 <param name="idProvider">
1703 Function calculating id of content represented as a sequence of blobs.
1704 If not specified a default function that ignores the content and returns current time-based content id is used
1705 (<see cref="M:System.Reflection.Metadata.BlobContentId.GetTimeBasedProvider"/>).
1706 You must specify a deterministic function to produce a deterministic Portable PDB image.
1708 <exception cref="T:System.ArgumentNullException"><paramref name="tablesAndHeaps"/> or <paramref name="typeSystemRowCounts"/> is null.</exception>
1710 <member name="M:System.Reflection.Metadata.Ecma335.PortablePdbBuilder.SerializeStandalonePdbStream(System.Reflection.Metadata.BlobBuilder)">
1712 Serialized #Pdb stream.
1715 <member name="M:System.Reflection.Metadata.Ecma335.PortablePdbBuilder.Serialize(System.Reflection.Metadata.BlobBuilder)">
1717 Serializes Portable PDB content into the given <see cref="T:System.Reflection.Metadata.BlobBuilder"/>.
1719 <param name="builder">Builder to write to.</param>
1720 <returns>The id of the serialized content.</returns>
1721 <exception cref="T:System.ArgumentNullException"><paramref name="builder"/> is null.</exception>
1723 <member name="M:System.Reflection.Metadata.Ecma335.BlobEncoder.FieldSignature">
1725 Encodes Field Signature blob.
1727 <returns>Encoder of the field type.</returns>
1729 <member name="M:System.Reflection.Metadata.Ecma335.BlobEncoder.MethodSpecificationSignature(System.Int32)">
1731 Encodes Method Specification Signature blob.
1733 <param name="genericArgumentCount">Number of generic arguments.</param>
1734 <returns>Encoder of generic arguments.</returns>
1735 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="genericArgumentCount"/> is not in range [0, 0xffff].</exception>
1737 <member name="M:System.Reflection.Metadata.Ecma335.BlobEncoder.MethodSignature(System.Reflection.Metadata.SignatureCallingConvention,System.Int32,System.Boolean)">
1739 Encodes Method Signature blob.
1741 <param name="convention">Calling convention.</param>
1742 <param name="genericParameterCount">Number of generic parameters.</param>
1743 <param name="isInstanceMethod">True to encode an instance method signature, false to encode a static method signature.</param>
1744 <returns>An Encoder of the rest of the signature including return value and parameters.</returns>
1745 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="genericParameterCount"/> is not in range [0, 0xffff].</exception>
1747 <member name="M:System.Reflection.Metadata.Ecma335.BlobEncoder.PropertySignature(System.Boolean)">
1749 Encodes Property Signature blob.
1751 <param name="isInstanceProperty">True to encode an instance property signature, false to encode a static property signature.</param>
1752 <returns>An Encoder of the rest of the signature including return value and parameters, which has the same structure as Method Signature.</returns>
1754 <member name="M:System.Reflection.Metadata.Ecma335.BlobEncoder.CustomAttributeSignature(System.Reflection.Metadata.Ecma335.FixedArgumentsEncoder@,System.Reflection.Metadata.Ecma335.CustomAttributeNamedArgumentsEncoder@)">
1756 Encodes Custom Attribute Signature blob.
1757 Returns a pair of encoders that must be used in the order they appear in the parameter list.
1759 <param name="fixedArguments">Use first, to encode fixed arguments.</param>
1760 <param name="namedArguments">Use second, to encode named arguments.</param>
1762 <member name="M:System.Reflection.Metadata.Ecma335.BlobEncoder.CustomAttributeSignature(System.Action{System.Reflection.Metadata.Ecma335.FixedArgumentsEncoder},System.Action{System.Reflection.Metadata.Ecma335.CustomAttributeNamedArgumentsEncoder})">
1764 Encodes Custom Attribute Signature blob.
1766 <param name="fixedArguments">Called first, to encode fixed arguments.</param>
1767 <param name="namedArguments">Called second, to encode named arguments.</param>
1768 <exception cref="T:System.ArgumentNullException"><paramref name="fixedArguments"/> or <paramref name="namedArguments"/> is null.</exception>
1770 <member name="M:System.Reflection.Metadata.Ecma335.BlobEncoder.LocalVariableSignature(System.Int32)">
1772 Encodes Local Variable Signature.
1774 <param name="variableCount">Number of local variables.</param>
1775 <returns>Encoder of a sequence of local variables.</returns>
1776 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="variableCount"/> is not in range [0, 0x1fffffff].</exception>
1778 <member name="M:System.Reflection.Metadata.Ecma335.BlobEncoder.TypeSpecificationSignature">
1780 Encodes Type Specification Signature.
1783 Type encoder of the structured type represented by the Type Specification (it shall not encode a primitive type).
1786 <member name="M:System.Reflection.Metadata.Ecma335.BlobEncoder.PermissionSetBlob(System.Int32)">
1788 Encodes a Permission Set blob.
1790 <param name="attributeCount">Number of attributes in the set.</param>
1791 <returns>Permission Set encoder.</returns>
1792 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="attributeCount"/> is not in range [0, 0x1fffffff].</exception>
1794 <member name="M:System.Reflection.Metadata.Ecma335.BlobEncoder.PermissionSetArguments(System.Int32)">
1796 Encodes Permission Set arguments.
1798 <param name="argumentCount">Number of arguments in the set.</param>
1799 <returns>Encoder of the arguments of the set.</returns>
1801 <member name="M:System.Reflection.Metadata.Ecma335.MethodSignatureEncoder.Parameters(System.Int32,System.Reflection.Metadata.Ecma335.ReturnTypeEncoder@,System.Reflection.Metadata.Ecma335.ParametersEncoder@)">
1803 Encodes return type and parameters.
1804 Returns a pair of encoders that must be used in the order they appear in the parameter list.
1806 <param name="parameterCount">Number of parameters.</param>
1807 <param name="returnType">Use first, to encode the return types.</param>
1808 <param name="parameters">Use second, to encode the actual parameters.</param>
1810 <member name="M:System.Reflection.Metadata.Ecma335.MethodSignatureEncoder.Parameters(System.Int32,System.Action{System.Reflection.Metadata.Ecma335.ReturnTypeEncoder},System.Action{System.Reflection.Metadata.Ecma335.ParametersEncoder})">
1812 Encodes return type and parameters.
1814 <param name="parameterCount">Number of parameters.</param>
1815 <param name="returnType">Called first, to encode the return type.</param>
1816 <param name="parameters">Called second, to encode the actual parameters.</param>
1817 <exception cref="T:System.ArgumentNullException"><paramref name="returnType"/> or <paramref name="parameters"/> is null.</exception>
1819 <member name="M:System.Reflection.Metadata.Ecma335.LiteralEncoder.TaggedVector(System.Reflection.Metadata.Ecma335.CustomAttributeArrayTypeEncoder@,System.Reflection.Metadata.Ecma335.VectorEncoder@)">
1821 Encodes the type and the items of a vector literal.
1822 Returns a pair of encoders that must be used in the order they appear in the parameter list.
1824 <param name="arrayType">Use first, to encode the type of the vector.</param>
1825 <param name="vector">Use second, to encode the items of the vector.</param>
1827 <member name="M:System.Reflection.Metadata.Ecma335.LiteralEncoder.TaggedVector(System.Action{System.Reflection.Metadata.Ecma335.CustomAttributeArrayTypeEncoder},System.Action{System.Reflection.Metadata.Ecma335.VectorEncoder})">
1829 Encodes the type and the items of a vector literal.
1831 <param name="arrayType">Called first, to encode the type of the vector.</param>
1832 <param name="vector">Called second, to encode the items of the vector.</param>
1833 <exception cref="T:System.ArgumentNullException"><paramref name="arrayType"/> or <paramref name="vector"/> is null.</exception>
1835 <member name="M:System.Reflection.Metadata.Ecma335.LiteralEncoder.Scalar">
1837 Encodes a scalar literal.
1839 <returns>Encoder of the literal value.</returns>
1841 <member name="M:System.Reflection.Metadata.Ecma335.LiteralEncoder.TaggedScalar(System.Reflection.Metadata.Ecma335.CustomAttributeElementTypeEncoder@,System.Reflection.Metadata.Ecma335.ScalarEncoder@)">
1843 Encodes the type and the value of a literal.
1844 Returns a pair of encoders that must be used in the order they appear in the parameter list.
1846 <param name="type">Called first, to encode the type of the literal.</param>
1847 <param name="scalar">Called second, to encode the value of the literal.</param>
1849 <member name="M:System.Reflection.Metadata.Ecma335.LiteralEncoder.TaggedScalar(System.Action{System.Reflection.Metadata.Ecma335.CustomAttributeElementTypeEncoder},System.Action{System.Reflection.Metadata.Ecma335.ScalarEncoder})">
1851 Encodes the type and the value of a literal.
1853 <param name="type">Called first, to encode the type of the literal.</param>
1854 <param name="scalar">Called second, to encode the value of the literal.</param>
1855 <exception cref="T:System.ArgumentNullException"><paramref name="type"/> or <paramref name="scalar"/> is null.</exception>
1857 <member name="M:System.Reflection.Metadata.Ecma335.ScalarEncoder.NullArray">
1859 Encodes <c>null</c> literal of type <see cref="T:System.Array"/>.
1862 <member name="M:System.Reflection.Metadata.Ecma335.ScalarEncoder.Constant(System.Object)">
1864 Encodes constant literal.
1866 <param name="value">
1868 <see cref="T:System.Boolean"/>,
1869 <see cref="T:System.Byte"/>,
1870 <see cref="T:System.SByte"/>,
1871 <see cref="T:System.Int16"/>,
1872 <see cref="T:System.UInt16"/>,
1873 <see cref="T:System.Int32"/>,
1874 <see cref="T:System.UInt32"/>,
1875 <see cref="T:System.Int64"/>,
1876 <see cref="T:System.UInt64"/>,
1877 <see cref="T:System.Single"/>,
1878 <see cref="T:System.Double"/>,
1879 <see cref="T:System.Char"/> (encoded as two-byte Unicode character),
1880 <see cref="T:System.String"/> (encoded as SerString), or
1881 <see cref="T:System.Enum"/> (encoded as the underlying integer value).
1883 <exception cref="T:System.ArgumentException">Unexpected constant type.</exception>
1885 <member name="M:System.Reflection.Metadata.Ecma335.ScalarEncoder.SystemType(System.String)">
1887 Encodes literal of type <see cref="T:System.Type"/> (possibly null).
1889 <param name="serializedTypeName">The name of the type, or null.</param>
1890 <exception cref="T:System.ArgumentException"><paramref name="serializedTypeName"/> is empty.</exception>
1892 <member name="M:System.Reflection.Metadata.Ecma335.NamedArgumentsEncoder.AddArgument(System.Boolean,System.Reflection.Metadata.Ecma335.NamedArgumentTypeEncoder@,System.Reflection.Metadata.Ecma335.NameEncoder@,System.Reflection.Metadata.Ecma335.LiteralEncoder@)">
1894 Encodes a named argument (field or property).
1895 Returns a triplet of encoders that must be used in the order they appear in the parameter list.
1897 <param name="isField">True to encode a field, false to encode a property.</param>
1898 <param name="type">Use first, to encode the type of the argument.</param>
1899 <param name="name">Use second, to encode the name of the field or property.</param>
1900 <param name="literal">Use third, to encode the literal value of the argument.</param>
1902 <member name="M:System.Reflection.Metadata.Ecma335.NamedArgumentsEncoder.AddArgument(System.Boolean,System.Action{System.Reflection.Metadata.Ecma335.NamedArgumentTypeEncoder},System.Action{System.Reflection.Metadata.Ecma335.NameEncoder},System.Action{System.Reflection.Metadata.Ecma335.LiteralEncoder})">
1904 Encodes a named argument (field or property).
1906 <param name="isField">True to encode a field, false to encode a property.</param>
1907 <param name="type">Called first, to encode the type of the argument.</param>
1908 <param name="name">Called second, to encode the name of the field or property.</param>
1909 <param name="literal">Called third, to encode the literal value of the argument.</param>
1910 <exception cref="T:System.ArgumentNullException"><paramref name="type"/>, <paramref name="name"/> or <paramref name="literal"/> is null.</exception>
1912 <member name="M:System.Reflection.Metadata.Ecma335.SignatureTypeEncoder.PrimitiveType(System.Reflection.Metadata.PrimitiveTypeCode)">
1914 Writes primitive type code.
1916 <param name="type">Any primitive type code except for <see cref="F:System.Reflection.Metadata.PrimitiveTypeCode.TypedReference"/> and <see cref="F:System.Reflection.Metadata.PrimitiveTypeCode.Void"/>.</param>
1917 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="type"/> is not valid in this context.</exception>
1919 <member name="M:System.Reflection.Metadata.Ecma335.SignatureTypeEncoder.Array(System.Reflection.Metadata.Ecma335.SignatureTypeEncoder@,System.Reflection.Metadata.Ecma335.ArrayShapeEncoder@)">
1921 Encodes an array type.
1922 Returns a pair of encoders that must be used in the order they appear in the parameter list.
1924 <param name="elementType">Use first, to encode the type of the element.</param>
1925 <param name="arrayShape">Use second, to encode the shape of the array.</param>
1927 <member name="M:System.Reflection.Metadata.Ecma335.SignatureTypeEncoder.Array(System.Action{System.Reflection.Metadata.Ecma335.SignatureTypeEncoder},System.Action{System.Reflection.Metadata.Ecma335.ArrayShapeEncoder})">
1929 Encodes an array type.
1931 <param name="elementType">Called first, to encode the type of the element.</param>
1932 <param name="arrayShape">Called second, to encode the shape of the array.</param>
1933 <exception cref="T:System.ArgumentNullException"><paramref name="elementType"/> or <paramref name="arrayShape"/> is null.</exception>
1935 <member name="M:System.Reflection.Metadata.Ecma335.SignatureTypeEncoder.Type(System.Reflection.Metadata.EntityHandle,System.Boolean)">
1937 Encodes a reference to a type.
1939 <param name="type"><see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/> or <see cref="T:System.Reflection.Metadata.TypeReferenceHandle"/>.</param>
1940 <param name="isValueType">True to mark the type as value type, false to mark it as a reference type in the signature.</param>
1941 <exception cref="T:System.ArgumentException"><paramref name="type"/> doesn't have the expected handle kind.</exception>
1943 <member name="M:System.Reflection.Metadata.Ecma335.SignatureTypeEncoder.FunctionPointer(System.Reflection.Metadata.SignatureCallingConvention,System.Reflection.Metadata.Ecma335.FunctionPointerAttributes,System.Int32)">
1945 Starts a function pointer signature.
1947 <param name="convention">Calling convention.</param>
1948 <param name="attributes">Function pointer attributes.</param>
1949 <param name="genericParameterCount">Generic parameter count.</param>
1950 <exception cref="T:System.ArgumentException"><paramref name="attributes"/> is invalid.</exception>
1951 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="genericParameterCount"/> is not in range [0, 0xffff].</exception>
1953 <member name="M:System.Reflection.Metadata.Ecma335.SignatureTypeEncoder.GenericInstantiation(System.Reflection.Metadata.EntityHandle,System.Int32,System.Boolean)">
1955 Starts a generic instantiation signature.
1957 <param name="genericType"><see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/> or <see cref="T:System.Reflection.Metadata.TypeReferenceHandle"/>.</param>
1958 <param name="genericArgumentCount">Generic argument count.</param>
1959 <param name="isValueType">True to mark the type as value type, false to mark it as a reference type in the signature.</param>
1960 <exception cref="T:System.ArgumentException"><paramref name="genericType"/> doesn't have the expected handle kind.</exception>
1961 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="genericArgumentCount"/> is not in range [1, 0xffff].</exception>
1963 <member name="M:System.Reflection.Metadata.Ecma335.SignatureTypeEncoder.GenericMethodTypeParameter(System.Int32)">
1965 Encodes a reference to type parameter of a containing generic method.
1967 <param name="parameterIndex">Parameter index.</param>
1968 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="parameterIndex"/> is not in range [0, 0xffff].</exception>
1970 <member name="M:System.Reflection.Metadata.Ecma335.SignatureTypeEncoder.GenericTypeParameter(System.Int32)">
1972 Encodes a reference to type parameter of a containing generic type.
1974 <param name="parameterIndex">Parameter index.</param>
1975 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="parameterIndex"/> is not in range [0, 0xffff].</exception>
1977 <member name="M:System.Reflection.Metadata.Ecma335.SignatureTypeEncoder.Pointer">
1979 Starts pointer signature.
1982 <member name="M:System.Reflection.Metadata.Ecma335.SignatureTypeEncoder.VoidPointer">
1984 Encodes <code>void*</code>.
1987 <member name="M:System.Reflection.Metadata.Ecma335.SignatureTypeEncoder.SZArray">
1989 Starts SZ array (vector) signature.
1992 <member name="M:System.Reflection.Metadata.Ecma335.SignatureTypeEncoder.CustomModifiers">
1994 Starts a signature of a type with custom modifiers.
1997 <member name="M:System.Reflection.Metadata.Ecma335.CustomModifiersEncoder.AddModifier(System.Reflection.Metadata.EntityHandle,System.Boolean)">
1999 Encodes a custom modifier.
2001 <param name="type"><see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/>, <see cref="T:System.Reflection.Metadata.TypeReferenceHandle"/> or <see cref="T:System.Reflection.Metadata.TypeSpecificationHandle"/>.</param>
2002 <param name="isOptional">Is optional modifier.</param>
2003 <returns>Encoder of subsequent modifiers.</returns>
2004 <exception cref="T:System.ArgumentException"><paramref name="type"/> is nil or of an unexpected kind.</exception>
2006 <member name="M:System.Reflection.Metadata.Ecma335.ArrayShapeEncoder.Shape(System.Int32,System.Collections.Immutable.ImmutableArray{System.Int32},System.Collections.Immutable.ImmutableArray{System.Int32})">
2008 Encodes array shape.
2010 <param name="rank">The number of dimensions in the array (shall be 1 or more).</param>
2011 <param name="sizes">
2012 Dimension sizes. The array may be shorter than <paramref name="rank"/> but not longer.
2014 <param name="lowerBounds">
2015 Dimension lower bounds, or <c>default(<see cref="T:System.Collections.Immutable.ImmutableArray`1"/>)</c> to set all <paramref name="rank"/> lower bounds to 0.
2016 The array may be shorter than <paramref name="rank"/> but not longer.
2018 <exception cref="T:System.ArgumentOutOfRangeException">
2019 <paramref name="rank"/> is outside of range [1, 0xffff],
2020 smaller than <paramref name="sizes"/>.Length, or
2021 smaller than <paramref name="lowerBounds"/>.Length.
2023 <exception cref="T:System.ArgumentNullException"><paramref name="sizes"/> is null.</exception>
2025 <member name="T:System.Reflection.Metadata.Ecma335.MetadataSizes">
2027 Provides information on sizes of various metadata structures.
2030 <member name="P:System.Reflection.Metadata.Ecma335.MetadataSizes.HeapSizes">
2032 Exact (unaligned) heap sizes.
2034 <remarks>Use <see cref="M:System.Reflection.Metadata.Ecma335.MetadataSizes.GetAlignedHeapSize(System.Reflection.Metadata.Ecma335.HeapIndex)"/> to get an aligned heap size.</remarks>
2036 <member name="P:System.Reflection.Metadata.Ecma335.MetadataSizes.RowCounts">
2041 <member name="P:System.Reflection.Metadata.Ecma335.MetadataSizes.ExternalRowCounts">
2043 External table row counts.
2046 <member name="F:System.Reflection.Metadata.Ecma335.MetadataSizes.PresentTablesMask">
2048 Non-empty tables that are emitted into the metadata table stream.
2051 <member name="F:System.Reflection.Metadata.Ecma335.MetadataSizes.ExternalTablesMask">
2053 Non-empty tables stored in an external metadata table stream that might be referenced from the metadata table stream being emitted.
2056 <member name="F:System.Reflection.Metadata.Ecma335.MetadataSizes.MetadataStreamStorageSize">
2058 Overall size of metadata stream storage (stream headers, table stream, heaps, additional streams).
2059 Aligned to <see cref="F:System.Reflection.Metadata.Ecma335.MetadataSizes.StreamAlignment"/>.
2062 <member name="F:System.Reflection.Metadata.Ecma335.MetadataSizes.MetadataTableStreamSize">
2064 The size of metadata stream (#- or #~). Aligned.
2065 Aligned to <see cref="F:System.Reflection.Metadata.Ecma335.MetadataSizes.StreamAlignment"/>.
2068 <member name="F:System.Reflection.Metadata.Ecma335.MetadataSizes.StandalonePdbStreamSize">
2070 The size of #Pdb stream. Aligned.
2073 <member name="P:System.Reflection.Metadata.Ecma335.MetadataSizes.MetadataHeaderSize">
2075 Metadata header size.
2077 - metadata storage signature
2082 <member name="P:System.Reflection.Metadata.Ecma335.MetadataSizes.MetadataSize">
2084 Total size of metadata (header and all streams).
2087 <member name="M:System.Reflection.Metadata.Ecma335.MetadataSizes.GetAlignedHeapSize(System.Reflection.Metadata.Ecma335.HeapIndex)">
2089 Returns aligned size of the specified heap.
2092 <member name="T:System.Reflection.Metadata.Ecma335.SignatureDecoder`2">
2094 Decodes signature blobs.
2095 See Metadata Specification section II.23.2: Blobs and signatures.
2098 <member name="M:System.Reflection.Metadata.Ecma335.SignatureDecoder`2.#ctor(System.Reflection.Metadata.ISignatureTypeProvider{`0,`1},System.Reflection.Metadata.MetadataReader,`1)">
2100 Creates a new SignatureDecoder.
2102 <param name="provider">The provider used to obtain type symbols as the signature is decoded.</param>
2103 <param name="metadataReader">
2104 The metadata reader from which the signature was obtained. It may be null if the given provider allows it.
2106 <param name="genericContext">
2107 Additional context needed to resolve generic parameters.
2110 <member name="M:System.Reflection.Metadata.Ecma335.SignatureDecoder`2.DecodeType(System.Reflection.Metadata.BlobReader@,System.Boolean)">
2112 Decodes a type embedded in a signature and advances the reader past the type.
2114 <param name="blobReader">The blob reader positioned at the leading SignatureTypeCode</param>
2115 <param name="allowTypeSpecifications">Allow a <see cref="T:System.Reflection.Metadata.TypeSpecificationHandle"/> to follow a (CLASS | VALUETYPE) in the signature.
2116 At present, the only context where that would be valid is in a LocalConstantSig as defined by the Portable PDB specification.
2118 <returns>The decoded type.</returns>
2119 <exception cref="T:System.BadImageFormatException">The reader was not positioned at a valid signature type.</exception>
2121 <member name="M:System.Reflection.Metadata.Ecma335.SignatureDecoder`2.DecodeTypeSequence(System.Reflection.Metadata.BlobReader@)">
2123 Decodes a list of types, with at least one instance that is preceded by its count as a compressed integer.
2126 <member name="M:System.Reflection.Metadata.Ecma335.SignatureDecoder`2.DecodeMethodSignature(System.Reflection.Metadata.BlobReader@)">
2128 Decodes a method (definition, reference, or standalone) or property signature blob.
2130 <param name="blobReader">BlobReader positioned at a method signature.</param>
2131 <returns>The decoded method signature.</returns>
2132 <exception cref="T:System.BadImageFormatException">The method signature is invalid.</exception>
2134 <member name="M:System.Reflection.Metadata.Ecma335.SignatureDecoder`2.DecodeMethodSpecificationSignature(System.Reflection.Metadata.BlobReader@)">
2136 Decodes a method specification signature blob and advances the reader past the signature.
2138 <param name="blobReader">A BlobReader positioned at a valid method specification signature.</param>
2139 <returns>The types used to instantiate a generic method via the method specification.</returns>
2141 <member name="M:System.Reflection.Metadata.Ecma335.SignatureDecoder`2.DecodeLocalSignature(System.Reflection.Metadata.BlobReader@)">
2143 Decodes a local variable signature blob and advances the reader past the signature.
2145 <param name="blobReader">The blob reader positioned at a local variable signature.</param>
2146 <returns>The local variable types.</returns>
2147 <exception cref="T:System.BadImageFormatException">The local variable signature is invalid.</exception>
2149 <member name="M:System.Reflection.Metadata.Ecma335.SignatureDecoder`2.DecodeFieldSignature(System.Reflection.Metadata.BlobReader@)">
2151 Decodes a field signature blob and advances the reader past the signature.
2153 <param name="blobReader">The blob reader positioned at a field signature.</param>
2154 <returns>The decoded field type.</returns>
2156 <member name="T:System.Reflection.Metadata.Ecma335.ExportedTypeExtensions">
2158 Provides an extension method to access the TypeDefinitionId column of the ExportedType table.
2161 <member name="M:System.Reflection.Metadata.Ecma335.ExportedTypeExtensions.GetTypeDefinitionId(System.Reflection.Metadata.ExportedType)">
2163 Gets a hint at the likely row number of the target type in the TypeDef table of its module.
2164 If the namespaces and names do not match, resolution falls back to a full search of the
2165 target TypeDef table. Ignored and should be zero if <see cref="P:System.Reflection.Metadata.ExportedType.IsForwarder"/> is
2169 <member name="T:System.Reflection.Metadata.Ecma335.MetadataReaderExtensions">
2171 Provides extension methods for working with certain raw elements of the ECMA-335 metadata tables and heaps.
2174 <member name="M:System.Reflection.Metadata.Ecma335.MetadataReaderExtensions.GetTableRowCount(System.Reflection.Metadata.MetadataReader,System.Reflection.Metadata.Ecma335.TableIndex)">
2176 Returns the number of rows in the specified table.
2178 <exception cref="T:System.ArgumentNullException"><paramref name="reader"/> is null.</exception>
2179 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="tableIndex"/> is not a valid table index.</exception>
2181 <member name="M:System.Reflection.Metadata.Ecma335.MetadataReaderExtensions.GetTableRowSize(System.Reflection.Metadata.MetadataReader,System.Reflection.Metadata.Ecma335.TableIndex)">
2183 Returns the size of a row in the specified table.
2185 <exception cref="T:System.ArgumentNullException"><paramref name="reader"/> is null.</exception>
2186 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="tableIndex"/> is not a valid table index.</exception>
2188 <member name="M:System.Reflection.Metadata.Ecma335.MetadataReaderExtensions.GetTableMetadataOffset(System.Reflection.Metadata.MetadataReader,System.Reflection.Metadata.Ecma335.TableIndex)">
2190 Returns the offset from the start of metadata to the specified table.
2192 <exception cref="T:System.ArgumentNullException"><paramref name="reader"/> is null.</exception>
2193 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="tableIndex"/> is not a valid table index.</exception>
2195 <member name="M:System.Reflection.Metadata.Ecma335.MetadataReaderExtensions.GetHeapSize(System.Reflection.Metadata.MetadataReader,System.Reflection.Metadata.Ecma335.HeapIndex)">
2197 Returns the size of the specified heap.
2199 <exception cref="T:System.ArgumentNullException"><paramref name="reader"/> is null.</exception>
2200 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="heapIndex"/> is not a valid heap index.</exception>
2202 <member name="M:System.Reflection.Metadata.Ecma335.MetadataReaderExtensions.GetHeapMetadataOffset(System.Reflection.Metadata.MetadataReader,System.Reflection.Metadata.Ecma335.HeapIndex)">
2204 Returns the offset from the start of metadata to the specified heap.
2206 <exception cref="T:System.ArgumentNullException"><paramref name="reader"/> is null.</exception>
2207 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="heapIndex"/> is not a valid heap index.</exception>
2209 <member name="M:System.Reflection.Metadata.Ecma335.MetadataReaderExtensions.GetMetadataBlock(System.Reflection.Metadata.MetadataReader,System.Reflection.Metadata.Ecma335.HeapIndex)">
2211 Returns the size of the specified heap.
2213 <exception cref="T:System.ArgumentNullException"><paramref name="reader"/> is null.</exception>
2214 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="heapIndex"/> is not a valid heap index.</exception>
2216 <member name="M:System.Reflection.Metadata.Ecma335.MetadataReaderExtensions.GetNextHandle(System.Reflection.Metadata.MetadataReader,System.Reflection.Metadata.UserStringHandle)">
2218 Returns the a handle to the UserString that follows the given one in the UserString heap or a nil handle if it is the last one.
2220 <exception cref="T:System.ArgumentNullException"><paramref name="reader"/> is null.</exception>
2222 <member name="M:System.Reflection.Metadata.Ecma335.MetadataReaderExtensions.GetNextHandle(System.Reflection.Metadata.MetadataReader,System.Reflection.Metadata.BlobHandle)">
2224 Returns the a handle to the Blob that follows the given one in the Blob heap or a nil handle if it is the last one.
2226 <exception cref="T:System.ArgumentNullException"><paramref name="reader"/> is null.</exception>
2228 <member name="M:System.Reflection.Metadata.Ecma335.MetadataReaderExtensions.GetNextHandle(System.Reflection.Metadata.MetadataReader,System.Reflection.Metadata.StringHandle)">
2230 Returns the a handle to the String that follows the given one in the String heap or a nil handle if it is the last one.
2232 <exception cref="T:System.ArgumentNullException"><paramref name="reader"/> is null.</exception>
2234 <member name="M:System.Reflection.Metadata.Ecma335.MetadataReaderExtensions.GetEditAndContinueLogEntries(System.Reflection.Metadata.MetadataReader)">
2236 Enumerates entries of EnC log.
2238 <exception cref="T:System.ArgumentNullException"><paramref name="reader"/> is null.</exception>
2240 <member name="M:System.Reflection.Metadata.Ecma335.MetadataReaderExtensions.GetEditAndContinueMapEntries(System.Reflection.Metadata.MetadataReader)">
2242 Enumerates entries of EnC map.
2244 <exception cref="T:System.ArgumentNullException"><paramref name="reader"/> is null.</exception>
2246 <member name="M:System.Reflection.Metadata.Ecma335.MetadataReaderExtensions.GetTypesWithProperties(System.Reflection.Metadata.MetadataReader)">
2248 Enumerate types that define one or more properties.
2251 The resulting sequence corresponds exactly to entries in PropertyMap table,
2252 i.e. n-th returned <see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/> is stored in n-th row of PropertyMap.
2255 <member name="M:System.Reflection.Metadata.Ecma335.MetadataReaderExtensions.GetTypesWithEvents(System.Reflection.Metadata.MetadataReader)">
2257 Enumerate types that define one or more events.
2260 The resulting sequence corresponds exactly to entries in EventMap table,
2261 i.e. n-th returned <see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/> is stored in n-th row of EventMap.
2264 <member name="M:System.Reflection.Metadata.Ecma335.MetadataReaderExtensions.ResolveSignatureTypeKind(System.Reflection.Metadata.MetadataReader,System.Reflection.Metadata.EntityHandle,System.Byte)">
2266 Given a type handle and a raw type kind found in a signature blob determines whether the target type is a value type or a reference type.
2269 <member name="F:System.Reflection.Metadata.Ecma335.MetadataTokens.TableCount">
2271 Maximum number of tables that can be present in Ecma335 metadata.
2274 <member name="F:System.Reflection.Metadata.Ecma335.MetadataTokens.HeapCount">
2276 Maximum number of tables that can be present in Ecma335 metadata.
2279 <member name="M:System.Reflection.Metadata.Ecma335.MetadataTokens.GetRowNumber(System.Reflection.Metadata.MetadataReader,System.Reflection.Metadata.EntityHandle)">
2281 Returns the row number of a metadata table entry that corresponds
2282 to the specified <paramref name="handle"/> in the context of <paramref name="reader"/>.
2284 <returns>One based row number.</returns>
2285 <exception cref="T:System.ArgumentException">The <paramref name="handle"/> is not a valid metadata table handle.</exception>
2287 <member name="M:System.Reflection.Metadata.Ecma335.MetadataTokens.GetHeapOffset(System.Reflection.Metadata.MetadataReader,System.Reflection.Metadata.Handle)">
2289 Returns the offset of metadata heap data that corresponds
2290 to the specified <paramref name="handle"/> in the context of <paramref name="reader"/>.
2292 <returns>Zero based offset, or -1 if <paramref name="handle"/> isn't a metadata heap handle.</returns>
2293 <exception cref="T:System.NotSupportedException">The operation is not supported for the specified <paramref name="handle"/>.</exception>
2294 <exception cref="T:System.ArgumentException">The <paramref name="handle"/> is invalid.</exception>
2296 <member name="M:System.Reflection.Metadata.Ecma335.MetadataTokens.GetToken(System.Reflection.Metadata.MetadataReader,System.Reflection.Metadata.EntityHandle)">
2298 Returns the metadata token of the specified <paramref name="handle"/> in the context of <paramref name="reader"/>.
2300 <returns>Metadata token.</returns>
2301 <exception cref="T:System.NotSupportedException">The operation is not supported for the specified <paramref name="handle"/>.</exception>
2303 <member name="M:System.Reflection.Metadata.Ecma335.MetadataTokens.GetToken(System.Reflection.Metadata.MetadataReader,System.Reflection.Metadata.Handle)">
2305 Returns the metadata token of the specified <paramref name="handle"/> in the context of <paramref name="reader"/>.
2307 <returns>Metadata token.</returns>
2308 <exception cref="T:System.ArgumentException">
2309 Handle represents a metadata entity that doesn't have a token.
2310 A token can only be retrieved for a metadata table handle or a heap handle of type <see cref="F:System.Reflection.Metadata.HandleKind.UserString"/>.
2312 <exception cref="T:System.NotSupportedException">The operation is not supported for the specified <paramref name="handle"/>.</exception>
2314 <member name="M:System.Reflection.Metadata.Ecma335.MetadataTokens.GetRowNumber(System.Reflection.Metadata.EntityHandle)">
2316 Returns the row number of a metadata table entry that corresponds
2317 to the specified <paramref name="handle"/>.
2320 One based row number, or -1 if <paramref name="handle"/> can only be interpreted in a context of a specific <see cref="T:System.Reflection.Metadata.MetadataReader"/>.
2321 See <see cref="M:System.Reflection.Metadata.Ecma335.MetadataTokens.GetRowNumber(System.Reflection.Metadata.MetadataReader,System.Reflection.Metadata.EntityHandle)"/>.
2324 <member name="M:System.Reflection.Metadata.Ecma335.MetadataTokens.GetHeapOffset(System.Reflection.Metadata.Handle)">
2326 Returns the offset of metadata heap data that corresponds
2327 to the specified <paramref name="handle"/>.
2330 An offset in the corresponding heap, or -1 if <paramref name="handle"/> can only be interpreted in a context of a specific <see cref="T:System.Reflection.Metadata.MetadataReader"/> or <see cref="T:System.Reflection.Metadata.Ecma335.MetadataBuilder"/>.
2331 See <see cref="M:System.Reflection.Metadata.Ecma335.MetadataTokens.GetHeapOffset(System.Reflection.Metadata.MetadataReader,System.Reflection.Metadata.Handle)"/>.
2334 <member name="M:System.Reflection.Metadata.Ecma335.MetadataTokens.GetHeapOffset(System.Reflection.Metadata.BlobHandle)">
2336 Returns the offset of metadata heap data that corresponds
2337 to the specified <paramref name="handle"/>.
2340 Zero based offset, or -1 if <paramref name="handle"/> can only be interpreted in a context of a specific <see cref="T:System.Reflection.Metadata.MetadataReader"/> or <see cref="T:System.Reflection.Metadata.Ecma335.MetadataBuilder"/>.
2341 See <see cref="M:System.Reflection.Metadata.Ecma335.MetadataTokens.GetHeapOffset(System.Reflection.Metadata.MetadataReader,System.Reflection.Metadata.Handle)"/>.
2344 <member name="M:System.Reflection.Metadata.Ecma335.MetadataTokens.GetHeapOffset(System.Reflection.Metadata.GuidHandle)">
2346 Returns the offset of metadata heap data that corresponds
2347 to the specified <paramref name="handle"/>.
2350 Zero based offset, or -1 if <paramref name="handle"/> can only be interpreted in a context of a specific <see cref="T:System.Reflection.Metadata.MetadataReader"/> or <see cref="T:System.Reflection.Metadata.Ecma335.MetadataBuilder"/>.
2351 See <see cref="M:System.Reflection.Metadata.Ecma335.MetadataTokens.GetHeapOffset(System.Reflection.Metadata.MetadataReader,System.Reflection.Metadata.Handle)"/>.
2354 <member name="M:System.Reflection.Metadata.Ecma335.MetadataTokens.GetHeapOffset(System.Reflection.Metadata.UserStringHandle)">
2356 Returns the offset of metadata heap data that corresponds
2357 to the specified <paramref name="handle"/>.
2360 Zero based offset, or -1 if <paramref name="handle"/> can only be interpreted in a context of a specific <see cref="T:System.Reflection.Metadata.MetadataReader"/> or <see cref="T:System.Reflection.Metadata.Ecma335.MetadataBuilder"/>.
2361 See <see cref="M:System.Reflection.Metadata.Ecma335.MetadataTokens.GetHeapOffset(System.Reflection.Metadata.MetadataReader,System.Reflection.Metadata.Handle)"/>.
2364 <member name="M:System.Reflection.Metadata.Ecma335.MetadataTokens.GetHeapOffset(System.Reflection.Metadata.StringHandle)">
2366 Returns the offset of metadata heap data that corresponds
2367 to the specified <paramref name="handle"/>.
2370 Zero based offset, or -1 if <paramref name="handle"/> can only be interpreted in a context of a specific <see cref="T:System.Reflection.Metadata.MetadataReader"/> or <see cref="T:System.Reflection.Metadata.Ecma335.MetadataBuilder"/>.
2371 See <see cref="M:System.Reflection.Metadata.Ecma335.MetadataTokens.GetHeapOffset(System.Reflection.Metadata.MetadataReader,System.Reflection.Metadata.Handle)"/>.
2374 <member name="M:System.Reflection.Metadata.Ecma335.MetadataTokens.GetToken(System.Reflection.Metadata.Handle)">
2376 Returns the metadata token of the specified <paramref name="handle"/>.
2379 Metadata token, or 0 if <paramref name="handle"/> can only be interpreted in a context of a specific <see cref="T:System.Reflection.Metadata.MetadataReader"/>.
2380 See <see cref="M:System.Reflection.Metadata.Ecma335.MetadataTokens.GetToken(System.Reflection.Metadata.MetadataReader,System.Reflection.Metadata.Handle)"/>.
2382 <exception cref="T:System.ArgumentException">
2383 Handle represents a metadata entity that doesn't have a token.
2384 A token can only be retrieved for a metadata table handle or a heap handle of type <see cref="F:System.Reflection.Metadata.HandleKind.UserString"/>.
2387 <member name="M:System.Reflection.Metadata.Ecma335.MetadataTokens.GetToken(System.Reflection.Metadata.EntityHandle)">
2389 Returns the metadata token of the specified <paramref name="handle"/>.
2392 Metadata token, or 0 if <paramref name="handle"/> can only be interpreted in a context of a specific <see cref="T:System.Reflection.Metadata.MetadataReader"/>.
2393 See <see cref="M:System.Reflection.Metadata.Ecma335.MetadataTokens.GetToken(System.Reflection.Metadata.MetadataReader,System.Reflection.Metadata.EntityHandle)"/>.
2396 <member name="M:System.Reflection.Metadata.Ecma335.MetadataTokens.TryGetTableIndex(System.Reflection.Metadata.HandleKind,System.Reflection.Metadata.Ecma335.TableIndex@)">
2398 Gets the <see cref="T:System.Reflection.Metadata.Ecma335.TableIndex"/> of the table corresponding to the specified <see cref="T:System.Reflection.Metadata.HandleKind"/>.
2400 <param name="type">Handle type.</param>
2401 <param name="index">Table index.</param>
2402 <returns>True if the handle type corresponds to an Ecma335 or Portable PDB table, false otherwise.</returns>
2404 <member name="M:System.Reflection.Metadata.Ecma335.MetadataTokens.TryGetHeapIndex(System.Reflection.Metadata.HandleKind,System.Reflection.Metadata.Ecma335.HeapIndex@)">
2406 Gets the <see cref="T:System.Reflection.Metadata.Ecma335.HeapIndex"/> of the heap corresponding to the specified <see cref="T:System.Reflection.Metadata.HandleKind"/>.
2408 <param name="type">Handle type.</param>
2409 <param name="index">Heap index.</param>
2410 <returns>True if the handle type corresponds to an Ecma335 heap, false otherwise.</returns>
2412 <member name="M:System.Reflection.Metadata.Ecma335.MetadataTokens.Handle(System.Int32)">
2414 Creates a handle from a token value.
2416 <exception cref="T:System.ArgumentException">
2417 <paramref name="token"/> is not a valid metadata token.
2418 It must encode a metadata table entity or an offset in <see cref="F:System.Reflection.Metadata.HandleKind.UserString"/> heap.
2421 <member name="M:System.Reflection.Metadata.Ecma335.MetadataTokens.EntityHandle(System.Int32)">
2423 Creates an entity handle from a token value.
2425 <exception cref="T:System.ArgumentException"><paramref name="token"/> is not a valid metadata entity token.</exception>
2427 <member name="M:System.Reflection.Metadata.Ecma335.MetadataTokens.EntityHandle(System.Reflection.Metadata.Ecma335.TableIndex,System.Int32)">
2429 Creates an <see cref="T:System.Reflection.Metadata.EntityHandle"/> from a token value.
2431 <exception cref="T:System.ArgumentException">
2432 <paramref name="tableIndex"/> is not a valid table index.</exception>
2434 <member name="M:System.Reflection.Metadata.Ecma335.MetadataTokens.Handle(System.Reflection.Metadata.Ecma335.TableIndex,System.Int32)">
2436 Creates an <see cref="T:System.Reflection.Metadata.EntityHandle"/> from a token value.
2438 <exception cref="T:System.ArgumentException">
2439 <paramref name="tableIndex"/> is not a valid table index.</exception>
2441 <member name="T:System.Reflection.Metadata.Ecma335.HandleType">
2443 These constants are all in the byte range and apply to the interpretation of <see cref="P:System.Reflection.Metadata.Handle.VType"/>,
2446 <member name="F:System.Reflection.Metadata.Ecma335.HandleType.VirtualBit">
2448 Use the highest bit to mark tokens that are virtual (synthesized).
2449 We create virtual tokens to represent projected WinMD entities.
2452 <member name="F:System.Reflection.Metadata.Ecma335.HandleType.NonVirtualStringTypeMask">
2454 In the case of string handles, the two lower bits that (in addition to the
2455 virtual bit not included in this mask) encode how to obtain the string value.
2458 <member name="F:System.Reflection.Metadata.Ecma335.TokenTypeIds.VirtualBit">
2460 Use the highest bit to mark tokens that are virtual (synthesized).
2461 We create virtual tokens to represent projected WinMD entities.
2464 <member name="M:System.Reflection.Metadata.Ecma335.TokenTypeIds.IsEntityOrUserStringToken(System.UInt32)">
2466 Returns true if the token value can escape the metadata reader.
2467 We don't allow virtual tokens and heap tokens other than UserString to escape
2468 since the token type ids are internal to the reader and not specified by ECMA spec.
2470 Spec (Partition III, 1.9 Metadata tokens):
2471 Many CIL instructions are followed by a "metadata token". This is a 4-byte value, that specifies a row in a
2472 metadata table, or a starting byte offset in the User String heap.
2474 For example, a value of 0x02 specifies the TypeDef table; a value of 0x70 specifies the User
2475 String heap.The value corresponds to the number assigned to that metadata table (see Partition II for the full
2476 list of tables) or to 0x70 for the User String heap.The least-significant 3 bytes specify the target row within that
2477 metadata table, or starting byte offset within the User String heap.
2480 <member name="P:System.Reflection.Metadata.Ecma335.NamespaceCache.CacheIsRealized">
2482 Returns whether the namespaceTable has been created. If it hasn't, calling a GetXXX method
2483 on this will probably have a very high amount of overhead.
2486 <member name="M:System.Reflection.Metadata.Ecma335.NamespaceCache.GetSimpleName(System.Reflection.Metadata.NamespaceDefinitionHandle,System.Int32)">
2488 This will return a StringHandle for the simple name of a namespace name at the given segment index.
2489 If no segment index is passed explicitly or the "segment" index is greater than or equal to the number
2490 of segments, then the last segment is used. "Segment" in this context refers to part of a namespace
2493 Example: Given a NamespaceDefinitionHandle to "System.Collections.Generic.Test" called 'handle':
2495 reader.GetString(GetSimpleName(handle)) == "Test"
2496 reader.GetString(GetSimpleName(handle, 0)) == "System"
2497 reader.GetString(GetSimpleName(handle, 1)) == "Collections"
2498 reader.GetString(GetSimpleName(handle, 2)) == "Generic"
2499 reader.GetString(GetSimpleName(handle, 3)) == "Test"
2500 reader.GetString(GetSimpleName(handle, 1000)) == "Test"
2503 <member name="M:System.Reflection.Metadata.Ecma335.NamespaceCache.PopulateNamespaceTable">
2505 Two distinct namespace handles represent the same namespace if their full names are the same. This
2506 method merges builders corresponding to such namespace handles.
2509 <member name="M:System.Reflection.Metadata.Ecma335.NamespaceCache.MergeDuplicateNamespaces(System.Collections.Generic.Dictionary{System.Reflection.Metadata.NamespaceDefinitionHandle,System.Reflection.Metadata.Ecma335.NamespaceCache.NamespaceDataBuilder},System.Collections.Generic.Dictionary{System.String,System.Reflection.Metadata.Ecma335.NamespaceCache.NamespaceDataBuilder}@)">
2511 This will take 'table' and merge all of the NamespaceData instances that point to the same
2512 namespace. It has to create 'stringTable' as an intermediate dictionary, so it will hand it
2513 back to the caller should the caller want to use it.
2516 <member name="M:System.Reflection.Metadata.Ecma335.NamespaceCache.SynthesizeNamespaceData(System.String,System.Reflection.Metadata.NamespaceDefinitionHandle)">
2518 Creates a NamespaceDataBuilder instance that contains a synthesized NamespaceDefinitionHandle,
2519 as well as the name provided.
2522 <member name="M:System.Reflection.Metadata.Ecma335.NamespaceCache.LinkChildDataToParentData(System.Reflection.Metadata.Ecma335.NamespaceCache.NamespaceDataBuilder,System.Reflection.Metadata.Ecma335.NamespaceCache.NamespaceDataBuilder)">
2524 Quick convenience method that handles linking together child + parent
2527 <member name="M:System.Reflection.Metadata.Ecma335.NamespaceCache.LinkChildToParentNamespace(System.Collections.Generic.Dictionary{System.String,System.Reflection.Metadata.Ecma335.NamespaceCache.NamespaceDataBuilder},System.Reflection.Metadata.Ecma335.NamespaceCache.NamespaceDataBuilder,System.Collections.Generic.List{System.Reflection.Metadata.Ecma335.NamespaceCache.NamespaceDataBuilder}@)">
2529 Links a child to its parent namespace. If the parent namespace doesn't exist, this will create a
2530 virtual one. This will automatically link any virtual namespaces it creates up to its parents.
2533 <member name="M:System.Reflection.Metadata.Ecma335.NamespaceCache.ResolveParentChildRelationships(System.Collections.Generic.Dictionary{System.String,System.Reflection.Metadata.Ecma335.NamespaceCache.NamespaceDataBuilder},System.Collections.Generic.List{System.Reflection.Metadata.Ecma335.NamespaceCache.NamespaceDataBuilder}@)">
2535 This will link all parents/children in the given namespaces dictionary up to each other.
2537 In some cases, we need to synthesize namespaces that do not have any type definitions or forwarders
2538 of their own, but do have child namespaces. These are returned via the virtualNamespaces out
2542 <member name="M:System.Reflection.Metadata.Ecma335.NamespaceCache.PopulateTableWithTypeDefinitions(System.Collections.Generic.Dictionary{System.Reflection.Metadata.NamespaceDefinitionHandle,System.Reflection.Metadata.Ecma335.NamespaceCache.NamespaceDataBuilder})">
2544 Loops through all type definitions in metadata, adding them to the given table
2547 <member name="M:System.Reflection.Metadata.Ecma335.NamespaceCache.PopulateTableWithExportedTypes(System.Collections.Generic.Dictionary{System.Reflection.Metadata.NamespaceDefinitionHandle,System.Reflection.Metadata.Ecma335.NamespaceCache.NamespaceDataBuilder})">
2549 Loops through all type forwarders in metadata, adding them to the given table
2552 <member name="M:System.Reflection.Metadata.Ecma335.NamespaceCache.PopulateNamespaceList">
2554 Populates namespaceList with distinct namespaces. No ordering is guaranteed.
2557 <member name="M:System.Reflection.Metadata.Ecma335.NamespaceCache.EnsureNamespaceTableIsPopulated">
2559 If the namespace table doesn't exist, populates it!
2562 <member name="M:System.Reflection.Metadata.Ecma335.NamespaceCache.EnsureNamespaceListIsPopulated">
2564 If the namespace list doesn't exist, populates it!
2567 <member name="T:System.Reflection.Metadata.Ecma335.NamespaceCache.NamespaceDataBuilder">
2569 An intermediate class used to build NamespaceData instances. This was created because we wanted to
2570 use ImmutableArrays in NamespaceData, but having ArrayBuilders and ImmutableArrays that served the
2571 same purpose in NamespaceData got ugly. With the current design of how we create our Namespace
2572 dictionary, this needs to be a class because we have a many-to-one mapping between NamespaceHandles
2573 and NamespaceData. So, the pointer semantics must be preserved.
2575 This class assumes that the builders will not be modified in any way after the first call to
2579 <member name="M:System.Reflection.Metadata.Ecma335.NamespaceCache.NamespaceDataBuilder.Freeze">
2581 Returns a NamespaceData that represents this NamespaceDataBuilder instance. After calling
2582 this method, it is an error to use any methods or fields except Freeze() on the target
2583 NamespaceDataBuilder.
2586 <member name="M:System.Reflection.Metadata.Ecma335.FieldLayoutTableReader.FindFieldLayoutRowId(System.Reflection.Metadata.FieldDefinitionHandle)">
2588 Returns field offset for given field RowId, or -1 if not available.
2591 <member name="F:System.Reflection.Metadata.Ecma335.AssemblyRefTableReader.NumberOfNonVirtualRows">
2593 In CLI metadata equal to the actual number of entries in AssemblyRef table.
2594 In WinMD metadata it includes synthesized AssemblyRefs in addition.
2597 <member name="T:System.Reflection.Metadata.EntityHandle">
2599 Represents a metadata entity (type reference/definition/specification, method definition, custom attribute, etc.).
2602 Use <see cref="T:System.Reflection.Metadata.EntityHandle"/> to store multiple kinds of entity handles.
2603 It has smaller memory footprint than <see cref="T:System.Reflection.Metadata.Handle"/>.
2606 <member name="P:System.Reflection.Metadata.EntityHandle.SpecificHandleValue">
2608 Value stored in a specific entity handle (see <see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/>, <see cref="T:System.Reflection.Metadata.MethodDefinitionHandle"/>, etc.).
2611 <member name="M:System.Reflection.Metadata.BlobWriter.ContentEquals(System.Reflection.Metadata.BlobWriter)">
2613 Compares the current content of this writer with another one.
2616 <member name="M:System.Reflection.Metadata.BlobWriter.ToArray(System.Int32,System.Int32)">
2617 <exception cref="T:System.ArgumentOutOfRangeException">Range specified by <paramref name="start"/> and <paramref name="byteCount"/> falls outside of the bounds of the buffer content.</exception>
2619 <member name="M:System.Reflection.Metadata.BlobWriter.ToImmutableArray(System.Int32,System.Int32)">
2620 <exception cref="T:System.ArgumentOutOfRangeException">Range specified by <paramref name="start"/> and <paramref name="byteCount"/> falls outside of the bounds of the buffer content.</exception>
2622 <member name="M:System.Reflection.Metadata.BlobWriter.WriteBytes(System.Byte,System.Int32)">
2623 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="byteCount"/> is negative.</exception>
2625 <member name="M:System.Reflection.Metadata.BlobWriter.WriteBytes(System.Byte*,System.Int32)">
2626 <exception cref="T:System.ArgumentNullException"><paramref name="buffer"/> is null.</exception>
2627 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="byteCount"/> is negative.</exception>
2629 <member name="M:System.Reflection.Metadata.BlobWriter.WriteBytes(System.Reflection.Metadata.BlobBuilder)">
2630 <exception cref="T:System.ArgumentNullException"><paramref name="source"/> is null.</exception>
2632 <member name="M:System.Reflection.Metadata.BlobWriter.WriteBytes(System.IO.Stream,System.Int32)">
2633 <exception cref="T:System.ArgumentNullException"><paramref name="source"/> is null.</exception>
2634 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="byteCount"/> is negative.</exception>
2636 <member name="M:System.Reflection.Metadata.BlobWriter.WriteBytes(System.Collections.Immutable.ImmutableArray{System.Byte})">
2637 <exception cref="T:System.ArgumentNullException"><paramref name="buffer"/> is null.</exception>
2639 <member name="M:System.Reflection.Metadata.BlobWriter.WriteBytes(System.Collections.Immutable.ImmutableArray{System.Byte},System.Int32,System.Int32)">
2640 <exception cref="T:System.ArgumentNullException"><paramref name="buffer"/> is null.</exception>
2641 <exception cref="T:System.ArgumentOutOfRangeException">Range specified by <paramref name="start"/> and <paramref name="byteCount"/> falls outside of the bounds of the <paramref name="buffer"/>.</exception>
2643 <member name="M:System.Reflection.Metadata.BlobWriter.WriteBytes(System.Byte[])">
2644 <exception cref="T:System.ArgumentNullException"><paramref name="buffer"/> is null.</exception>
2646 <member name="M:System.Reflection.Metadata.BlobWriter.WriteBytes(System.Byte[],System.Int32,System.Int32)">
2647 <exception cref="T:System.ArgumentNullException"><paramref name="buffer"/> is null.</exception>
2648 <exception cref="T:System.ArgumentOutOfRangeException">Range specified by <paramref name="start"/> and <paramref name="byteCount"/> falls outside of the bounds of the <paramref name="buffer"/>.</exception>
2650 <member name="M:System.Reflection.Metadata.BlobWriter.WriteReference(System.Int32,System.Boolean)">
2652 Writes a reference to a heap (heap offset) or a table (row number).
2654 <param name="reference">Heap offset or table row number.</param>
2655 <param name="isSmall">True to encode the reference as 16-bit integer, false to encode as 32-bit integer.</param>
2657 <member name="M:System.Reflection.Metadata.BlobWriter.WriteUTF16(System.Char[])">
2659 Writes UTF16 (little-endian) encoded string at the current position.
2661 <exception cref="T:System.ArgumentNullException"><paramref name="value"/> is null.</exception>
2663 <member name="M:System.Reflection.Metadata.BlobWriter.WriteUTF16(System.String)">
2665 Writes UTF16 (little-endian) encoded string at the current position.
2667 <exception cref="T:System.ArgumentNullException"><paramref name="value"/> is null.</exception>
2669 <member name="M:System.Reflection.Metadata.BlobWriter.WriteSerializedString(System.String)">
2671 Writes string in SerString format (see ECMA-335-II 23.3 Custom attributes).
2674 The string is UTF8 encoded and prefixed by the its size in bytes.
2675 Null string is represented as a single byte 0xFF.
2677 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2679 <member name="M:System.Reflection.Metadata.BlobWriter.WriteUserString(System.String)">
2681 Writes string in User String (#US) heap format (see ECMA-335-II 24.2.4 #US and #Blob heaps):
2684 The string is UTF16 encoded and prefixed by the its size in bytes.
2686 This final byte holds the value 1 if and only if any UTF16 character within the string has any bit set in its top byte,
2687 or its low byte is any of the following: 0x01–0x08, 0x0E–0x1F, 0x27, 0x2D, 0x7F. Otherwise, it holds 0.
2688 The 1 signifies Unicode characters that require handling beyond that normally provided for 8-bit encoding sets.
2690 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2692 <member name="M:System.Reflection.Metadata.BlobWriter.WriteUTF8(System.String,System.Boolean)">
2694 Writes UTF8 encoded string at the current position.
2696 <exception cref="T:System.ArgumentNullException"><paramref name="value"/> is null.</exception>
2698 <member name="M:System.Reflection.Metadata.BlobWriter.WriteCompressedSignedInteger(System.Int32)">
2700 Implements compressed signed integer encoding as defined by ECMA-335-II chapter 23.2: Blobs and signatures.
2703 If the value lies between -64 (0xFFFFFFC0) and 63 (0x3F), inclusive, encode as a one-byte integer:
2704 bit 7 clear, value bits 5 through 0 held in bits 6 through 1, sign bit (value bit 31) in bit 0.
2706 If the value lies between -8192 (0xFFFFE000) and 8191 (0x1FFF), inclusive, encode as a two-byte integer:
2707 15 set, bit 14 clear, value bits 12 through 0 held in bits 13 through 1, sign bit(value bit 31) in bit 0.
2709 If the value lies between -268435456 (0xF000000) and 268435455 (0x0FFFFFFF), inclusive, encode as a four-byte integer:
2710 31 set, 30 set, bit 29 clear, value bits 27 through 0 held in bits 28 through 1, sign bit(value bit 31) in bit 0.
2712 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="value"/> can't be represented as a compressed signed integer.</exception>
2714 <member name="M:System.Reflection.Metadata.BlobWriter.WriteCompressedInteger(System.Int32)">
2716 Implements compressed unsigned integer encoding as defined by ECMA-335-II chapter 23.2: Blobs and signatures.
2719 If the value lies between 0 (0x00) and 127 (0x7F), inclusive,
2720 encode as a one-byte integer (bit 7 is clear, value held in bits 6 through 0).
2722 If the value lies between 28 (0x80) and 214 – 1 (0x3FFF), inclusive,
2723 encode as a 2-byte integer with bit 15 set, bit 14 clear(value held in bits 13 through 0).
2725 Otherwise, encode as a 4-byte integer, with bit 31 set, bit 30 set, bit 29 clear (value held in bits 28 through 0).
2727 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="value"/> can't be represented as a compressed unsigned integer.</exception>
2729 <member name="M:System.Reflection.Metadata.BlobWriter.WriteConstant(System.Object)">
2731 Writes a constant value (see ECMA-335 Partition II section 22.9) at the current position.
2733 <exception cref="T:System.ArgumentException"><paramref name="value"/> is not of a constant type.</exception>
2735 <member name="M:System.Reflection.Metadata.BlobBuilder.GetBlobs">
2737 Returns a sequence of all blobs that represent the content of the builder.
2739 <exception cref="T:System.InvalidOperationException">Content is not available, the builder has been linked with another one.</exception>
2741 <member name="M:System.Reflection.Metadata.BlobBuilder.ContentEquals(System.Reflection.Metadata.BlobBuilder)">
2743 Compares the current content of this writer with another one.
2745 <exception cref="T:System.InvalidOperationException">Content is not available, the builder has been linked with another one.</exception>
2747 <member name="M:System.Reflection.Metadata.BlobBuilder.ToArray">
2748 <exception cref="T:System.InvalidOperationException">Content is not available, the builder has been linked with another one.</exception>
2750 <member name="M:System.Reflection.Metadata.BlobBuilder.ToArray(System.Int32,System.Int32)">
2751 <exception cref="T:System.ArgumentOutOfRangeException">Range specified by <paramref name="start"/> and <paramref name="byteCount"/> falls outside of the bounds of the buffer content.</exception>
2752 <exception cref="T:System.InvalidOperationException">Content is not available, the builder has been linked with another one.</exception>
2754 <member name="M:System.Reflection.Metadata.BlobBuilder.ToImmutableArray">
2755 <exception cref="T:System.InvalidOperationException">Content is not available, the builder has been linked with another one.</exception>
2757 <member name="M:System.Reflection.Metadata.BlobBuilder.ToImmutableArray(System.Int32,System.Int32)">
2758 <exception cref="T:System.ArgumentOutOfRangeException">Range specified by <paramref name="start"/> and <paramref name="byteCount"/> falls outside of the bounds of the buffer content.</exception>
2759 <exception cref="T:System.InvalidOperationException">Content is not available, the builder has been linked with another one.</exception>
2761 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteContentTo(System.IO.Stream)">
2762 <exception cref="T:System.ArgumentNullException"><paramref name="destination"/> is null.</exception>
2763 <exception cref="T:System.InvalidOperationException">Content is not available, the builder has been linked with another one.</exception>
2765 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteContentTo(System.Reflection.Metadata.BlobWriter@)">
2766 <exception cref="T:System.ArgumentNullException"><paramref name="destination"/> is default(<see cref="T:System.Reflection.Metadata.BlobWriter"/>).</exception>
2767 <exception cref="T:System.InvalidOperationException">Content is not available, the builder has been linked with another one.</exception>
2769 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteContentTo(System.Reflection.Metadata.BlobBuilder)">
2770 <exception cref="T:System.ArgumentNullException"><paramref name="destination"/> is null.</exception>
2771 <exception cref="T:System.InvalidOperationException">Content is not available, the builder has been linked with another one.</exception>
2773 <member name="M:System.Reflection.Metadata.BlobBuilder.LinkPrefix(System.Reflection.Metadata.BlobBuilder)">
2774 <exception cref="T:System.ArgumentNullException"><paramref name="prefix"/> is null.</exception>
2775 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2777 <member name="M:System.Reflection.Metadata.BlobBuilder.LinkSuffix(System.Reflection.Metadata.BlobBuilder)">
2778 <exception cref="T:System.ArgumentNullException"><paramref name="suffix"/> is null.</exception>
2779 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2781 <member name="M:System.Reflection.Metadata.BlobBuilder.ReserveBytes(System.Int32)">
2783 Reserves a contiguous block of bytes.
2785 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="byteCount"/> is negative.</exception>
2786 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2788 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteBytes(System.Byte,System.Int32)">
2789 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="byteCount"/> is negative.</exception>
2790 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2792 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteBytes(System.Byte*,System.Int32)">
2793 <exception cref="T:System.ArgumentNullException"><paramref name="buffer"/> is null.</exception>
2794 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="byteCount"/> is negative.</exception>
2795 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2797 <member name="M:System.Reflection.Metadata.BlobBuilder.TryWriteBytes(System.IO.Stream,System.Int32)">
2798 <exception cref="T:System.ArgumentNullException"><paramref name="source"/> is null.</exception>
2799 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="byteCount"/> is negative.</exception>
2800 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2801 <returns>Bytes successfully written from the <paramref name="source" />.</returns>
2803 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteBytes(System.Collections.Immutable.ImmutableArray{System.Byte})">
2804 <exception cref="T:System.ArgumentNullException"><paramref name="buffer"/> is null.</exception>
2805 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2807 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteBytes(System.Collections.Immutable.ImmutableArray{System.Byte},System.Int32,System.Int32)">
2808 <exception cref="T:System.ArgumentNullException"><paramref name="buffer"/> is null.</exception>
2809 <exception cref="T:System.ArgumentOutOfRangeException">Range specified by <paramref name="start"/> and <paramref name="byteCount"/> falls outside of the bounds of the <paramref name="buffer"/>.</exception>
2810 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2812 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteBytes(System.Byte[])">
2813 <exception cref="T:System.ArgumentNullException"><paramref name="buffer"/> is null.</exception>
2814 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2816 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteBytes(System.Byte[],System.Int32,System.Int32)">
2817 <exception cref="T:System.ArgumentNullException"><paramref name="buffer"/> is null.</exception>
2818 <exception cref="T:System.ArgumentOutOfRangeException">Range specified by <paramref name="start"/> and <paramref name="byteCount"/> falls outside of the bounds of the <paramref name="buffer"/>.</exception>
2819 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2821 <member name="M:System.Reflection.Metadata.BlobBuilder.PadTo(System.Int32)">
2822 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2824 <member name="M:System.Reflection.Metadata.BlobBuilder.Align(System.Int32)">
2825 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2827 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteBoolean(System.Boolean)">
2828 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2830 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteByte(System.Byte)">
2831 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2833 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteSByte(System.SByte)">
2834 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2836 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteDouble(System.Double)">
2837 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2839 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteSingle(System.Single)">
2840 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2842 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteInt16(System.Int16)">
2843 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2845 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteUInt16(System.UInt16)">
2846 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2848 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteInt16BE(System.Int16)">
2849 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2851 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteUInt16BE(System.UInt16)">
2852 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2854 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteInt32BE(System.Int32)">
2855 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2857 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteUInt32BE(System.UInt32)">
2858 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2860 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteInt32(System.Int32)">
2861 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2863 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteUInt32(System.UInt32)">
2864 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2866 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteInt64(System.Int64)">
2867 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2869 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteUInt64(System.UInt64)">
2870 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2872 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteDecimal(System.Decimal)">
2873 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2875 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteGuid(System.Guid)">
2876 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2878 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteDateTime(System.DateTime)">
2879 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2881 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteReference(System.Int32,System.Boolean)">
2883 Writes a reference to a heap (heap offset) or a table (row number).
2885 <param name="reference">Heap offset or table row number.</param>
2886 <param name="isSmall">True to encode the reference as 16-bit integer, false to encode as 32-bit integer.</param>
2887 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2889 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteUTF16(System.Char[])">
2891 Writes UTF16 (little-endian) encoded string at the current position.
2893 <exception cref="T:System.ArgumentNullException"><paramref name="value"/> is null.</exception>
2894 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2896 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteUTF16(System.String)">
2898 Writes UTF16 (little-endian) encoded string at the current position.
2900 <exception cref="T:System.ArgumentNullException"><paramref name="value"/> is null.</exception>
2901 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2903 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteSerializedString(System.String)">
2905 Writes string in SerString format (see ECMA-335-II 23.3 Custom attributes).
2908 The string is UTF8 encoded and prefixed by the its size in bytes.
2909 Null string is represented as a single byte 0xFF.
2911 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2913 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteUserString(System.String)">
2915 Writes string in User String (#US) heap format (see ECMA-335-II 24.2.4 #US and #Blob heaps):
2918 The string is UTF16 encoded and prefixed by the its size in bytes.
2920 This final byte holds the value 1 if and only if any UTF16 character within the string has any bit set in its top byte,
2921 or its low byte is any of the following: 0x01–0x08, 0x0E–0x1F, 0x27, 0x2D, 0x7F. Otherwise, it holds 0.
2922 The 1 signifies Unicode characters that require handling beyond that normally provided for 8-bit encoding sets.
2924 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2926 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteUTF8(System.String,System.Boolean)">
2928 Writes UTF8 encoded string at the current position.
2930 <param name="value">Constant value.</param>
2931 <param name="allowUnpairedSurrogates">
2932 True to encode unpaired surrogates as specified, otherwise replace them with U+FFFD character.
2934 <exception cref="T:System.ArgumentNullException"><paramref name="value"/> is null.</exception>
2935 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2937 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteCompressedSignedInteger(System.Int32)">
2939 Implements compressed signed integer encoding as defined by ECMA-335-II chapter 23.2: Blobs and signatures.
2942 If the value lies between -64 (0xFFFFFFC0) and 63 (0x3F), inclusive, encode as a one-byte integer:
2943 bit 7 clear, value bits 5 through 0 held in bits 6 through 1, sign bit (value bit 31) in bit 0.
2945 If the value lies between -8192 (0xFFFFE000) and 8191 (0x1FFF), inclusive, encode as a two-byte integer:
2946 15 set, bit 14 clear, value bits 12 through 0 held in bits 13 through 1, sign bit(value bit 31) in bit 0.
2948 If the value lies between -268435456 (0xF000000) and 268435455 (0x0FFFFFFF), inclusive, encode as a four-byte integer:
2949 31 set, 30 set, bit 29 clear, value bits 27 through 0 held in bits 28 through 1, sign bit(value bit 31) in bit 0.
2951 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="value"/> can't be represented as a compressed signed integer.</exception>
2952 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2954 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteCompressedInteger(System.Int32)">
2956 Implements compressed unsigned integer encoding as defined by ECMA-335-II chapter 23.2: Blobs and signatures.
2959 If the value lies between 0 (0x00) and 127 (0x7F), inclusive,
2960 encode as a one-byte integer (bit 7 is clear, value held in bits 6 through 0).
2962 If the value lies between 28 (0x80) and 214 – 1 (0x3FFF), inclusive,
2963 encode as a 2-byte integer with bit 15 set, bit 14 clear (value held in bits 13 through 0).
2965 Otherwise, encode as a 4-byte integer, with bit 31 set, bit 30 set, bit 29 clear (value held in bits 28 through 0).
2967 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="value"/> can't be represented as a compressed unsigned integer.</exception>
2968 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2970 <member name="M:System.Reflection.Metadata.BlobBuilder.WriteConstant(System.Object)">
2972 Writes a constant value (see ECMA-335 Partition II section 22.9) at the current position.
2974 <exception cref="T:System.ArgumentException"><paramref name="value"/> is not of a constant type.</exception>
2975 <exception cref="T:System.InvalidOperationException">Builder is not writable, it has been linked with another one.</exception>
2977 <member name="F:System.Reflection.Metadata.PortablePdbVersions.DefaultMetadataVersion">
2979 Version of Portable PDB format emitted by the writer by default. Metadata version string.
2982 <member name="F:System.Reflection.Metadata.PortablePdbVersions.DefaultFormatVersion">
2984 Version of Portable PDB format emitted by the writer by default.
2987 <member name="F:System.Reflection.Metadata.PortablePdbVersions.MinFormatVersion">
2989 Minimal supported version of Portable PDB format.
2992 <member name="F:System.Reflection.Metadata.PortablePdbVersions.MinEmbeddedVersion">
2994 Minimal supported version of Embedded Portable PDB blob.
2997 <member name="F:System.Reflection.Metadata.PortablePdbVersions.DefaultEmbeddedVersion">
2999 Version of Embedded Portable PDB blob format emitted by the writer by default.
3002 <member name="F:System.Reflection.Metadata.PortablePdbVersions.MinUnsupportedEmbeddedVersion">
3004 Minimal version of the Embedded Portable PDB blob that the current reader can't interpret.
3007 <member name="T:System.Reflection.Metadata.ReservedBlob`1">
3009 Represents a handle and a corresponding blob on a metadata heap that was reserved for future content update.
3012 <member name="M:System.Reflection.Metadata.ReservedBlob`1.CreateWriter">
3014 Returns a <see cref="T:System.Reflection.Metadata.BlobWriter"/> to be used to update the content.
3017 <member name="M:System.Reflection.Metadata.ICustomAttributeTypeProvider`1.GetSystemType">
3019 Gets the TType representation for <see cref="T:System.Type"/>.
3022 <member name="M:System.Reflection.Metadata.ICustomAttributeTypeProvider`1.IsSystemType(`0)">
3024 Returns true if the given type represents <see cref="T:System.Type"/>.
3027 <member name="M:System.Reflection.Metadata.ICustomAttributeTypeProvider`1.GetTypeFromSerializedName(System.String)">
3029 Get the type symbol for the given serialized type name.
3030 The serialized type name is in so-called "reflection notation" (i.e. as understood by <see cref="M:System.Type.GetType(System.String)"/>.)
3032 <exception cref="T:System.BadImageFormatException">The name is malformed.</exception>
3034 <member name="M:System.Reflection.Metadata.ICustomAttributeTypeProvider`1.GetUnderlyingEnumType(`0)">
3036 Gets the underlying type of the given enum type symbol.
3038 <exception cref="T:System.BadImageFormatException">The given type symbol does not represent an enum.</exception>
3040 <member name="M:System.Reflection.Metadata.ILOpCodeExtensions.IsBranch(System.Reflection.Metadata.ILOpCode)">
3042 Returns true of the specified op-code is a branch to a label.
3045 <member name="M:System.Reflection.Metadata.ILOpCodeExtensions.GetBranchOperandSize(System.Reflection.Metadata.ILOpCode)">
3047 Calculate the size of the specified branch instruction operand.
3049 <param name="opCode">Branch op-code.</param>
3050 <returns>1 if <paramref name="opCode"/> is a short branch or 4 if it is a long branch.</returns>
3051 <exception cref="T:System.ArgumentException">Specified <paramref name="opCode"/> is not a branch op-code.</exception>
3053 <member name="M:System.Reflection.Metadata.ILOpCodeExtensions.GetShortBranch(System.Reflection.Metadata.ILOpCode)">
3055 Get a short form of the specified branch op-code.
3057 <param name="opCode">Branch op-code.</param>
3058 <returns>Short form of the branch op-code.</returns>
3059 <exception cref="T:System.ArgumentException">Specified <paramref name="opCode"/> is not a branch op-code.</exception>
3061 <member name="M:System.Reflection.Metadata.ILOpCodeExtensions.GetLongBranch(System.Reflection.Metadata.ILOpCode)">
3063 Get a long form of the specified branch op-code.
3065 <param name="opCode">Branch op-code.</param>
3066 <returns>Long form of the branch op-code.</returns>
3067 <exception cref="T:System.ArgumentException">Specified <paramref name="opCode"/> is not a branch op-code.</exception>
3069 <member name="F:System.Reflection.Metadata.MetadataStreamOptions.Default">
3071 By default the stream is disposed when <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/> is disposed and sections of the PE image are read lazily.
3074 <member name="F:System.Reflection.Metadata.MetadataStreamOptions.LeaveOpen">
3076 Keep the stream open when the <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/> is disposed.
3079 <member name="F:System.Reflection.Metadata.MetadataStreamOptions.PrefetchMetadata">
3081 Reads PDB metadata into memory right away.
3084 The underlying file may be closed and even deleted after <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/> is constructed.
3085 <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/> closes the stream automatically by the time the constructor returns unless <see cref="F:System.Reflection.Metadata.MetadataStreamOptions.LeaveOpen"/> is specified.
3088 <member name="T:System.Reflection.Metadata.MetadataReaderProvider">
3090 Provides a <see cref="T:System.Reflection.Metadata.MetadataReader"/> metadata stored in an array of bytes, a memory block, or a stream.
3094 - ECMA-335 CLI (Common Language Infrastructure) metadata (<see cref="M:System.Reflection.Metadata.MetadataReaderProvider.FromMetadataImage(System.Byte*,System.Int32)"/>)
3095 - Edit and Continue metadata delta (<see cref="M:System.Reflection.Metadata.MetadataReaderProvider.FromMetadataImage(System.Byte*,System.Int32)"/>)
3096 - Portable PDB metadata (<see cref="M:System.Reflection.Metadata.MetadataReaderProvider.FromPortablePdbImage(System.Byte*,System.Int32)"/>)
3099 <member name="M:System.Reflection.Metadata.MetadataReaderProvider.FromPortablePdbImage(System.Byte*,System.Int32)">
3101 Creates a Portable PDB metadata provider over a blob stored in memory.
3103 <param name="start">Pointer to the start of the Portable PDB blob.</param>
3104 <param name="size">The size of the Portable PDB blob.</param>
3105 <exception cref="T:System.ArgumentNullException"><paramref name="start"/> is <see cref="F:System.IntPtr.Zero"/>.</exception>
3106 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="size"/> is negative.</exception>
3108 The memory is owned by the caller and not released on disposal of the <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/>.
3109 The caller is responsible for keeping the memory alive and unmodified throughout the lifetime of the <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/>.
3110 The content of the blob is not read during the construction of the <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/>
3113 <member name="M:System.Reflection.Metadata.MetadataReaderProvider.FromMetadataImage(System.Byte*,System.Int32)">
3115 Creates a metadata provider over an image stored in memory.
3117 <param name="start">Pointer to the start of the metadata blob.</param>
3118 <param name="size">The size of the metadata blob.</param>
3119 <exception cref="T:System.ArgumentNullException"><paramref name="start"/> is <see cref="F:System.IntPtr.Zero"/>.</exception>
3120 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="size"/> is negative.</exception>
3122 The memory is owned by the caller and not released on disposal of the <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/>.
3123 The caller is responsible for keeping the memory alive and unmodified throughout the lifetime of the <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/>.
3124 The content of the blob is not read during the construction of the <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/>
3127 <member name="M:System.Reflection.Metadata.MetadataReaderProvider.FromPortablePdbImage(System.Collections.Immutable.ImmutableArray{System.Byte})">
3129 Creates a Portable PDB metadata provider over a byte array.
3131 <param name="image">Portable PDB image.</param>
3133 The content of the image is not read during the construction of the <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/>
3135 <exception cref="T:System.ArgumentNullException"><paramref name="image"/> is null.</exception>
3137 <member name="M:System.Reflection.Metadata.MetadataReaderProvider.FromMetadataImage(System.Collections.Immutable.ImmutableArray{System.Byte})">
3139 Creates a provider over a byte array.
3141 <param name="image">Metadata image.</param>
3143 The content of the image is not read during the construction of the <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/>
3145 <exception cref="T:System.ArgumentNullException"><paramref name="image"/> is null.</exception>
3147 <member name="M:System.Reflection.Metadata.MetadataReaderProvider.FromPortablePdbStream(System.IO.Stream,System.Reflection.Metadata.MetadataStreamOptions,System.Int32)">
3149 Creates a provider for a stream of the specified size beginning at its current position.
3151 <param name="stream">Stream.</param>
3152 <param name="size">Size of the metadata blob in the stream. If not specified the metadata blob is assumed to span to the end of the stream.</param>
3153 <param name="options">
3154 Options specifying how sections of the image are read from the stream.
3156 Unless <see cref="F:System.Reflection.Metadata.MetadataStreamOptions.LeaveOpen"/> is specified, ownership of the stream is transferred to the <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/>
3157 upon successful argument validation. It will be disposed by the <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/> and the caller must not manipulate it.
3159 Unless <see cref="F:System.Reflection.Metadata.MetadataStreamOptions.PrefetchMetadata"/> is specified no data
3160 is read from the stream during the construction of the <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/>. Furthermore, the stream must not be manipulated
3161 by caller while the <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/> is alive and undisposed.
3163 If <see cref="F:System.Reflection.Metadata.MetadataStreamOptions.PrefetchMetadata"/>, the <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/>
3164 will have read all of the data requested during construction. As such, if <see cref="F:System.Reflection.Metadata.MetadataStreamOptions.LeaveOpen"/> is also
3165 specified, the caller retains full ownership of the stream and is assured that it will not be manipulated by the <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/>
3168 <exception cref="T:System.ArgumentNullException"><paramref name="stream"/> is null.</exception>
3169 <exception cref="T:System.ArgumentException"><paramref name="stream"/> doesn't support read and seek operations.</exception>
3170 <exception cref="T:System.ArgumentOutOfRangeException">Size is negative or extends past the end of the stream.</exception>
3172 <member name="M:System.Reflection.Metadata.MetadataReaderProvider.FromMetadataStream(System.IO.Stream,System.Reflection.Metadata.MetadataStreamOptions,System.Int32)">
3174 Creates a provider for a stream of the specified size beginning at its current position.
3176 <param name="stream">Stream.</param>
3177 <param name="size">Size of the metadata blob in the stream. If not specified the metadata blob is assumed to span to the end of the stream.</param>
3178 <param name="options">
3179 Options specifying how sections of the image are read from the stream.
3181 Unless <see cref="F:System.Reflection.Metadata.MetadataStreamOptions.LeaveOpen"/> is specified, ownership of the stream is transferred to the <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/>
3182 upon successful argument validation. It will be disposed by the <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/> and the caller must not manipulate it.
3184 Unless <see cref="F:System.Reflection.Metadata.MetadataStreamOptions.PrefetchMetadata"/> is specified no data
3185 is read from the stream during the construction of the <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/>. Furthermore, the stream must not be manipulated
3186 by caller while the <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/> is alive and undisposed.
3188 If <see cref="F:System.Reflection.Metadata.MetadataStreamOptions.PrefetchMetadata"/>, the <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/>
3189 will have read all of the data requested during construction. As such, if <see cref="F:System.Reflection.Metadata.MetadataStreamOptions.LeaveOpen"/> is also
3190 specified, the caller retains full ownership of the stream and is assured that it will not be manipulated by the <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/>
3193 <exception cref="T:System.ArgumentNullException"><paramref name="stream"/> is null.</exception>
3194 <exception cref="T:System.ArgumentException"><paramref name="stream"/> doesn't support read and seek operations.</exception>
3195 <exception cref="T:System.ArgumentOutOfRangeException">Size is negative or extends past the end of the stream.</exception>
3196 <exception cref="T:System.IO.IOException">Error reading from the stream (only when <see cref="F:System.Reflection.Metadata.MetadataStreamOptions.PrefetchMetadata"/> is specified).</exception>
3198 <member name="M:System.Reflection.Metadata.MetadataReaderProvider.Dispose">
3200 Disposes all memory allocated by the reader.
3203 <see cref="M:System.Reflection.Metadata.MetadataReaderProvider.Dispose"/> can be called multiple times (but not in parallel).
3204 It is not safe to call <see cref="M:System.Reflection.Metadata.MetadataReaderProvider.Dispose"/> in parallel with any other operation on the <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/>
3205 or reading from the underlying memory.
3208 <member name="M:System.Reflection.Metadata.MetadataReaderProvider.GetMetadataReader(System.Reflection.Metadata.MetadataReaderOptions,System.Reflection.Metadata.MetadataStringDecoder)">
3210 Gets a <see cref="T:System.Reflection.Metadata.MetadataReader"/> from a <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/>.
3213 The caller must keep the <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/> alive and undisposed throughout the lifetime of the metadata reader.
3215 If this method is called multiple times each call with arguments equal to the arguments passed to the previous successful call
3216 returns the same instance of <see cref="T:System.Reflection.Metadata.MetadataReader"/> as the previous call.
3218 <exception cref="T:System.ArgumentException">The encoding of <paramref name="utf8Decoder"/> is not <see cref="T:System.Text.UTF8Encoding"/>.</exception>
3219 <exception cref="T:System.PlatformNotSupportedException">The current platform is big-endian.</exception>
3220 <exception cref="T:System.IO.IOException">IO error while reading from the underlying stream.</exception>
3221 <exception cref="T:System.ObjectDisposedException">Provider has been disposed.</exception>
3223 <member name="M:System.Reflection.Metadata.MetadataReaderProvider.GetMetadataBlock">
3224 <exception cref="T:System.IO.IOException">IO error while reading from the underlying stream.</exception>
3225 <exception cref="T:System.ObjectDisposedException">Provider has been disposed.</exception>
3227 <member name="T:System.Reflection.Metadata.PrimitiveSerializationTypeCode">
3229 Type codes used to encode types of primitive values in Custom Attribute value blob.
3232 <member name="M:System.Reflection.Metadata.MethodDefinitionHandle.ToDebugInformationHandle">
3234 Returns a handle to <see cref="T:System.Reflection.Metadata.MethodDebugInformation"/> corresponding to this handle.
3237 The resulting handle is only valid within the context of a <see cref="T:System.Reflection.Metadata.MetadataReader"/> open on the Portable PDB blob,
3238 which in case of standalone PDB file is a different reader than the one containing this method definition.
3241 <member name="T:System.Reflection.Metadata.UserStringHandle">
3243 #UserString heap handle.
3246 The handle is 32-bit wide.
3249 <member name="T:System.Reflection.Metadata.NamespaceDefinitionHandle">
3251 A handle that represents a namespace definition.
3254 <member name="P:System.Reflection.Metadata.AssemblyFile.ContainsMetadata">
3256 True if the file contains metadata.
3259 Corresponds to Flags field of File table in ECMA-335 Standard.
3262 <member name="P:System.Reflection.Metadata.AssemblyFile.Name">
3264 File name with extension.
3267 Corresponds to Name field of File table in ECMA-335 Standard.
3270 <member name="P:System.Reflection.Metadata.AssemblyFile.HashValue">
3272 Hash value of the file content calculated using <see cref="P:System.Reflection.Metadata.AssemblyDefinition.HashAlgorithm"/>.
3275 Corresponds to HashValue field of File table in ECMA-335 Standard.
3278 <member name="F:System.Reflection.Metadata.BlobReader.s_nullCharArray">
3279 <summary>An array containing the '\0' character.</summary>
3281 <member name="M:System.Reflection.Metadata.BlobReader.#ctor(System.Byte*,System.Int32)">
3283 Creates a reader of the specified memory block.
3285 <param name="buffer">Pointer to the start of the memory block.</param>
3286 <param name="length">Length in bytes of the memory block.</param>
3287 <exception cref="T:System.ArgumentNullException"><paramref name="buffer"/> is null and <paramref name="length"/> is greater than zero.</exception>
3288 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="length"/> is negative.</exception>
3289 <exception cref="T:System.PlatformNotSupportedException">The current platform is not little-endian.</exception>
3291 <member name="P:System.Reflection.Metadata.BlobReader.StartPointer">
3293 Pointer to the byte at the start of the underlying memory block.
3296 <member name="P:System.Reflection.Metadata.BlobReader.CurrentPointer">
3298 Pointer to the byte at the current position of the reader.
3301 <member name="P:System.Reflection.Metadata.BlobReader.Length">
3303 The total length of the underlying memory block.
3306 <member name="P:System.Reflection.Metadata.BlobReader.Offset">
3308 Gets or sets the offset from start of the blob to the current position.
3310 <exception cref="T:System.BadImageFormatException">Offset is set outside the bounds of underlying reader.</exception>
3312 <member name="P:System.Reflection.Metadata.BlobReader.RemainingBytes">
3314 Bytes remaining from current position to end of underlying memory block.
3317 <member name="M:System.Reflection.Metadata.BlobReader.Reset">
3319 Repositions the reader to the start of the underluing memory block.
3322 <member name="M:System.Reflection.Metadata.BlobReader.Align(System.Byte)">
3324 Repositions the reader forward by the number of bytes required to satisfy the given alignment.
3327 <member name="M:System.Reflection.Metadata.BlobReader.ReadDecimal">
3329 Reads <see cref="T:System.Decimal"/> number.
3332 Decimal number is encoded in 13 bytes as follows:
3333 - byte 0: highest bit indicates sign (1 for negative, 0 for non-negative); the remaining 7 bits encode scale
3334 - bytes 1..12: 96-bit unsigned integer in little endian encoding.
3336 <exception cref="T:System.BadImageFormatException">The data at the current position was not a valid <see cref="T:System.Decimal"/> number.</exception>
3338 <member name="M:System.Reflection.Metadata.BlobReader.IndexOf(System.Byte)">
3340 Finds specified byte in the blob following the current position.
3343 Index relative to the current position, or -1 if the byte is not found in the blob following the current position.
3346 Doesn't change the current position.
3349 <member name="M:System.Reflection.Metadata.BlobReader.ReadUTF8(System.Int32)">
3351 Reads UTF8 encoded string starting at the current position.
3353 <param name="byteCount">The number of bytes to read.</param>
3354 <returns>The string.</returns>
3355 <exception cref="T:System.BadImageFormatException"><paramref name="byteCount"/> bytes not available.</exception>
3357 <member name="M:System.Reflection.Metadata.BlobReader.ReadUTF16(System.Int32)">
3359 Reads UTF16 (little-endian) encoded string starting at the current position.
3361 <param name="byteCount">The number of bytes to read.</param>
3362 <returns>The string.</returns>
3363 <exception cref="T:System.BadImageFormatException"><paramref name="byteCount"/> bytes not available.</exception>
3365 <member name="M:System.Reflection.Metadata.BlobReader.ReadBytes(System.Int32)">
3367 Reads bytes starting at the current position.
3369 <param name="byteCount">The number of bytes to read.</param>
3370 <returns>The byte array.</returns>
3371 <exception cref="T:System.BadImageFormatException"><paramref name="byteCount"/> bytes not available.</exception>
3373 <member name="M:System.Reflection.Metadata.BlobReader.ReadBytes(System.Int32,System.Byte[],System.Int32)">
3375 Reads bytes starting at the current position in to the given buffer at the given offset;
3377 <param name="byteCount">The number of bytes to read.</param>
3378 <param name="buffer">The destination buffer the bytes read will be written.</param>
3379 <param name="bufferOffset">The offset in the destination buffer where the bytes read will be written.</param>
3380 <exception cref="T:System.BadImageFormatException"><paramref name="byteCount"/> bytes not available.</exception>
3382 <member name="M:System.Reflection.Metadata.BlobReader.TryReadCompressedInteger(System.Int32@)">
3384 Reads an unsigned compressed integer value.
3385 See Metadata Specification section II.23.2: Blobs and signatures.
3387 <param name="value">The value of the compressed integer that was read.</param>
3388 <returns>true if the value was read successfully. false if the data at the current position was not a valid compressed integer.</returns>
3390 <member name="M:System.Reflection.Metadata.BlobReader.ReadCompressedInteger">
3392 Reads an unsigned compressed integer value.
3393 See Metadata Specification section II.23.2: Blobs and signatures.
3395 <returns>The value of the compressed integer that was read.</returns>
3396 <exception cref="T:System.BadImageFormatException">The data at the current position was not a valid compressed integer.</exception>
3398 <member name="M:System.Reflection.Metadata.BlobReader.TryReadCompressedSignedInteger(System.Int32@)">
3400 Reads a signed compressed integer value.
3401 See Metadata Specification section II.23.2: Blobs and signatures.
3403 <param name="value">The value of the compressed integer that was read.</param>
3404 <returns>true if the value was read successfully. false if the data at the current position was not a valid compressed integer.</returns>
3406 <member name="M:System.Reflection.Metadata.BlobReader.ReadCompressedSignedInteger">
3408 Reads a signed compressed integer value.
3409 See Metadata Specification section II.23.2: Blobs and signatures.
3411 <returns>The value of the compressed integer that was read.</returns>
3412 <exception cref="T:System.BadImageFormatException">The data at the current position was not a valid compressed integer.</exception>
3414 <member name="M:System.Reflection.Metadata.BlobReader.ReadSerializationTypeCode">
3416 Reads type code encoded in a serialized custom attribute value.
3418 <returns><see cref="F:System.Reflection.Metadata.SerializationTypeCode.Invalid"/> if the encoding is invalid.</returns>
3420 <member name="M:System.Reflection.Metadata.BlobReader.ReadSignatureTypeCode">
3422 Reads type code encoded in a signature.
3424 <returns><see cref="F:System.Reflection.Metadata.SignatureTypeCode.Invalid"/> if the encoding is invalid.</returns>
3426 <member name="M:System.Reflection.Metadata.BlobReader.ReadSerializedString">
3428 Reads a string encoded as a compressed integer containing its length followed by
3429 its contents in UTF8. Null strings are encoded as a single 0xFF byte.
3431 <remarks>Defined as a 'SerString' in the ECMA CLI specification.</remarks>
3432 <returns>String value or null.</returns>
3433 <exception cref="T:System.BadImageFormatException">If the encoding is invalid.</exception>
3435 <member name="M:System.Reflection.Metadata.BlobReader.ReadTypeHandle">
3437 Reads a type handle encoded in a signature as TypeDefOrRefOrSpecEncoded (see ECMA-335 II.23.2.8).
3439 <returns>The handle or nil if the encoding is invalid.</returns>
3441 <member name="M:System.Reflection.Metadata.BlobReader.ReadBlobHandle">
3443 Reads a #Blob heap handle encoded as a compressed integer.
3446 Blobs that contain references to other blobs are used in Portable PDB format, for example <see cref="P:System.Reflection.Metadata.Document.Name"/>.
3449 <member name="M:System.Reflection.Metadata.BlobReader.ReadConstant(System.Reflection.Metadata.ConstantTypeCode)">
3451 Reads a constant value (see ECMA-335 Partition II section 22.9) from the current position.
3453 <exception cref="T:System.BadImageFormatException">Error while reading from the blob.</exception>
3454 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="typeCode"/> is not a valid <see cref="T:System.Reflection.Metadata.ConstantTypeCode"/>.</exception>
3456 Boxed constant value. To avoid allocating the object use Read* methods directly.
3457 Constants of type <see cref="F:System.Reflection.Metadata.ConstantTypeCode.String"/> are encoded as UTF16 strings, use <see cref="M:System.Reflection.Metadata.BlobReader.ReadUTF16(System.Int32)"/> to read them.
3460 <member name="P:System.Reflection.Metadata.Constant.TypeCode">
3462 The type of the constant value.
3465 Corresponds to Type field of Constant table in ECMA-335 Standard.
3468 <member name="P:System.Reflection.Metadata.Constant.Value">
3473 Corresponds to Value field of Constant table in ECMA-335 Standard.
3476 <member name="P:System.Reflection.Metadata.Constant.Parent">
3478 The parent handle (<see cref="T:System.Reflection.Metadata.ParameterHandle"/>, <see cref="T:System.Reflection.Metadata.FieldDefinitionHandle"/>, or <see cref="T:System.Reflection.Metadata.PropertyDefinitionHandle"/>).
3481 Corresponds to Parent field of Constant table in ECMA-335 Standard.
3484 <member name="P:System.Reflection.Metadata.CustomAttribute.Constructor">
3486 The constructor (<see cref="T:System.Reflection.Metadata.MethodDefinitionHandle"/> or <see cref="T:System.Reflection.Metadata.MemberReferenceHandle"/>) of the custom attribute type.
3489 Corresponds to Type field of CustomAttribute table in ECMA-335 Standard.
3492 <member name="P:System.Reflection.Metadata.CustomAttribute.Parent">
3494 The handle of the metadata entity the attribute is applied to.
3497 Corresponds to Parent field of CustomAttribute table in ECMA-335 Standard.
3500 <member name="P:System.Reflection.Metadata.CustomAttribute.Value">
3502 The value of the attribute.
3505 Corresponds to Value field of CustomAttribute table in ECMA-335 Standard.
3508 <member name="M:System.Reflection.Metadata.CustomAttribute.DecodeValue``1(System.Reflection.Metadata.ICustomAttributeTypeProvider{``0})">
3510 Decodes the arguments encoded in the value blob.
3513 <member name="T:System.Reflection.Metadata.ArrayShape">
3515 Represents the shape of an array type.
3518 <member name="P:System.Reflection.Metadata.ArrayShape.Rank">
3520 Gets the number of dimensions in the array.
3523 <member name="P:System.Reflection.Metadata.ArrayShape.Sizes">
3525 Gets the sizes of each dimension. Length may be smaller than rank, in which case the trailing dimensions have unspecified sizes.
3528 <member name="P:System.Reflection.Metadata.ArrayShape.LowerBounds">
3530 Gets the lower-bounds of each dimension. Length may be smaller than rank, in which case the trailing dimensions have unspecified lower bounds.
3533 <member name="M:System.Reflection.Metadata.ISZArrayTypeProvider`1.GetSZArrayType(`0)">
3535 Gets the type symbol for a single-dimensional array with zero lower bounds of the given element type.
3538 <member name="M:System.Reflection.Metadata.ISignatureTypeProvider`2.GetFunctionPointerType(System.Reflection.Metadata.MethodSignature{`0})">
3540 Gets the a type symbol for the function pointer type of the given method signature.
3543 <member name="M:System.Reflection.Metadata.ISignatureTypeProvider`2.GetGenericMethodParameter(`1,System.Int32)">
3545 Gets the type symbol for the generic method parameter at the given zero-based index.
3548 <member name="M:System.Reflection.Metadata.ISignatureTypeProvider`2.GetGenericTypeParameter(`1,System.Int32)">
3550 Gets the type symbol for the generic type parameter at the given zero-based index.
3553 <member name="M:System.Reflection.Metadata.ISignatureTypeProvider`2.GetModifiedType(`0,`0,System.Boolean)">
3555 Gets the type symbol for a type with a custom modifier applied.
3557 <param name="modifier">The modifier type applied. </param>
3558 <param name="unmodifiedType">The type symbol of the underlying type without modifiers applied.</param>
3559 <param name="isRequired">True if the modifier is required, false if it's optional.</param>
3561 <member name="M:System.Reflection.Metadata.ISignatureTypeProvider`2.GetPinnedType(`0)">
3563 Gets the type symbol for a local variable type that is marked as pinned.
3566 <member name="M:System.Reflection.Metadata.ISignatureTypeProvider`2.GetTypeFromSpecification(System.Reflection.Metadata.MetadataReader,`1,System.Reflection.Metadata.TypeSpecificationHandle,System.Byte)">
3568 Gets the type symbol for a type specification.
3570 <param name="reader">
3571 The metadata reader that was passed to the signature decoder. It may be null.
3573 <param name="genericContext">
3574 The context that was passed to the signature decoder.
3576 <param name="handle">
3577 The type specification handle.
3579 <param name="rawTypeKind">
3580 The kind of the type as specified in the signature. To interpret this value use <see cref="M:System.Reflection.Metadata.Ecma335.MetadataReaderExtensions.ResolveSignatureTypeKind(System.Reflection.Metadata.MetadataReader,System.Reflection.Metadata.EntityHandle,System.Byte)"/>
3581 Note that when the signature comes from a WinMD file additional processing is needed to determine whether the target type is a value type or a reference type.
3584 <member name="M:System.Reflection.Metadata.ISimpleTypeProvider`1.GetPrimitiveType(System.Reflection.Metadata.PrimitiveTypeCode)">
3586 Gets the type symbol for a primitive type.
3589 <member name="M:System.Reflection.Metadata.ISimpleTypeProvider`1.GetTypeFromDefinition(System.Reflection.Metadata.MetadataReader,System.Reflection.Metadata.TypeDefinitionHandle,System.Byte)">
3591 Gets the type symbol for a type definition.
3593 <param name="reader">
3594 The metadata reader that was passed to the signature decoder. It may be null.
3596 <param name="handle">
3597 The type definition handle.
3599 <param name="rawTypeKind">
3600 The kind of the type as specified in the signature. To interpret this value use <see cref="M:System.Reflection.Metadata.Ecma335.MetadataReaderExtensions.ResolveSignatureTypeKind(System.Reflection.Metadata.MetadataReader,System.Reflection.Metadata.EntityHandle,System.Byte)"/>
3601 Note that when the signature comes from a WinMD file additional processing is needed to determine whether the target type is a value type or a reference type.
3604 <member name="M:System.Reflection.Metadata.ISimpleTypeProvider`1.GetTypeFromReference(System.Reflection.Metadata.MetadataReader,System.Reflection.Metadata.TypeReferenceHandle,System.Byte)">
3606 Gets the type symbol for a type reference.
3608 <param name="reader">
3609 The metadata reader that was passed to the signature decoder. It may be null.
3611 <param name="handle">
3612 The type definition handle.
3614 <param name="rawTypeKind">
3615 The kind of the type as specified in the signature. To interpret this value use <see cref="M:System.Reflection.Metadata.Ecma335.MetadataReaderExtensions.ResolveSignatureTypeKind(System.Reflection.Metadata.MetadataReader,System.Reflection.Metadata.EntityHandle,System.Byte)"/>
3616 Note that when the signature comes from a WinMD file additional processing is needed to determine whether the target type is a value type or a reference type.
3619 <member name="F:System.Reflection.Metadata.SignatureTypeKind.Unknown">
3621 It is not known in the current context if the type reference or definition is a class or value type.
3624 <member name="F:System.Reflection.Metadata.SignatureTypeKind.Class">
3626 The type definition or reference refers to a class.
3629 <member name="F:System.Reflection.Metadata.SignatureTypeKind.ValueType">
3631 The type definition or reference refers to a value type.
3634 <member name="M:System.Reflection.Metadata.IConstructedTypeProvider`1.GetGenericInstantiation(`0,System.Collections.Immutable.ImmutableArray{`0})">
3636 Gets the type symbol for a generic instantiation of the given generic type with the given type arguments.
3639 <member name="M:System.Reflection.Metadata.IConstructedTypeProvider`1.GetArrayType(`0,System.Reflection.Metadata.ArrayShape)">
3641 Gets the type symbol for a generalized array of the given element type and shape.
3644 <member name="M:System.Reflection.Metadata.IConstructedTypeProvider`1.GetByReferenceType(`0)">
3646 Gets the type symbol for a managed pointer to the given element type.
3649 <member name="M:System.Reflection.Metadata.IConstructedTypeProvider`1.GetPointerType(`0)">
3651 Gets the type symbol for an unmanaged pointer to the given element ty
3654 <member name="T:System.Reflection.Metadata.MethodSignature`1">
3656 Represents a method (definition, reference, or standalone) or property signature.
3657 In the case of properties, the signature matches that of a getter with a distinguishing <see cref="T:System.Reflection.Metadata.SignatureHeader"/>.
3660 <member name="P:System.Reflection.Metadata.MethodSignature`1.Header">
3662 Represents the information in the leading byte of the signature (kind, calling convention, flags).
3665 <member name="P:System.Reflection.Metadata.MethodSignature`1.ReturnType">
3667 Gets the method's return type.
3670 <member name="P:System.Reflection.Metadata.MethodSignature`1.RequiredParameterCount">
3672 Gets the number of parameters that are required. Will be equal to the length <see cref="P:System.Reflection.Metadata.MethodSignature`1.ParameterTypes"/> of
3673 unless this signature represents the standalone call site of a vararg method, in which case the entries
3674 extra entries in <see cref="P:System.Reflection.Metadata.MethodSignature`1.ParameterTypes"/> are the types used for the optional parameters.
3677 <member name="P:System.Reflection.Metadata.MethodSignature`1.GenericParameterCount">
3679 Gets the number of generic type parameters of the method. Will be 0 for non-generic methods.
3682 <member name="P:System.Reflection.Metadata.MethodSignature`1.ParameterTypes">
3684 Gets the method's parameter types.
3687 <member name="T:System.Reflection.Metadata.PrimitiveTypeCode">
3689 Represents a primitive type found in metadata signatures.
3692 <member name="P:System.Reflection.Metadata.ExceptionRegion.TryOffset">
3694 Start IL offset of the try block.
3697 <member name="P:System.Reflection.Metadata.ExceptionRegion.TryLength">
3699 Length in bytes of try block.
3702 <member name="P:System.Reflection.Metadata.ExceptionRegion.HandlerOffset">
3704 Start IL offset of the exception handler.
3707 <member name="P:System.Reflection.Metadata.ExceptionRegion.HandlerLength">
3709 Length in bytes of the exception handler.
3712 <member name="P:System.Reflection.Metadata.ExceptionRegion.FilterOffset">
3714 IL offset of the start of the filter block, or -1 if the region is not a filter.
3717 <member name="P:System.Reflection.Metadata.ExceptionRegion.CatchType">
3719 Returns a TypeRef, TypeDef, or TypeSpec handle if the region represents a catch, nil token otherwise.
3722 <member name="P:System.Reflection.Metadata.ExportedType.Name">
3724 Name of the target type, or nil if the type is nested or defined in a root namespace.
3727 <member name="P:System.Reflection.Metadata.ExportedType.Namespace">
3729 Full name of the namespace where the target type, or nil if the type is nested or defined in a root namespace.
3732 <member name="P:System.Reflection.Metadata.ExportedType.NamespaceDefinition">
3734 The definition handle of the namespace where the target type is defined, or nil if the type is nested or defined in a root namespace.
3737 <member name="P:System.Reflection.Metadata.ExportedType.Implementation">
3739 Handle to resolve the implementation of the target type.
3742 <list type="bullet">
3743 <item><description><see cref="T:System.Reflection.Metadata.AssemblyFileHandle"/> representing another module in the assembly.</description></item>
3744 <item><description><see cref="T:System.Reflection.Metadata.AssemblyReferenceHandle"/> representing another assembly if <see cref="P:System.Reflection.Metadata.ExportedType.IsForwarder"/> is true.</description></item>
3745 <item><description><see cref="T:System.Reflection.Metadata.ExportedTypeHandle"/> representing the declaring exported type in which this was is nested.</description></item>
3749 <member name="M:System.Reflection.Metadata.FieldDefinition.GetOffset">
3751 Returns field layout offset, or -1 if not available.
3754 <member name="P:System.Reflection.Metadata.GenericParameter.Parent">
3756 <see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/> or <see cref="T:System.Reflection.Metadata.MethodDefinitionHandle"/>.
3759 Corresponds to Owner field of GenericParam table in ECMA-335 Standard.
3762 <member name="P:System.Reflection.Metadata.GenericParameter.Attributes">
3764 Attributes specifying variance and constraints.
3767 Corresponds to Flags field of GenericParam table in ECMA-335 Standard.
3770 <member name="P:System.Reflection.Metadata.GenericParameter.Index">
3772 Zero-based index of the parameter within the declaring generic type or method declaration.
3775 Corresponds to Number field of GenericParam table in ECMA-335 Standard.
3778 <member name="P:System.Reflection.Metadata.GenericParameter.Name">
3780 The name of the generic parameter.
3783 Corresponds to Name field of GenericParam table in ECMA-335 Standard.
3786 <member name="P:System.Reflection.Metadata.GenericParameterConstraint.Parameter">
3788 The constrained <see cref="T:System.Reflection.Metadata.GenericParameterHandle"/>.
3791 Corresponds to Owner field of GenericParamConstraint table in ECMA-335 Standard.
3794 <member name="P:System.Reflection.Metadata.GenericParameterConstraint.Type">
3796 Handle (<see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/>, <see cref="T:System.Reflection.Metadata.TypeReferenceHandle"/>, or <see cref="T:System.Reflection.Metadata.TypeSpecificationHandle"/>)
3797 specifying from which type this generic parameter is constrained to derive,
3798 or which interface this generic parameter is constrained to implement.
3801 Corresponds to Constraint field of GenericParamConstraint table in ECMA-335 Standard.
3804 <member name="T:System.Reflection.Metadata.GenericParameterHandleCollection">
3806 Represents generic type parameters of a method or type.
3809 <member name="T:System.Reflection.Metadata.GenericParameterConstraintHandleCollection">
3811 Represents constraints of a generic type parameter.
3814 <member name="T:System.Reflection.Metadata.ParameterHandleCollection">
3816 Collection of parameters of a specified method.
3819 <member name="T:System.Reflection.Metadata.TypeDefinitionHandleCollection">
3821 Represents a collection of <see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/>.
3824 <member name="T:System.Reflection.Metadata.TypeReferenceHandleCollection">
3826 Represents a collection of <see cref="T:System.Reflection.Metadata.TypeReferenceHandle"/>.
3829 <member name="T:System.Reflection.Metadata.ExportedTypeHandleCollection">
3831 Represents a collection of <see cref="T:System.Reflection.Metadata.TypeReferenceHandle"/>.
3834 <member name="T:System.Reflection.Metadata.MemberReferenceHandleCollection">
3836 Represents a collection of <see cref="T:System.Reflection.Metadata.MemberReferenceHandle"/>.
3839 <member name="T:System.Reflection.Metadata.AssemblyReferenceHandleCollection">
3841 Collection of assembly references.
3844 <member name="T:System.Reflection.Metadata.ManifestResourceHandleCollection">
3846 Represents a collection of <see cref="T:System.Reflection.Metadata.ManifestResourceHandle"/>.
3849 <member name="T:System.Reflection.Metadata.AssemblyFileHandleCollection">
3851 Represents a collection of <see cref="T:System.Reflection.Metadata.AssemblyFileHandle"/>.
3854 <member name="M:System.Reflection.Metadata.HandleComparer.Compare(System.Reflection.Metadata.Handle,System.Reflection.Metadata.Handle)">
3856 Compares two handles.
3859 The order of handles that differ in kind and are not <see cref="T:System.Reflection.Metadata.EntityHandle"/> is undefined.
3860 Returns 0 if and only if <see cref="M:System.Reflection.Metadata.HandleComparer.Equals(System.Reflection.Metadata.Handle,System.Reflection.Metadata.Handle)"/> returns true.
3863 <member name="M:System.Reflection.Metadata.HandleComparer.Compare(System.Reflection.Metadata.EntityHandle,System.Reflection.Metadata.EntityHandle)">
3865 Compares two entity handles.
3868 Returns 0 if and only if <see cref="M:System.Reflection.Metadata.HandleComparer.Equals(System.Reflection.Metadata.EntityHandle,System.Reflection.Metadata.EntityHandle)"/> returns true.
3871 <member name="T:System.Reflection.Metadata.Handle">
3873 Represents any metadata entity (type reference/definition/specification, method definition, custom attribute, etc.) or value (string, blob, guid, user string).
3876 Use <see cref="T:System.Reflection.Metadata.Handle"/> to store multiple kinds of handles.
3879 <member name="M:System.Reflection.Metadata.Handle.FromVToken(System.UInt32)">
3881 Creates <see cref="T:System.Reflection.Metadata.Handle"/> from a token or a token combined with a virtual flag.
3884 <member name="P:System.Reflection.Metadata.Handle.EntityHandleType">
3886 Token type (0x##000000), does not include virtual flag.
3889 <member name="P:System.Reflection.Metadata.Handle.Type">
3891 Small token type (0x##), does not include virtual flag.
3894 <member name="P:System.Reflection.Metadata.Handle.EntityHandleValue">
3896 Value stored in an <see cref="T:System.Reflection.Metadata.EntityHandle"/>.
3899 <member name="P:System.Reflection.Metadata.Handle.SpecificEntityHandleValue">
3901 Value stored in a concrete entity handle (see <see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/>, <see cref="T:System.Reflection.Metadata.MethodDefinitionHandle"/>, etc.).
3904 <member name="P:System.Reflection.Metadata.InterfaceImplementation.Interface">
3906 The interface that is implemented
3907 <see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/>, <see cref="T:System.Reflection.Metadata.TypeReferenceHandle"/>, or <see cref="T:System.Reflection.Metadata.TypeSpecificationHandle"/>
3910 <member name="P:System.Reflection.Metadata.ManifestResource.Offset">
3912 Specifies the byte offset within the referenced file at which this resource record begins.
3915 Corresponds to Offset field of ManifestResource table in ECMA-335 Standard.
3918 <member name="P:System.Reflection.Metadata.ManifestResource.Attributes">
3920 Resource attributes.
3923 Corresponds to Flags field of ManifestResource table in ECMA-335 Standard.
3926 <member name="P:System.Reflection.Metadata.ManifestResource.Name">
3928 Name of the resource.
3931 Corresponds to Name field of ManifestResource table in ECMA-335 Standard.
3934 <member name="P:System.Reflection.Metadata.ManifestResource.Implementation">
3936 <see cref="T:System.Reflection.Metadata.AssemblyFileHandle"/>, <see cref="T:System.Reflection.Metadata.AssemblyReferenceHandle"/>, or nil handle.
3939 Corresponds to Implementation field of ManifestResource table in ECMA-335 Standard.
3941 If nil then <see cref="P:System.Reflection.Metadata.ManifestResource.Offset"/> is an offset in the PE image that contains the metadata,
3942 starting from the Resource entry in the CLI header.
3945 <member name="P:System.Reflection.Metadata.MemberReference.Parent">
3947 MethodDef, ModuleRef,TypeDef, TypeRef, or TypeSpec handle.
3950 <member name="P:System.Reflection.Metadata.MemberReference.Signature">
3952 Gets a handle to the signature blob.
3955 <member name="M:System.Reflection.Metadata.MemberReference.GetKind">
3957 Determines if the member reference is to a method or field.
3959 <exception cref="T:System.BadImageFormatException">The member reference signature is invalid.</exception>
3961 <member name="T:System.Reflection.Metadata.StandaloneSignatureKind">
3963 Indicates whether a <see cref="T:System.Reflection.Metadata.StandaloneSignature"/> represents a standalone method or local variable signature.
3966 <member name="F:System.Reflection.Metadata.StandaloneSignatureKind.Method">
3968 The <see cref="T:System.Reflection.Metadata.StandaloneSignature"/> represents a standalone method signature.
3971 <member name="F:System.Reflection.Metadata.StandaloneSignatureKind.LocalVariables">
3973 The <see cref="T:System.Reflection.Metadata.MemberReference"/> references a local variable signature.
3976 <member name="T:System.Reflection.Metadata.MemberReferenceKind">
3978 Indicates whether a <see cref="T:System.Reflection.Metadata.MemberReference"/> references a method or field.
3981 <member name="F:System.Reflection.Metadata.MemberReferenceKind.Method">
3983 The <see cref="T:System.Reflection.Metadata.MemberReference"/> references a method.
3986 <member name="F:System.Reflection.Metadata.MemberReferenceKind.Field">
3988 The <see cref="T:System.Reflection.Metadata.MemberReference"/> references a field.
3991 <member name="F:System.Reflection.Metadata.MetadataKind.Ecma335">
3996 <member name="F:System.Reflection.Metadata.MetadataKind.WindowsMetadata">
4001 <member name="F:System.Reflection.Metadata.MetadataKind.ManagedWindowsMetadata">
4003 Windows Metadata generated by managed compilers.
4006 <member name="T:System.Reflection.Metadata.MetadataReader">
4008 Reads metadata as defined byte the ECMA 335 CLI specification.
4011 <member name="M:System.Reflection.Metadata.MetadataReader.#ctor(System.Byte*,System.Int32)">
4013 Creates a metadata reader from the metadata stored at the given memory location.
4016 The memory is owned by the caller and it must be kept memory alive and unmodified throughout the lifetime of the <see cref="T:System.Reflection.Metadata.MetadataReader"/>.
4019 <member name="M:System.Reflection.Metadata.MetadataReader.#ctor(System.Byte*,System.Int32,System.Reflection.Metadata.MetadataReaderOptions)">
4021 Creates a metadata reader from the metadata stored at the given memory location.
4024 The memory is owned by the caller and it must be kept memory alive and unmodified throughout the lifetime of the <see cref="T:System.Reflection.Metadata.MetadataReader"/>.
4025 Use <see cref="M:System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(System.Reflection.PortableExecutable.PEReader,System.Reflection.Metadata.MetadataReaderOptions)"/> to obtain
4026 metadata from a PE image.
4029 <member name="M:System.Reflection.Metadata.MetadataReader.#ctor(System.Byte*,System.Int32,System.Reflection.Metadata.MetadataReaderOptions,System.Reflection.Metadata.MetadataStringDecoder)">
4031 Creates a metadata reader from the metadata stored at the given memory location.
4034 The memory is owned by the caller and it must be kept memory alive and unmodified throughout the lifetime of the <see cref="T:System.Reflection.Metadata.MetadataReader"/>.
4035 Use <see cref="M:System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(System.Reflection.PortableExecutable.PEReader,System.Reflection.Metadata.MetadataReaderOptions,System.Reflection.Metadata.MetadataStringDecoder)"/> to obtain
4036 metadata from a PE image.
4038 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="length"/> is not positive.</exception>
4039 <exception cref="T:System.ArgumentNullException"><paramref name="metadata"/> is null.</exception>
4040 <exception cref="T:System.ArgumentException">The encoding of <paramref name="utf8Decoder"/> is not <see cref="T:System.Text.UTF8Encoding"/>.</exception>
4041 <exception cref="T:System.PlatformNotSupportedException">The current platform is big-endian.</exception>
4042 <exception cref="T:System.BadImageFormatException">Bad metadata header.</exception>
4044 <member name="F:System.Reflection.Metadata.MetadataReader.IsMinimalDelta">
4046 True if the metadata stream has minimal delta format. Used for EnC.
4049 The metadata stream has minimal delta format if "#JTD" stream is present.
4050 Minimal delta format uses large size (4B) when encoding table/heap references.
4051 The heaps in minimal delta only contain data of the delta,
4052 there is no padding at the beginning of the heaps that would align them
4053 with the original full metadata heaps.
4056 <member name="M:System.Reflection.Metadata.MetadataReader.ReadMetadataHeader(System.Reflection.Metadata.BlobReader@,System.String@)">
4058 Looks like this function reads beginning of the header described in
4059 ECMA-335 24.2.1 Metadata root
4062 <member name="M:System.Reflection.Metadata.MetadataReader.ReadStreamHeaders(System.Reflection.Metadata.BlobReader@)">
4064 Reads stream headers described in ECMA-335 24.2.2 Stream header
4067 <member name="F:System.Reflection.Metadata.MetadataReader.TableRowCounts">
4069 A row count for each possible table. May be indexed by <see cref="T:System.Reflection.Metadata.Ecma335.TableIndex"/>.
4072 <member name="P:System.Reflection.Metadata.MetadataReader.MetadataPointer">
4074 Pointer to the underlying data.
4077 <member name="P:System.Reflection.Metadata.MetadataReader.MetadataLength">
4079 Length of the underlying data.
4082 <member name="P:System.Reflection.Metadata.MetadataReader.Options">
4084 Options passed to the constructor.
4087 <member name="P:System.Reflection.Metadata.MetadataReader.MetadataVersion">
4089 Version string read from metadata header.
4092 <member name="P:System.Reflection.Metadata.MetadataReader.DebugMetadataHeader">
4094 Information decoded from #Pdb stream, or null if the stream is not present.
4097 <member name="P:System.Reflection.Metadata.MetadataReader.MetadataKind">
4099 The kind of the metadata (plain ECMA335, WinMD, etc.).
4102 <member name="P:System.Reflection.Metadata.MetadataReader.StringComparer">
4104 Comparer used to compare strings stored in metadata.
4107 <member name="P:System.Reflection.Metadata.MetadataReader.UTF8Decoder">
4109 The decoder used by the reader to produce <see cref="T:System.String"/> instances from UTF8 encoded byte sequences.
4112 <member name="P:System.Reflection.Metadata.MetadataReader.IsAssembly">
4114 Returns true if the metadata represent an assembly.
4117 <member name="M:System.Reflection.Metadata.MetadataReader.GetNestedTypes(System.Reflection.Metadata.TypeDefinitionHandle)">
4119 Returns an array of types nested in the specified type.
4122 <member name="M:System.Reflection.Metadata.MetadataReader.CalculateFieldDefTreatmentAndRowId(System.Reflection.Metadata.FieldDefinitionHandle)">
4124 The backing field of a WinRT enumeration type is not public although the backing fields
4125 of managed enumerations are. To allow managed languages to directly access this field,
4126 it is made public by the metadata adapter.
4129 <member name="M:System.Reflection.Metadata.MetadataReader.ImplementsRedirectedInterface(System.Reflection.Metadata.MemberReferenceHandle,System.Boolean@)">
4131 We want to know if a given method implements a redirected interface.
4132 For example, if we are given the method RemoveAt on a class "A"
4133 which implements the IVector interface (which is redirected
4134 to IList in .NET) then this method would return true. The most
4135 likely reason why we would want to know this is that we wish to hide
4136 (mark private) all methods which implement methods on a redirected
4139 <param name="memberRef">The declaration token for the method</param>
4140 <param name="isIDisposable">
4141 Returns true if the redirected interface is <see cref="T:System.IDisposable"/>.
4143 <returns>True if the method implements a method on a redirected interface.
4144 False otherwise.</returns>
4146 <member name="M:System.Reflection.Metadata.MetadataReader.GetAttributeTypeRaw(System.Reflection.Metadata.CustomAttributeHandle)">
4148 Returns the type definition or reference handle of the attribute type.
4150 <returns><see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/> or <see cref="T:System.Reflection.Metadata.TypeReferenceHandle"/> or nil token if the metadata is invalid and the type can't be determined.</returns>
4152 <member name="F:System.Reflection.Metadata.MetadataReaderOptions.None">
4154 All options are disabled.
4157 <member name="F:System.Reflection.Metadata.MetadataReaderOptions.Default">
4159 The options that are used when a <see cref="T:System.Reflection.Metadata.MetadataReader"/> is obtained
4160 via an overload that does not take a <see cref="T:System.Reflection.Metadata.MetadataReaderOptions"/>
4164 <member name="F:System.Reflection.Metadata.MetadataReaderOptions.ApplyWindowsRuntimeProjections">
4166 Windows Runtime projections are enabled (on by default).
4169 <member name="T:System.Reflection.Metadata.MetadataStringComparer">
4171 Provides string comparison helpers to query strings in metadata while
4172 avoiding allocation where possible.
4176 No allocation is performed unless both the handle argument and the
4177 value argument contain non-ascii text.
4179 Obtain instances using <see cref="P:System.Reflection.Metadata.MetadataReader.StringComparer"/>.
4181 A default-initialized instance is useless and behaves as a null reference.
4183 The code is optimized such that there is no additional overhead in
4184 re-obtaining a a comparer over hoisting it in to a local.
4186 That is to say that a construct like:
4189 if (reader.StringComparer.Equals(typeDef.Namespace, "System") &&
4190 reader.StringComparer.Equals(typeDef.Name, "Object")
4192 // found System.Object
4196 is no less efficient than:
4199 var comparer = reader.StringComparer;
4200 if (comparer.Equals(typeDef.Namespace, "System") &&
4201 comparer.Equals(typeDef.Name, "Object")
4203 // found System.Object
4207 The choice between them is therefore one of style and not performance.
4210 <member name="T:System.Reflection.Metadata.MetadataStringDecoder">
4212 Provides the <see cref="T:System.Reflection.Metadata.MetadataReader"/> with a custom mechanism for decoding
4213 byte sequences in metadata that represent text.
4216 This can be used for the following purposes:
4218 1) To customize the treatment of invalid input. When no decoder is provided,
4219 the <see cref="T:System.Reflection.Metadata.MetadataReader"/> uses the default fallback replacement
4222 2) To reuse existing strings instead of allocating a new one for each decoding
4226 <member name="P:System.Reflection.Metadata.MetadataStringDecoder.Encoding">
4228 Gets the encoding used by this instance.
4231 <member name="P:System.Reflection.Metadata.MetadataStringDecoder.DefaultUTF8">
4233 The default decoder used by <see cref="T:System.Reflection.Metadata.MetadataReader"/> to decode UTF-8 when
4234 no decoder is provided to the constructor.
4237 <member name="M:System.Reflection.Metadata.MetadataStringDecoder.#ctor(System.Text.Encoding)">
4239 Creates a <see cref="T:System.Reflection.Metadata.MetadataStringDecoder"/> for the given encoding.
4241 <param name="encoding">The encoding to use.</param>
4243 To cache and reuse existing strings. Create a derived class and override <see cref="M:System.Reflection.Metadata.MetadataStringDecoder.GetString(System.Byte*,System.Int32)"/>
4246 <member name="M:System.Reflection.Metadata.MetadataStringDecoder.GetString(System.Byte*,System.Int32)">
4248 The mechanism through which the <see cref="T:System.Reflection.Metadata.MetadataReader"/> obtains strings
4249 for byte sequences in metadata. Override this to cache strings if required.
4250 Otherwise, it is implemented by forwarding straight to <see cref="P:System.Reflection.Metadata.MetadataStringDecoder.Encoding"/>
4251 and every call will allocate a new string.
4253 <param name="bytes">Pointer to bytes to decode.</param>
4254 <param name="byteCount">Number of bytes to decode.</param>
4255 <returns>The decoded string.</returns>
4257 <member name="P:System.Reflection.Metadata.MethodBodyBlock.Size">
4259 Size of the method body - includes the header, IL and exception regions.
4262 <member name="P:System.Reflection.Metadata.MethodSpecification.Method">
4264 MethodDef or MemberRef handle specifying to which generic method this <see cref="T:System.Reflection.Metadata.MethodSpecification"/> refers,
4265 that is which generic method is it an instantiation of.
4268 <member name="P:System.Reflection.Metadata.MethodSpecification.Signature">
4270 Gets a handle to the signature blob.
4273 <member name="P:System.Reflection.Metadata.NamespaceDefinition.Name">
4275 Gets the unqualified name of the NamespaceDefinition.
4278 <member name="P:System.Reflection.Metadata.NamespaceDefinition.Parent">
4280 Gets the parent namespace.
4283 <member name="P:System.Reflection.Metadata.NamespaceDefinition.NamespaceDefinitions">
4285 Gets the namespace definitions that are direct children of the current
4286 namespace definition.
4288 System.Collections and System.Linq are direct children of System.
4289 System.Collections.Generic is a direct child of System.Collections.
4290 System.Collections.Generic is *not* a direct child of System.
4293 <member name="P:System.Reflection.Metadata.NamespaceDefinition.TypeDefinitions">
4295 Gets all type definitions that reside directly in a namespace.
4298 <member name="P:System.Reflection.Metadata.NamespaceDefinition.ExportedTypes">
4300 Gets all exported types that reside directly in a namespace.
4303 <member name="T:System.Reflection.Metadata.Document">
4305 Source document in debug metadata.
4308 See also https://github.com/dotnet/corefx/blob/master/src/System.Reflection.Metadata/specs/PortablePdb-Metadata.md#document-table-0x30.
4311 <member name="P:System.Reflection.Metadata.Document.Name">
4313 Returns Document Name Blob.
4316 <member name="P:System.Reflection.Metadata.Document.Language">
4318 Source code language (C#, VB, F#, etc.)
4321 <member name="P:System.Reflection.Metadata.Document.HashAlgorithm">
4323 Hash algorithm used to calculate <see cref="P:System.Reflection.Metadata.Document.Hash"/> (SHA1, SHA256, etc.)
4326 <member name="P:System.Reflection.Metadata.Document.Hash">
4328 Document content hash.
4331 <see cref="P:System.Reflection.Metadata.Document.HashAlgorithm"/> determines the algorithm used to produce this hash.
4332 The source document is hashed in its binary form as stored in the file.
4335 <member name="T:System.Reflection.Metadata.DocumentNameBlobHandle">
4337 <see cref="T:System.Reflection.Metadata.BlobHandle"/> representing a blob on #Blob heap in Portable PDB
4338 structured as Document Name.
4341 The kind of the handle is <see cref="F:System.Reflection.Metadata.HandleKind.Blob"/>.
4342 The handle is a specialization of <see cref="T:System.Reflection.Metadata.BlobHandle"/> and doesn't have a distinct kind.
4345 <member name="M:System.Reflection.Metadata.MethodDebugInformationHandle.ToDefinitionHandle">
4347 Returns a handle to <see cref="T:System.Reflection.Metadata.MethodDefinition"/> corresponding to this handle.
4350 The resulting handle is only valid within the context of a <see cref="T:System.Reflection.Metadata.MetadataReader"/> open on the type system metadata blob,
4351 which in case of standalone PDB file is a different reader than the one containing this method debug information.
4354 <member name="M:System.Reflection.Metadata.ImportDefinitionCollection.Enumerator.MoveNext">
4355 <exception cref="T:System.BadImageFormatException">Invalid blob format.</exception>
4357 <member name="T:System.Reflection.Metadata.LocalConstant">
4359 Local constant. Stored in debug metadata.
4362 See https://github.com/dotnet/corefx/blob/master/src/System.Reflection.Metadata/specs/PortablePdb-Metadata.md#localconstant-table-0x34.
4365 <member name="P:System.Reflection.Metadata.LocalConstant.Signature">
4367 The constant signature.
4370 <member name="T:System.Reflection.Metadata.ImportScope">
4372 Lexical scope within which a group of imports are available. Stored in debug metadata.
4375 See https://github.com/dotnet/corefx/blob/master/src/System.Reflection.Metadata/specs/PortablePdb-Metadata.md#importscope-table-0x35
4378 <member name="T:System.Reflection.Metadata.LocalScope">
4380 Scope of local variables and constants. Stored in debug metadata.
4383 See https://github.com/dotnet/corefx/blob/master/src/System.Reflection.Metadata/specs/PortablePdb-Metadata.md#localscope-table-0x32.
4386 <member name="T:System.Reflection.Metadata.LocalVariable">
4388 Local variable. Stored in debug metadata.
4391 See https://github.com/dotnet/corefx/blob/master/src/System.Reflection.Metadata/specs/PortablePdb-Metadata.md#localvariable-table-0x33.
4394 <member name="T:System.Reflection.Metadata.MethodDebugInformation">
4396 Debug information associated with a method definition. Stored in debug metadata.
4399 See https://github.com/dotnet/corefx/blob/master/src/System.Reflection.Metadata/specs/PortablePdb-Metadata.md#methoddebuginformation-table-0x31.
4402 <member name="P:System.Reflection.Metadata.MethodDebugInformation.SequencePointsBlob">
4404 Returns a blob encoding sequence points.
4405 Use <see cref="M:System.Reflection.Metadata.MethodDebugInformation.GetSequencePoints"/> to decode.
4408 <member name="P:System.Reflection.Metadata.MethodDebugInformation.Document">
4410 The document containing the first sequence point of the method,
4411 or nil if the method doesn't have sequence points.
4414 <member name="P:System.Reflection.Metadata.MethodDebugInformation.LocalSignature">
4416 Returns local signature handle.
4419 <member name="M:System.Reflection.Metadata.MethodDebugInformation.GetStateMachineKickoffMethod">
4421 If the method is a MoveNext method of a state machine returns the kickoff method of the state machine, otherwise returns nil handle.
4424 <member name="M:System.Reflection.Metadata.PEReaderExtensions.GetMethodBody(System.Reflection.PortableExecutable.PEReader,System.Int32)">
4426 Returns a body block of a method with specified Relative Virtual Address (RVA);
4428 <exception cref="T:System.ArgumentNullException"><paramref name="peReader"/> is null.</exception>
4429 <exception cref="T:System.BadImageFormatException">The body is not found in the metadata or is invalid.</exception>
4430 <exception cref="T:System.InvalidOperationException">Section where the method is stored is not available.</exception>
4431 <exception cref="T:System.IO.IOException">IO error while reading from the underlying stream.</exception>
4433 <member name="M:System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(System.Reflection.PortableExecutable.PEReader)">
4435 Gets a <see cref="T:System.Reflection.Metadata.MetadataReader"/> from a <see cref="T:System.Reflection.PortableExecutable.PEReader"/>.
4438 The caller must keep the <see cref="T:System.Reflection.PortableExecutable.PEReader"/> alive and undisposed throughout the lifetime of the metadata reader.
4440 <exception cref="T:System.ArgumentNullException"><paramref name="peReader"/> is null</exception>
4441 <exception cref="T:System.PlatformNotSupportedException">The current platform is big-endian.</exception>
4442 <exception cref="T:System.IO.IOException">IO error while reading from the underlying stream.</exception>
4444 <member name="M:System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(System.Reflection.PortableExecutable.PEReader,System.Reflection.Metadata.MetadataReaderOptions)">
4446 Gets a <see cref="T:System.Reflection.Metadata.MetadataReader"/> from a <see cref="T:System.Reflection.PortableExecutable.PEReader"/>.
4449 The caller must keep the <see cref="T:System.Reflection.PortableExecutable.PEReader"/> alive and undisposed throughout the lifetime of the metadata reader.
4451 <exception cref="T:System.ArgumentNullException"><paramref name="peReader"/> is null</exception>
4452 <exception cref="T:System.PlatformNotSupportedException">The current platform is big-endian.</exception>
4453 <exception cref="T:System.IO.IOException">IO error while reading from the underlying stream.</exception>
4455 <member name="M:System.Reflection.Metadata.PEReaderExtensions.GetMetadataReader(System.Reflection.PortableExecutable.PEReader,System.Reflection.Metadata.MetadataReaderOptions,System.Reflection.Metadata.MetadataStringDecoder)">
4457 Gets a <see cref="T:System.Reflection.Metadata.MetadataReader"/> from a <see cref="T:System.Reflection.PortableExecutable.PEReader"/>.
4460 The caller must keep the <see cref="T:System.Reflection.PortableExecutable.PEReader"/> alive and undisposed throughout the lifetime of the metadata reader.
4462 <exception cref="T:System.ArgumentNullException"><paramref name="peReader"/> is null</exception>
4463 <exception cref="T:System.ArgumentException">The encoding of <paramref name="utf8Decoder"/> is not <see cref="T:System.Text.UTF8Encoding"/>.</exception>
4464 <exception cref="T:System.PlatformNotSupportedException">The current platform is big-endian.</exception>
4465 <exception cref="T:System.IO.IOException">IO error while reading from the underlying stream.</exception>
4467 <member name="T:System.Reflection.Metadata.SerializationTypeCode">
4469 Type codes used to encode types of values in Custom Attribute value blob.
4472 <member name="F:System.Reflection.Metadata.SerializationTypeCode.Invalid">
4474 Equivalent to <see cref="F:System.Reflection.Metadata.SignatureTypeCode.Invalid"/>.
4477 <member name="F:System.Reflection.Metadata.SerializationTypeCode.Boolean">
4479 Equivalent to <see cref="F:System.Reflection.Metadata.SignatureTypeCode.Boolean"/>.
4482 <member name="F:System.Reflection.Metadata.SerializationTypeCode.Char">
4484 Equivalent to <see cref="F:System.Reflection.Metadata.SignatureTypeCode.Char"/>.
4487 <member name="F:System.Reflection.Metadata.SerializationTypeCode.SByte">
4489 Equivalent to <see cref="F:System.Reflection.Metadata.SignatureTypeCode.SByte"/>.
4492 <member name="F:System.Reflection.Metadata.SerializationTypeCode.Byte">
4494 Equivalent to <see cref="F:System.Reflection.Metadata.SignatureTypeCode.Byte"/>.
4497 <member name="F:System.Reflection.Metadata.SerializationTypeCode.Int16">
4499 Equivalent to <see cref="F:System.Reflection.Metadata.SignatureTypeCode.Int16"/>.
4502 <member name="F:System.Reflection.Metadata.SerializationTypeCode.UInt16">
4504 Equivalent to <see cref="F:System.Reflection.Metadata.SignatureTypeCode.UInt16"/>.
4507 <member name="F:System.Reflection.Metadata.SerializationTypeCode.Int32">
4509 Equivalent to <see cref="F:System.Reflection.Metadata.SignatureTypeCode.Int32"/>.
4512 <member name="F:System.Reflection.Metadata.SerializationTypeCode.UInt32">
4514 Equivalent to <see cref="F:System.Reflection.Metadata.SignatureTypeCode.UInt32"/>.
4517 <member name="F:System.Reflection.Metadata.SerializationTypeCode.Int64">
4519 Equivalent to <see cref="F:System.Reflection.Metadata.SignatureTypeCode.Int64"/>.
4522 <member name="F:System.Reflection.Metadata.SerializationTypeCode.UInt64">
4524 Equivalent to <see cref="F:System.Reflection.Metadata.SignatureTypeCode.UInt64"/>.
4527 <member name="F:System.Reflection.Metadata.SerializationTypeCode.Single">
4529 Equivalent to <see cref="F:System.Reflection.Metadata.SignatureTypeCode.Single"/>.
4532 <member name="F:System.Reflection.Metadata.SerializationTypeCode.Double">
4534 Equivalent to <see cref="F:System.Reflection.Metadata.SignatureTypeCode.Double"/>.
4537 <member name="F:System.Reflection.Metadata.SerializationTypeCode.String">
4539 Equivalent to <see cref="F:System.Reflection.Metadata.SignatureTypeCode.String"/>.
4542 <member name="F:System.Reflection.Metadata.SerializationTypeCode.SZArray">
4544 Equivalent to <see cref="F:System.Reflection.Metadata.SignatureTypeCode.SZArray"/>.
4547 <member name="F:System.Reflection.Metadata.SerializationTypeCode.Type">
4549 The attribute argument is a System.Type instance.
4552 <member name="F:System.Reflection.Metadata.SerializationTypeCode.TaggedObject">
4554 The attribute argument is "boxed" (passed to a parameter, field, or property of type object) and carries type information in the attribute blob.
4557 <member name="F:System.Reflection.Metadata.SerializationTypeCode.Enum">
4559 The attribute argument is an Enum instance.
4562 <member name="T:System.Reflection.Metadata.SignatureAttributes">
4564 Specified additional flags that can be applied to method signatures.
4565 Underlying values correspond to the representation in the leading signature
4566 byte represented by <see cref="T:System.Reflection.Metadata.SignatureHeader"/>.
4569 <member name="F:System.Reflection.Metadata.SignatureAttributes.None">
4574 <member name="F:System.Reflection.Metadata.SignatureAttributes.Generic">
4579 <member name="F:System.Reflection.Metadata.SignatureAttributes.Instance">
4583 <remarks>Ecma 335 CLI Specification refers to this flag as HAS_THIS.</remarks>
4585 <member name="F:System.Reflection.Metadata.SignatureAttributes.ExplicitThis">
4587 The first explicitly declared parameter represents the instance pointer.
4590 <member name="T:System.Reflection.Metadata.SignatureCallingConvention">
4592 Specifies how arguments in a given signature are passed from the caller to the callee.
4593 Underlying values correspond to the representation in the leading signature byte
4594 represented by <see cref="T:System.Reflection.Metadata.SignatureHeader"/>.
4597 <member name="F:System.Reflection.Metadata.SignatureCallingConvention.Default">
4599 Managed calling convention with fixed-length argument list.
4602 <member name="F:System.Reflection.Metadata.SignatureCallingConvention.CDecl">
4604 Unmanaged C/C++-style calling convention where the call stack is cleaned by the caller.
4607 <member name="F:System.Reflection.Metadata.SignatureCallingConvention.StdCall">
4609 Unmanaged calling convention where call stack is cleaned up by the callee.
4612 <member name="F:System.Reflection.Metadata.SignatureCallingConvention.ThisCall">
4614 Unmanaged C++-style calling convention for calling instance member functions with a fixed argument list.
4617 <member name="F:System.Reflection.Metadata.SignatureCallingConvention.FastCall">
4619 Unmanaged calling convention where arguments are passed in registers when possible.
4622 <member name="F:System.Reflection.Metadata.SignatureCallingConvention.VarArgs">
4624 Managed calling convention for passing extra arguments.
4627 <member name="T:System.Reflection.Metadata.SignatureHeader">
4629 Represents the signature characteristics specified by the leading byte of signature blobs.
4632 This header byte is present in all method definition, method reference, standalone method, field,
4633 property, and local variable signatures, but not in type specification signatures.
4636 <member name="T:System.Reflection.Metadata.SignatureKind">
4638 Specifies the signature kind. Underlying values correspond to the representation
4639 in the leading signature byte represented by <see cref="T:System.Reflection.Metadata.SignatureHeader"/>.
4642 <member name="F:System.Reflection.Metadata.SignatureKind.Method">
4644 Method reference, method definition, or standalone method signature.
4647 <member name="F:System.Reflection.Metadata.SignatureKind.Field">
4652 <member name="F:System.Reflection.Metadata.SignatureKind.LocalVariables">
4654 Local variables signature.
4657 <member name="F:System.Reflection.Metadata.SignatureKind.Property">
4662 <member name="F:System.Reflection.Metadata.SignatureKind.MethodSpecification">
4664 Method specification signature.
4667 <member name="T:System.Reflection.Metadata.SignatureTypeCode">
4669 Represents the type codes that are used in signature encoding.
4672 <member name="F:System.Reflection.Metadata.SignatureTypeCode.Invalid">
4674 Represents an invalid or uninitialized type code. It will not appear in valid signatures.
4677 <member name="F:System.Reflection.Metadata.SignatureTypeCode.Void">
4679 Represents <see cref="T:System.Void"/> in signatures.
4682 <member name="F:System.Reflection.Metadata.SignatureTypeCode.Boolean">
4684 Represents <see cref="T:System.Boolean"/> in signatures.
4687 <member name="F:System.Reflection.Metadata.SignatureTypeCode.Char">
4689 Represents <see cref="T:System.Char"/> in signatures.
4692 <member name="F:System.Reflection.Metadata.SignatureTypeCode.SByte">
4694 Represents <see cref="T:System.SByte"/> in signatures.
4697 <member name="F:System.Reflection.Metadata.SignatureTypeCode.Byte">
4699 Represents <see cref="T:System.Byte"/> in signatures.
4702 <member name="F:System.Reflection.Metadata.SignatureTypeCode.Int16">
4704 Represents <see cref="T:System.Int16"/> in signatures.
4707 <member name="F:System.Reflection.Metadata.SignatureTypeCode.UInt16">
4709 Represents <see cref="T:System.UInt16"/> in signatures.
4712 <member name="F:System.Reflection.Metadata.SignatureTypeCode.Int32">
4714 Represents <see cref="T:System.Int32"/> in signatures.
4717 <member name="F:System.Reflection.Metadata.SignatureTypeCode.UInt32">
4719 Represents <see cref="T:System.UInt32"/> in signatures.
4722 <member name="F:System.Reflection.Metadata.SignatureTypeCode.Int64">
4724 Represents <see cref="T:System.Int64"/> in signatures.
4727 <member name="F:System.Reflection.Metadata.SignatureTypeCode.UInt64">
4729 Represents <see cref="T:System.UInt64"/> in signatures.
4732 <member name="F:System.Reflection.Metadata.SignatureTypeCode.Single">
4734 Represents <see cref="T:System.Single"/> in signatures.
4737 <member name="F:System.Reflection.Metadata.SignatureTypeCode.Double">
4739 Represents <see cref="T:System.Double"/> in signatures.
4742 <member name="F:System.Reflection.Metadata.SignatureTypeCode.String">
4744 Represents <see cref="T:System.String"/> in signatures.
4747 <member name="F:System.Reflection.Metadata.SignatureTypeCode.Pointer">
4749 Represents a unmanaged pointers in signatures.
4750 It is followed in the blob by the signature encoding of the underlying type.
4753 <member name="F:System.Reflection.Metadata.SignatureTypeCode.ByReference">
4755 Represents managed pointers (byref return values and parameters) in signatures.
4756 It is followed in the blob by the signature encoding of the underlying type.
4759 <member name="F:System.Reflection.Metadata.SignatureTypeCode.GenericTypeParameter">
4761 Represents a generic type parameter used within a signature.
4764 <member name="F:System.Reflection.Metadata.SignatureTypeCode.Array">
4766 Represents a generalized <see cref="T:System.Array"/> in signatures.
4769 <member name="F:System.Reflection.Metadata.SignatureTypeCode.GenericTypeInstance">
4771 Represents the instantiation of a generic type in signatures.
4774 <member name="F:System.Reflection.Metadata.SignatureTypeCode.TypedReference">
4776 Represents a System.TypedReference in signatures.
4779 <member name="F:System.Reflection.Metadata.SignatureTypeCode.IntPtr">
4781 Represents a <see cref="T:System.IntPtr"/> in signatures.
4784 <member name="F:System.Reflection.Metadata.SignatureTypeCode.UIntPtr">
4786 Represents a <see cref="T:System.UIntPtr"/> in signatures.
4789 <member name="F:System.Reflection.Metadata.SignatureTypeCode.FunctionPointer">
4791 Represents function pointer types in signatures.
4794 <member name="F:System.Reflection.Metadata.SignatureTypeCode.Object">
4796 Represents <see cref="T:System.Object"/>
4799 <member name="F:System.Reflection.Metadata.SignatureTypeCode.SZArray">
4801 Represents a single dimensional <see cref="T:System.Array"/> with 0 lower bound.
4804 <member name="F:System.Reflection.Metadata.SignatureTypeCode.GenericMethodParameter">
4806 Represents a generic method parameter used within a signature.
4809 <member name="F:System.Reflection.Metadata.SignatureTypeCode.RequiredModifier">
4811 Represents a custom modifier applied to a type within a signature that the caller must understand.
4814 <member name="F:System.Reflection.Metadata.SignatureTypeCode.OptionalModifier">
4816 Represents a custom modifier applied to a type within a signature that the caller can ignore.
4819 <member name="F:System.Reflection.Metadata.SignatureTypeCode.TypeHandle">
4821 Precedes a type <see cref="T:System.Reflection.Metadata.EntityHandle"/> in signatures.
4824 In raw metadata, this will be encoded as either ELEMENT_TYPE_CLASS (0x12) for reference
4825 types and ELEMENT_TYPE_VALUETYPE (0x11) for value types. This is collapsed to a single
4826 code because Windows Runtime projections can project from class to value type or vice-versa
4827 and the raw code is misleading in those cases.
4830 <member name="F:System.Reflection.Metadata.SignatureTypeCode.Sentinel">
4832 Represents a marker to indicate the end of fixed arguments and the beginning of variable arguments.
4835 <member name="F:System.Reflection.Metadata.SignatureTypeCode.Pinned">
4837 Represents a local variable that is pinned by garbage collector
4840 <member name="P:System.Reflection.Metadata.StandaloneSignature.Signature">
4842 Gets a handle to the signature blob.
4845 <member name="M:System.Reflection.Metadata.StandaloneSignature.GetKind">
4847 Determines the kind of signature, which can be <see cref="F:System.Reflection.Metadata.SignatureKind.Method"/> or <see cref="F:System.Reflection.Metadata.SignatureKind.LocalVariables"/>
4849 <exception cref="T:System.BadImageFormatException">The signature is invalid.</exception>
4851 <member name="P:System.Reflection.Metadata.TypeDefinition.Name">
4856 <member name="P:System.Reflection.Metadata.TypeDefinition.Namespace">
4858 Full name of the namespace where the type is defined, or nil if the type is nested or defined in a root namespace.
4861 <member name="P:System.Reflection.Metadata.TypeDefinition.NamespaceDefinition">
4863 The definition handle of the namespace where the type is defined, or nil if the type is nested or defined in a root namespace.
4866 <member name="P:System.Reflection.Metadata.TypeDefinition.BaseType">
4868 The base type of the type definition: either
4869 <see cref="T:System.Reflection.Metadata.TypeSpecificationHandle"/>, <see cref="T:System.Reflection.Metadata.TypeReferenceHandle"/> or <see cref="T:System.Reflection.Metadata.TypeDefinitionHandle"/>.
4872 <member name="M:System.Reflection.Metadata.TypeDefinition.GetDeclaringType">
4874 Returns the enclosing type of a specified nested type or nil handle if the type is not nested.
4877 <member name="M:System.Reflection.Metadata.TypeDefinition.GetNestedTypes">
4879 Returns an array of types nested in the specified type.
4882 <member name="P:System.Reflection.Metadata.TypeReference.ResolutionScope">
4884 Resolution scope in which the target type is defined and is uniquely identified by the specified <see cref="P:System.Reflection.Metadata.TypeReference.Namespace"/> and <see cref="P:System.Reflection.Metadata.TypeReference.Name"/>.
4887 Resolution scope can be one of the following handles:
4888 <list type="bullet">
4889 <item><description><see cref="T:System.Reflection.Metadata.TypeReferenceHandle"/> of the enclosing type, if the target type is a nested type.</description></item>
4890 <item><description><see cref="T:System.Reflection.Metadata.ModuleReferenceHandle"/>, if the target type is defined in another module within the same assembly as this one.</description></item>
4891 <item><description><see cref="F:System.Reflection.Metadata.EntityHandle.ModuleDefinition"/>, if the target type is defined in the current module. This should not occur in a CLI compressed metadata module.</description></item>
4892 <item><description><see cref="T:System.Reflection.Metadata.AssemblyReferenceHandle"/>, if the target type is defined in a different assembly from the current module.</description></item>
4893 <item><description>Nil handle if the target type must be resolved by searching the <see cref="P:System.Reflection.Metadata.MetadataReader.ExportedTypes"/> for a matching <see cref="P:System.Reflection.Metadata.TypeReference.Namespace"/> and <see cref="P:System.Reflection.Metadata.TypeReference.Name"/>.</description></item>
4897 <member name="P:System.Reflection.Metadata.TypeReference.Name">
4899 Name of the target type.
4902 <member name="P:System.Reflection.Metadata.TypeReference.Namespace">
4904 Full name of the namespace where the target type is defined, or nil if the type is nested or defined in a root namespace.
4907 <member name="T:System.Reflection.PortableExecutable.ManagedTextSection">
4909 Managed .text PE section.
4912 Contains in the following order:
4913 - Import Address Table
4917 - Managed Resource Data
4918 - Strong Name Signature
4919 - Debug Data (directory and extra info)
4922 - Runtime Startup Stub
4926 <member name="P:System.Reflection.PortableExecutable.ManagedTextSection.ILStreamSize">
4928 The size of IL stream (unaligned).
4931 <member name="P:System.Reflection.PortableExecutable.ManagedTextSection.MetadataSize">
4933 Total size of metadata (header and all streams).
4936 <member name="P:System.Reflection.PortableExecutable.ManagedTextSection.ResourceDataSize">
4938 The size of managed resource data stream.
4939 Aligned to <see cref="F:System.Reflection.PortableExecutable.ManagedTextSection.ManagedResourcesDataAlignment"/>.
4942 <member name="P:System.Reflection.PortableExecutable.ManagedTextSection.StrongNameSignatureSize">
4944 Size of strong name hash.
4947 <member name="P:System.Reflection.PortableExecutable.ManagedTextSection.DebugDataSize">
4952 <member name="P:System.Reflection.PortableExecutable.ManagedTextSection.MappedFieldDataSize">
4954 The size of mapped field data stream.
4955 Aligned to <see cref="F:System.Reflection.PortableExecutable.ManagedTextSection.MappedFieldDataAlignment"/>.
4958 <member name="P:System.Reflection.PortableExecutable.ManagedTextSection.RequiresStartupStub">
4960 If set, the module must include a machine code stub that transfers control to the virtual execution system.
4963 <member name="P:System.Reflection.PortableExecutable.ManagedTextSection.Requires64bits">
4965 If set, the module contains instructions that assume a 64 bit instruction set. For example it may depend on an address being 64 bits.
4966 This may be true even if the module contains only IL instructions because of PlatformInvoke and COM interop.
4969 <member name="M:System.Reflection.PortableExecutable.ManagedTextSection.Serialize(System.Reflection.Metadata.BlobBuilder,System.Int32,System.Int32,System.Reflection.PortableExecutable.CorFlags,System.UInt64,System.Reflection.Metadata.BlobBuilder,System.Reflection.Metadata.BlobBuilder,System.Reflection.Metadata.BlobBuilder,System.Reflection.Metadata.BlobBuilder,System.Reflection.Metadata.BlobBuilder,System.Reflection.Metadata.Blob@)">
4971 Serializes .text section data into a specified <paramref name="builder"/>.
4973 <param name="builder">An empty builder to serialize section data to.</param>
4974 <param name="relativeVirtualAddess">Relative virtual address of the section within the containing PE file.</param>
4975 <param name="entryPointTokenOrRelativeVirtualAddress">Entry point token or RVA (<see cref="P:System.Reflection.PortableExecutable.CorHeader.EntryPointTokenOrRelativeVirtualAddress"/>)</param>
4976 <param name="corFlags">COR Flags (<see cref="P:System.Reflection.PortableExecutable.CorHeader.Flags"/>).</param>
4977 <param name="baseAddress">Base address of the PE image.</param>
4978 <param name="metadataBuilder"><see cref="T:System.Reflection.Metadata.BlobBuilder"/> containing metadata. Must be populated with data. Linked into the <paramref name="builder"/> and can't be expanded afterwards.</param>
4979 <param name="ilBuilder"><see cref="T:System.Reflection.Metadata.BlobBuilder"/> containing IL stream. Must be populated with data. Linked into the <paramref name="builder"/> and can't be expanded afterwards.</param>
4980 <param name="mappedFieldDataBuilderOpt"><see cref="T:System.Reflection.Metadata.BlobBuilder"/> containing mapped field data. Must be populated with data. Linked into the <paramref name="builder"/> and can't be expanded afterwards.</param>
4981 <param name="resourceBuilderOpt"><see cref="T:System.Reflection.Metadata.BlobBuilder"/> containing managed resource data. Must be populated with data. Linked into the <paramref name="builder"/> and can't be expanded afterwards.</param>
4982 <param name="debugDataBuilderOpt"><see cref="T:System.Reflection.Metadata.BlobBuilder"/> containing PE debug table and data. Must be populated with data. Linked into the <paramref name="builder"/> and can't be expanded afterwards.</param>
4983 <param name="strongNameSignature">Blob reserved in the <paramref name="builder"/> for strong name signature.</param>
4985 <member name="M:System.Reflection.PortableExecutable.DebugDirectoryBuilder.AddCodeViewEntry(System.String,System.Reflection.Metadata.BlobContentId,System.UInt16)">
4987 Adds a CodeView entry.
4989 <param name="pdbPath">Path to the PDB. Shall not be empty.</param>
4990 <param name="pdbContentId">Unique id of the PDB content.</param>
4991 <param name="portablePdbVersion">Version of Portable PDB format (e.g. 0x0100 for 1.0), or 0 if the PDB is not portable.</param>
4992 <exception cref="T:System.ArgumentNullException"><paramref name="pdbPath"/> is null.</exception>
4993 <exception cref="T:System.ArgumentException"><paramref name="pdbPath"/> contains NUL character.</exception>
4994 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="portablePdbVersion"/> is smaller than 0x0100.</exception>
4996 <member name="M:System.Reflection.PortableExecutable.DebugDirectoryBuilder.AddReproducibleEntry">
4998 Adds Reproducible entry.
5001 <member name="M:System.Reflection.PortableExecutable.DebugDirectoryBuilder.AddEmbeddedPortablePdbEntry(System.Reflection.Metadata.BlobBuilder,System.UInt16)">
5003 Adds Embedded Portable PDB entry.
5005 <param name="debugMetadata">Portable PDB metadata builder.</param>
5006 <param name="portablePdbVersion">Version of Portable PDB format (e.g. 0x0100 for 1.0).</param>
5007 <exception cref="T:System.ArgumentNullException"><paramref name="debugMetadata"/> is null.</exception>
5008 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="portablePdbVersion"/> is smaller than 0x0100.</exception>
5010 <member name="M:System.Reflection.PortableExecutable.DebugDirectoryBuilder.Serialize(System.Reflection.Metadata.BlobBuilder,System.Reflection.PortableExecutable.SectionLocation,System.Int32)">
5012 Serialize the Debug Table and Data.
5014 <param name="builder">Builder.</param>
5015 <param name="sectionLocation">The containing PE section location.</param>
5016 <param name="sectionOffset">Offset of the table within the containing section.</param>
5018 <member name="P:System.Reflection.PortableExecutable.PEDirectoriesBuilder.ExportTable">
5020 Aka IMAGE_DIRECTORY_ENTRY_EXPORT.
5023 <member name="P:System.Reflection.PortableExecutable.PEDirectoriesBuilder.ImportTable">
5025 Aka IMAGE_DIRECTORY_ENTRY_IMPORT.
5028 <member name="P:System.Reflection.PortableExecutable.PEDirectoriesBuilder.ResourceTable">
5030 Aka IMAGE_DIRECTORY_ENTRY_RESOURCE.
5033 <member name="P:System.Reflection.PortableExecutable.PEDirectoriesBuilder.ExceptionTable">
5035 Aka IMAGE_DIRECTORY_ENTRY_EXCEPTION.
5038 <member name="P:System.Reflection.PortableExecutable.PEDirectoriesBuilder.BaseRelocationTable">
5040 Aka IMAGE_DIRECTORY_ENTRY_BASERELOC.
5043 <member name="P:System.Reflection.PortableExecutable.PEDirectoriesBuilder.DebugTable">
5045 Aka IMAGE_DIRECTORY_ENTRY_DEBUG.
5048 <member name="P:System.Reflection.PortableExecutable.PEDirectoriesBuilder.CopyrightTable">
5050 Aka IMAGE_DIRECTORY_ENTRY_COPYRIGHT or IMAGE_DIRECTORY_ENTRY_ARCHITECTURE.
5053 <member name="P:System.Reflection.PortableExecutable.PEDirectoriesBuilder.GlobalPointerTable">
5055 Aka IMAGE_DIRECTORY_ENTRY_GLOBALPTR.
5058 <member name="P:System.Reflection.PortableExecutable.PEDirectoriesBuilder.ThreadLocalStorageTable">
5060 Aka IMAGE_DIRECTORY_ENTRY_TLS.
5063 <member name="P:System.Reflection.PortableExecutable.PEDirectoriesBuilder.LoadConfigTable">
5065 Aka IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG.
5068 <member name="P:System.Reflection.PortableExecutable.PEDirectoriesBuilder.BoundImportTable">
5070 Aka IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT.
5073 <member name="P:System.Reflection.PortableExecutable.PEDirectoriesBuilder.ImportAddressTable">
5075 Aka IMAGE_DIRECTORY_ENTRY_IAT.
5078 <member name="P:System.Reflection.PortableExecutable.PEDirectoriesBuilder.DelayImportTable">
5080 Aka IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT.
5083 <member name="P:System.Reflection.PortableExecutable.PEDirectoriesBuilder.CorHeaderTable">
5085 Aka IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR.
5088 <member name="M:System.Reflection.PortableExecutable.PEHeaderBuilder.#ctor(System.Reflection.PortableExecutable.Machine,System.Int32,System.Int32,System.UInt64,System.Byte,System.Byte,System.UInt16,System.UInt16,System.UInt16,System.UInt16,System.UInt16,System.UInt16,System.Reflection.PortableExecutable.Subsystem,System.Reflection.PortableExecutable.DllCharacteristics,System.Reflection.PortableExecutable.Characteristics,System.UInt64,System.UInt64,System.UInt64,System.UInt64)">
5090 Creates PE header builder.
5092 <exception cref="T:System.ArgumentOutOfRangeException">
5093 <paramref name="fileAlignment"/> is not power of 2 between 512 and 64K, or
5094 <paramref name="sectionAlignment"/> not power of 2 or it's less than <paramref name="fileAlignment"/>.
5097 <member name="T:System.Reflection.PortableExecutable.ResourceSectionBuilder">
5099 Base class for PE resource section builder. Implement to provide serialization logic for native resources.
5102 <member name="P:System.Reflection.PortableExecutable.CoffHeader.Machine">
5104 The type of target machine.
5107 <member name="P:System.Reflection.PortableExecutable.CoffHeader.NumberOfSections">
5109 The number of sections. This indicates the size of the section table, which immediately follows the headers.
5112 <member name="P:System.Reflection.PortableExecutable.CoffHeader.TimeDateStamp">
5114 The low 32 bits of the number of seconds since 00:00 January 1, 1970, that indicates when the file was created.
5117 <member name="P:System.Reflection.PortableExecutable.CoffHeader.PointerToSymbolTable">
5119 The file pointer to the COFF symbol table, or zero if no COFF symbol table is present.
5120 This value should be zero for a PE image.
5123 <member name="P:System.Reflection.PortableExecutable.CoffHeader.NumberOfSymbols">
5125 The number of entries in the symbol table. This data can be used to locate the string table,
5126 which immediately follows the symbol table. This value should be zero for a PE image.
5129 <member name="P:System.Reflection.PortableExecutable.CoffHeader.SizeOfOptionalHeader">
5131 The size of the optional header, which is required for executable files but not for object files.
5132 This value should be zero for an object file.
5135 <member name="P:System.Reflection.PortableExecutable.CoffHeader.Characteristics">
5137 The flags that indicate the attributes of the file.
5140 <member name="T:System.Reflection.PortableExecutable.CorFlags">
5145 <member name="P:System.Reflection.PortableExecutable.CodeViewDebugDirectoryData.Guid">
5147 GUID (Globally Unique Identifier) of the associated PDB.
5150 <member name="P:System.Reflection.PortableExecutable.CodeViewDebugDirectoryData.Age">
5152 Iteration of the PDB. The first iteration is 1. The iteration is incremented each time the PDB content is augmented.
5155 <member name="P:System.Reflection.PortableExecutable.CodeViewDebugDirectoryData.Path">
5157 Path to the .pdb file containing debug information for the PE/COFF file.
5160 <member name="T:System.Reflection.PortableExecutable.DebugDirectoryEntry">
5162 Identifies the location, size and format of a block of debug information.
5165 <member name="P:System.Reflection.PortableExecutable.DebugDirectoryEntry.Stamp">
5167 The time and date that the debug data was created if the PE/COFF file is not deterministic,
5168 otherwise a value based on the hash of the content.
5171 The algorithm used to calculate this value is an implementation
5172 detail of the tool that produced the file.
5175 <member name="P:System.Reflection.PortableExecutable.DebugDirectoryEntry.MajorVersion">
5177 The major version number of the debug data format.
5180 <member name="P:System.Reflection.PortableExecutable.DebugDirectoryEntry.MinorVersion">
5182 The minor version number of the debug data format.
5185 <member name="P:System.Reflection.PortableExecutable.DebugDirectoryEntry.Type">
5187 The format of debugging information.
5190 <member name="P:System.Reflection.PortableExecutable.DebugDirectoryEntry.DataSize">
5192 The size of the debug data (not including the debug directory itself).
5195 <member name="P:System.Reflection.PortableExecutable.DebugDirectoryEntry.DataRelativeVirtualAddress">
5197 The address of the debug data when loaded, relative to the image base.
5200 <member name="P:System.Reflection.PortableExecutable.DebugDirectoryEntry.DataPointer">
5202 The file pointer to the debug data.
5205 <member name="P:System.Reflection.PortableExecutable.DebugDirectoryEntry.IsPortableCodeView">
5207 True if the the entry is a <see cref="F:System.Reflection.PortableExecutable.DebugDirectoryEntryType.CodeView"/> entry pointing to a Portable PDB.
5210 <member name="F:System.Reflection.PortableExecutable.DebugDirectoryEntryType.Unknown">
5212 An unknown value that is ignored by all tools.
5215 <member name="F:System.Reflection.PortableExecutable.DebugDirectoryEntryType.Coff">
5217 The COFF debug information (line numbers, symbol table, and string table).
5218 This type of debug information is also pointed to by fields in the file headers.
5221 <member name="F:System.Reflection.PortableExecutable.DebugDirectoryEntryType.CodeView">
5223 Associated PDB file description.
5226 <member name="F:System.Reflection.PortableExecutable.DebugDirectoryEntryType.Reproducible">
5228 Presence of this entry indicates deterministic PE/COFF file.
5232 The tool that produced the deterministic PE/COFF file guarantees that the entire content of the file
5233 is based solely on documented inputs given to the tool (such as source files, resource files, compiler options, etc.)
5234 rather than ambient environment variables (such as the current time, the operating system,
5235 the bitness of the process running the tool, etc.).
5238 The value of field TimeDateStamp in COFF File Header of a deterministic PE/COFF file
5239 does not indicate the date and time when the file was produced and should not be interpreted that way.
5240 Instead the value of the field is derived from a hash of the file content. The algorithm to calculate
5241 this value is an implementation detail of the tool that produced the file.
5244 The debug directory entry of type <see cref="F:System.Reflection.PortableExecutable.DebugDirectoryEntryType.Reproducible"/> must have all fields, except for Type zeroed.
5248 <member name="F:System.Reflection.PortableExecutable.DebugDirectoryEntryType.EmbeddedPortablePdb">
5250 The entry points to a blob containing Embedded Portable PDB.
5253 The Embedded Portable PDB blob has the following format:
5255 blob ::= uncompressed-size data
5257 Data spans the remainder of the blob and contains a Deflate-compressed Portable PDB.
5260 <member name="F:System.Reflection.PortableExecutable.Machine.Unknown">
5262 The target CPU is unknown or not specified.
5265 <member name="F:System.Reflection.PortableExecutable.Machine.I386">
5270 <member name="F:System.Reflection.PortableExecutable.Machine.WceMipsV2">
5272 MIPS little-endian WCE v2
5275 <member name="F:System.Reflection.PortableExecutable.Machine.Alpha">
5280 <member name="F:System.Reflection.PortableExecutable.Machine.SH3">
5282 Hitachi SH3 little endian
5285 <member name="F:System.Reflection.PortableExecutable.Machine.SH3Dsp">
5290 <member name="F:System.Reflection.PortableExecutable.Machine.SH3E">
5292 Hitachi SH3 little endian.
5295 <member name="F:System.Reflection.PortableExecutable.Machine.SH4">
5297 Hitachi SH4 little endian.
5300 <member name="F:System.Reflection.PortableExecutable.Machine.SH5">
5305 <member name="F:System.Reflection.PortableExecutable.Machine.Arm">
5310 <member name="F:System.Reflection.PortableExecutable.Machine.Thumb">
5315 <member name="F:System.Reflection.PortableExecutable.Machine.ArmThumb2">
5317 ARM Thumb-2 little endian.
5320 <member name="F:System.Reflection.PortableExecutable.Machine.AM33">
5325 <member name="F:System.Reflection.PortableExecutable.Machine.PowerPC">
5327 IBM PowerPC little endian.
5330 <member name="F:System.Reflection.PortableExecutable.Machine.PowerPCFP">
5335 <member name="F:System.Reflection.PortableExecutable.Machine.IA64">
5340 <member name="F:System.Reflection.PortableExecutable.Machine.MIPS16">
5345 <member name="F:System.Reflection.PortableExecutable.Machine.Alpha64">
5350 <member name="F:System.Reflection.PortableExecutable.Machine.MipsFpu">
5355 <member name="F:System.Reflection.PortableExecutable.Machine.MipsFpu16">
5360 <member name="F:System.Reflection.PortableExecutable.Machine.Tricore">
5365 <member name="F:System.Reflection.PortableExecutable.Machine.Ebc">
5370 <member name="F:System.Reflection.PortableExecutable.Machine.Amd64">
5375 <member name="F:System.Reflection.PortableExecutable.Machine.M32R">
5380 <member name="T:System.Reflection.PortableExecutable.PEBinaryReader">
5382 Simple BinaryReader wrapper to:
5384 1) throw BadImageFormat instead of EndOfStream or ArgumentOutOfRange.
5385 2) limit reads to a subset of the base stream.
5387 Only methods that are needed to read PE headers are implemented.
5390 <member name="M:System.Reflection.PortableExecutable.PEBinaryReader.ReadNullPaddedUTF8(System.Int32)">
5392 Reads a fixed-length byte block as a null-padded UTF8-encoded string.
5393 The padding is not included in the returned string.
5395 Note that it is legal for UTF8 strings to contain NUL; if NUL occurs
5396 between non-NUL codepoints, it is not considered to be padding and
5397 is included in the result.
5400 <member name="F:System.Reflection.PortableExecutable.DllCharacteristics.ProcessInit">
5405 <member name="F:System.Reflection.PortableExecutable.DllCharacteristics.ProcessTerm">
5410 <member name="F:System.Reflection.PortableExecutable.DllCharacteristics.ThreadInit">
5415 <member name="F:System.Reflection.PortableExecutable.DllCharacteristics.ThreadTerm">
5420 <member name="F:System.Reflection.PortableExecutable.DllCharacteristics.HighEntropyVirtualAddressSpace">
5422 Image can handle a high entropy 64-bit virtual address space.
5425 <member name="F:System.Reflection.PortableExecutable.DllCharacteristics.DynamicBase">
5430 <member name="F:System.Reflection.PortableExecutable.DllCharacteristics.NxCompatible">
5432 Image is NX compatible.
5435 <member name="F:System.Reflection.PortableExecutable.DllCharacteristics.NoIsolation">
5437 Image understands isolation and doesn't want it.
5440 <member name="F:System.Reflection.PortableExecutable.DllCharacteristics.NoSeh">
5442 Image does not use SEH. No SE handler may reside in this image.
5445 <member name="F:System.Reflection.PortableExecutable.DllCharacteristics.NoBind">
5447 Do not bind this image.
5450 <member name="F:System.Reflection.PortableExecutable.DllCharacteristics.AppContainer">
5452 The image must run inside an AppContainer.
5455 <member name="F:System.Reflection.PortableExecutable.DllCharacteristics.WdmDriver">
5457 Driver uses WDM model.
5460 <member name="P:System.Reflection.PortableExecutable.PEHeader.Magic">
5462 Identifies the format of the image file.
5465 <member name="P:System.Reflection.PortableExecutable.PEHeader.MajorLinkerVersion">
5467 The linker major version number.
5470 <member name="P:System.Reflection.PortableExecutable.PEHeader.MinorLinkerVersion">
5472 The linker minor version number.
5475 <member name="P:System.Reflection.PortableExecutable.PEHeader.SizeOfCode">
5477 The size of the code (text) section, or the sum of all code sections if there are multiple sections.
5480 <member name="P:System.Reflection.PortableExecutable.PEHeader.SizeOfInitializedData">
5482 The size of the initialized data section, or the sum of all such sections if there are multiple data sections.
5485 <member name="P:System.Reflection.PortableExecutable.PEHeader.SizeOfUninitializedData">
5487 The size of the uninitialized data section (BSS), or the sum of all such sections if there are multiple BSS sections.
5490 <member name="P:System.Reflection.PortableExecutable.PEHeader.AddressOfEntryPoint">
5492 The address of the entry point relative to the image base when the PE file is loaded into memory.
5493 For program images, this is the starting address. For device drivers, this is the address of the initialization function.
5494 An entry point is optional for DLLs. When no entry point is present, this field must be zero.
5497 <member name="P:System.Reflection.PortableExecutable.PEHeader.BaseOfCode">
5499 The address that is relative to the image base of the beginning-of-code section when it is loaded into memory.
5502 <member name="P:System.Reflection.PortableExecutable.PEHeader.BaseOfData">
5504 The address that is relative to the image base of the beginning-of-data section when it is loaded into memory.
5507 <member name="P:System.Reflection.PortableExecutable.PEHeader.ImageBase">
5509 The preferred address of the first byte of image when loaded into memory;
5510 must be a multiple of 64K.
5513 <member name="P:System.Reflection.PortableExecutable.PEHeader.SectionAlignment">
5515 The alignment (in bytes) of sections when they are loaded into memory. It must be greater than or equal to <see cref="P:System.Reflection.PortableExecutable.PEHeader.FileAlignment"/>.
5516 The default is the page size for the architecture.
5519 <member name="P:System.Reflection.PortableExecutable.PEHeader.FileAlignment">
5521 The alignment factor (in bytes) that is used to align the raw data of sections in the image file.
5522 The value should be a power of 2 between 512 and 64K, inclusive. The default is 512.
5523 If the <see cref="P:System.Reflection.PortableExecutable.PEHeader.SectionAlignment"/> is less than the architecture's page size,
5524 then <see cref="P:System.Reflection.PortableExecutable.PEHeader.FileAlignment"/> must match <see cref="P:System.Reflection.PortableExecutable.PEHeader.SectionAlignment"/>.
5527 <member name="P:System.Reflection.PortableExecutable.PEHeader.MajorOperatingSystemVersion">
5529 The major version number of the required operating system.
5532 <member name="P:System.Reflection.PortableExecutable.PEHeader.MinorOperatingSystemVersion">
5534 The minor version number of the required operating system.
5537 <member name="P:System.Reflection.PortableExecutable.PEHeader.MajorImageVersion">
5539 The major version number of the image.
5542 <member name="P:System.Reflection.PortableExecutable.PEHeader.MinorImageVersion">
5544 The minor version number of the image.
5547 <member name="P:System.Reflection.PortableExecutable.PEHeader.MajorSubsystemVersion">
5549 The major version number of the subsystem.
5552 <member name="P:System.Reflection.PortableExecutable.PEHeader.MinorSubsystemVersion">
5554 The minor version number of the subsystem.
5557 <member name="P:System.Reflection.PortableExecutable.PEHeader.SizeOfImage">
5559 The size (in bytes) of the image, including all headers, as the image is loaded in memory.
5560 It must be a multiple of <see cref="P:System.Reflection.PortableExecutable.PEHeader.SectionAlignment"/>.
5563 <member name="P:System.Reflection.PortableExecutable.PEHeader.SizeOfHeaders">
5565 The combined size of an MS DOS stub, PE header, and section headers rounded up to a multiple of FileAlignment.
5568 <member name="P:System.Reflection.PortableExecutable.PEHeader.CheckSum">
5570 The image file checksum.
5573 <member name="P:System.Reflection.PortableExecutable.PEHeader.Subsystem">
5575 The subsystem that is required to run this image.
5578 <member name="P:System.Reflection.PortableExecutable.PEHeader.SizeOfStackReserve">
5580 The size of the stack to reserve. Only <see cref="P:System.Reflection.PortableExecutable.PEHeader.SizeOfStackCommit"/> is committed;
5581 the rest is made available one page at a time until the reserve size is reached.
5584 <member name="P:System.Reflection.PortableExecutable.PEHeader.SizeOfStackCommit">
5586 The size of the stack to commit.
5589 <member name="P:System.Reflection.PortableExecutable.PEHeader.SizeOfHeapReserve">
5591 The size of the local heap space to reserve. Only <see cref="P:System.Reflection.PortableExecutable.PEHeader.SizeOfHeapCommit"/> is committed;
5592 the rest is made available one page at a time until the reserve size is reached.
5595 <member name="P:System.Reflection.PortableExecutable.PEHeader.SizeOfHeapCommit">
5597 The size of the local heap space to commit.
5600 <member name="P:System.Reflection.PortableExecutable.PEHeader.NumberOfRvaAndSizes">
5602 The number of data-directory entries in the remainder of the <see cref="T:System.Reflection.PortableExecutable.PEHeader"/>. Each describes a location and size.
5605 <member name="P:System.Reflection.PortableExecutable.PEHeader.ExportTableDirectory">
5607 Aka IMAGE_DIRECTORY_ENTRY_EXPORT.
5610 <member name="P:System.Reflection.PortableExecutable.PEHeader.ImportTableDirectory">
5612 Aka IMAGE_DIRECTORY_ENTRY_IMPORT.
5615 <member name="P:System.Reflection.PortableExecutable.PEHeader.ResourceTableDirectory">
5617 Aka IMAGE_DIRECTORY_ENTRY_RESOURCE.
5620 <member name="P:System.Reflection.PortableExecutable.PEHeader.ExceptionTableDirectory">
5622 Aka IMAGE_DIRECTORY_ENTRY_EXCEPTION.
5625 <member name="P:System.Reflection.PortableExecutable.PEHeader.CertificateTableDirectory">
5627 The Certificate Table entry points to a table of attribute certificates.
5630 These certificates are not loaded into memory as part of the image.
5631 As such, the first field of this entry, which is normally an RVA, is a file pointer instead.
5633 Aka IMAGE_DIRECTORY_ENTRY_SECURITY.
5636 <member name="P:System.Reflection.PortableExecutable.PEHeader.BaseRelocationTableDirectory">
5638 Aka IMAGE_DIRECTORY_ENTRY_BASERELOC.
5641 <member name="P:System.Reflection.PortableExecutable.PEHeader.DebugTableDirectory">
5643 Aka IMAGE_DIRECTORY_ENTRY_DEBUG.
5646 <member name="P:System.Reflection.PortableExecutable.PEHeader.CopyrightTableDirectory">
5648 Aka IMAGE_DIRECTORY_ENTRY_COPYRIGHT or IMAGE_DIRECTORY_ENTRY_ARCHITECTURE.
5651 <member name="P:System.Reflection.PortableExecutable.PEHeader.GlobalPointerTableDirectory">
5653 Aka IMAGE_DIRECTORY_ENTRY_GLOBALPTR.
5656 <member name="P:System.Reflection.PortableExecutable.PEHeader.ThreadLocalStorageTableDirectory">
5658 Aka IMAGE_DIRECTORY_ENTRY_TLS.
5661 <member name="P:System.Reflection.PortableExecutable.PEHeader.LoadConfigTableDirectory">
5663 Aka IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG.
5666 <member name="P:System.Reflection.PortableExecutable.PEHeader.BoundImportTableDirectory">
5668 Aka IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT.
5671 <member name="P:System.Reflection.PortableExecutable.PEHeader.ImportAddressTableDirectory">
5673 Aka IMAGE_DIRECTORY_ENTRY_IAT.
5676 <member name="P:System.Reflection.PortableExecutable.PEHeader.DelayImportTableDirectory">
5678 Aka IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT.
5681 <member name="P:System.Reflection.PortableExecutable.PEHeader.CorHeaderTableDirectory">
5683 Aka IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR.
5686 <member name="T:System.Reflection.PortableExecutable.PEHeaders">
5688 An object used to read PE (Portable Executable) and COFF (Common Object File Format) headers from a stream.
5691 <member name="M:System.Reflection.PortableExecutable.PEHeaders.#ctor(System.IO.Stream)">
5693 Reads PE headers from the current location in the stream.
5695 <param name="peStream">Stream containing PE image starting at the stream's current position and ending at the end of the stream.</param>
5696 <exception cref="T:System.BadImageFormatException">The data read from stream have invalid format.</exception>
5697 <exception cref="T:System.IO.IOException">Error reading from the stream.</exception>
5698 <exception cref="T:System.ArgumentException">The stream doesn't support seek operations.</exception>
5699 <exception cref="T:System.ArgumentNullException"><paramref name="peStream"/> is null.</exception>
5701 <member name="M:System.Reflection.PortableExecutable.PEHeaders.#ctor(System.IO.Stream,System.Int32)">
5703 Reads PE headers from the current location in the stream.
5705 <param name="peStream">Stream containing PE image of the given size starting at its current position.</param>
5706 <param name="size">Size of the PE image.</param>
5707 <exception cref="T:System.BadImageFormatException">The data read from stream have invalid format.</exception>
5708 <exception cref="T:System.IO.IOException">Error reading from the stream.</exception>
5709 <exception cref="T:System.ArgumentException">The stream doesn't support seek operations.</exception>
5710 <exception cref="T:System.ArgumentNullException"><paramref name="peStream"/> is null.</exception>
5711 <exception cref="T:System.ArgumentOutOfRangeException">Size is negative or extends past the end of the stream.</exception>
5713 <member name="M:System.Reflection.PortableExecutable.PEHeaders.#ctor(System.IO.Stream,System.Int32,System.Boolean)">
5715 Reads PE headers from the current location in the stream.
5717 <param name="peStream">Stream containing PE image of the given size starting at its current position.</param>
5718 <param name="size">Size of the PE image.</param>
5719 <param name="isLoadedImage">True if the PE image has been loaded into memory by the OS loader.</param>
5720 <exception cref="T:System.BadImageFormatException">The data read from stream have invalid format.</exception>
5721 <exception cref="T:System.IO.IOException">Error reading from the stream.</exception>
5722 <exception cref="T:System.ArgumentException">The stream doesn't support seek operations.</exception>
5723 <exception cref="T:System.ArgumentNullException"><paramref name="peStream"/> is null.</exception>
5724 <exception cref="T:System.ArgumentOutOfRangeException">Size is negative or extends past the end of the stream.</exception>
5726 <member name="P:System.Reflection.PortableExecutable.PEHeaders.MetadataStartOffset">
5728 Gets the offset (in bytes) from the start of the PE image to the start of the CLI metadata.
5729 or -1 if the image does not contain metadata.
5732 <member name="P:System.Reflection.PortableExecutable.PEHeaders.MetadataSize">
5734 Gets the size of the CLI metadata 0 if the image does not contain metadata.)
5737 <member name="P:System.Reflection.PortableExecutable.PEHeaders.CoffHeader">
5739 Gets the COFF header of the image.
5742 <member name="P:System.Reflection.PortableExecutable.PEHeaders.CoffHeaderStartOffset">
5744 Gets the byte offset from the start of the PE image to the start of the COFF header.
5747 <member name="P:System.Reflection.PortableExecutable.PEHeaders.IsCoffOnly">
5749 Determines if the image is Coff only.
5752 <member name="P:System.Reflection.PortableExecutable.PEHeaders.PEHeader">
5754 Gets the PE header of the image or null if the image is COFF only.
5757 <member name="P:System.Reflection.PortableExecutable.PEHeaders.PEHeaderStartOffset">
5759 Gets the byte offset from the start of the image to
5762 <member name="P:System.Reflection.PortableExecutable.PEHeaders.SectionHeaders">
5764 Gets the PE section headers.
5767 <member name="P:System.Reflection.PortableExecutable.PEHeaders.CorHeader">
5769 Gets the CLI header or null if the image does not have one.
5772 <member name="P:System.Reflection.PortableExecutable.PEHeaders.CorHeaderStartOffset">
5774 Gets the byte offset from the start of the image to the COR header or -1 if the image does not have one.
5777 <member name="P:System.Reflection.PortableExecutable.PEHeaders.IsConsoleApplication">
5779 Determines if the image represents a Windows console application.
5782 <member name="P:System.Reflection.PortableExecutable.PEHeaders.IsDll">
5784 Determines if the image represents a dynamically linked library.
5787 <member name="P:System.Reflection.PortableExecutable.PEHeaders.IsExe">
5789 Determines if the image represents an executable.
5792 <member name="M:System.Reflection.PortableExecutable.PEHeaders.TryGetDirectoryOffset(System.Reflection.PortableExecutable.DirectoryEntry,System.Int32@)">
5794 Gets the offset (in bytes) from the start of the image to the given directory data.
5796 <param name="directory">PE directory entry</param>
5797 <param name="offset">Offset from the start of the image to the given directory data</param>
5798 <returns>True if the directory data is found, false otherwise.</returns>
5800 <member name="M:System.Reflection.PortableExecutable.PEHeaders.GetContainingSectionIndex(System.Int32)">
5802 Searches sections of the PE image for the one that contains specified Relative Virtual Address.
5804 <param name="relativeVirtualAddress">Address.</param>
5806 Index of the section that contains <paramref name="relativeVirtualAddress"/>,
5807 or -1 if there is none.
5810 <member name="P:System.Reflection.PortableExecutable.PEMemoryBlock.Pointer">
5812 Pointer to the first byte of the block.
5815 <member name="P:System.Reflection.PortableExecutable.PEMemoryBlock.Length">
5817 Length of the block.
5820 <member name="M:System.Reflection.PortableExecutable.PEMemoryBlock.GetReader">
5822 Creates <see cref="T:System.Reflection.Metadata.BlobReader"/> for a blob spanning the entire block.
5825 <member name="M:System.Reflection.PortableExecutable.PEMemoryBlock.GetReader(System.Int32,System.Int32)">
5827 Creates <see cref="T:System.Reflection.Metadata.BlobReader"/> for a blob spanning a part of the block.
5829 <exception cref="T:System.ArgumentOutOfRangeException">Specified range is not contained within the block.</exception>
5831 <member name="M:System.Reflection.PortableExecutable.PEMemoryBlock.GetContent">
5833 Reads the content of the entire block into an array.
5836 <member name="M:System.Reflection.PortableExecutable.PEMemoryBlock.GetContent(System.Int32,System.Int32)">
5838 Reads the content of a part of the block into an array.
5840 <exception cref="T:System.ArgumentOutOfRangeException">Specified range is not contained within the block.</exception>
5842 <member name="T:System.Reflection.PortableExecutable.PEReader">
5844 Portable Executable format reader.
5847 The implementation is thread-safe, that is multiple threads can read data from the reader in parallel.
5848 Disposal of the reader is not thread-safe (see <see cref="M:System.Reflection.PortableExecutable.PEReader.Dispose"/>).
5851 <member name="P:System.Reflection.PortableExecutable.PEReader.IsLoadedImage">
5853 True if the PE image has been loaded into memory by the OS loader.
5856 <member name="M:System.Reflection.PortableExecutable.PEReader.#ctor(System.Byte*,System.Int32)">
5858 Creates a Portable Executable reader over a PE image stored in memory.
5860 <param name="peImage">Pointer to the start of the PE image.</param>
5861 <param name="size">The size of the PE image.</param>
5862 <exception cref="T:System.ArgumentNullException"><paramref name="peImage"/> is <see cref="F:System.IntPtr.Zero"/>.</exception>
5863 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="size"/> is negative.</exception>
5865 The memory is owned by the caller and not released on disposal of the <see cref="T:System.Reflection.PortableExecutable.PEReader"/>.
5866 The caller is responsible for keeping the memory alive and unmodified throughout the lifetime of the <see cref="T:System.Reflection.PortableExecutable.PEReader"/>.
5867 The content of the image is not read during the construction of the <see cref="T:System.Reflection.PortableExecutable.PEReader"/>
5870 <member name="M:System.Reflection.PortableExecutable.PEReader.#ctor(System.Byte*,System.Int32,System.Boolean)">
5872 Creates a Portable Executable reader over a PE image stored in memory.
5874 <param name="peImage">Pointer to the start of the PE image.</param>
5875 <param name="size">The size of the PE image.</param>
5876 <param name="isLoadedImage">True if the PE image has been loaded into memory by the OS loader.</param>
5877 <exception cref="T:System.ArgumentNullException"><paramref name="peImage"/> is <see cref="F:System.IntPtr.Zero"/>.</exception>
5878 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="size"/> is negative.</exception>
5880 The memory is owned by the caller and not released on disposal of the <see cref="T:System.Reflection.PortableExecutable.PEReader"/>.
5881 The caller is responsible for keeping the memory alive and unmodified throughout the lifetime of the <see cref="T:System.Reflection.PortableExecutable.PEReader"/>.
5882 The content of the image is not read during the construction of the <see cref="T:System.Reflection.PortableExecutable.PEReader"/>
5885 <member name="M:System.Reflection.PortableExecutable.PEReader.#ctor(System.IO.Stream)">
5887 Creates a Portable Executable reader over a PE image stored in a stream.
5889 <param name="peStream">PE image stream.</param>
5890 <exception cref="T:System.ArgumentNullException"><paramref name="peStream"/> is null.</exception>
5892 Ownership of the stream is transferred to the <see cref="T:System.Reflection.PortableExecutable.PEReader"/> upon successful validation of constructor arguments. It will be
5893 disposed by the <see cref="T:System.Reflection.PortableExecutable.PEReader"/> and the caller must not manipulate it.
5896 <member name="M:System.Reflection.PortableExecutable.PEReader.#ctor(System.IO.Stream,System.Reflection.PortableExecutable.PEStreamOptions)">
5898 Creates a Portable Executable reader over a PE image stored in a stream beginning at its current position and ending at the end of the stream.
5900 <param name="peStream">PE image stream.</param>
5901 <param name="options">
5902 Options specifying how sections of the PE image are read from the stream.
5904 Unless <see cref="F:System.Reflection.PortableExecutable.PEStreamOptions.LeaveOpen"/> is specified, ownership of the stream is transferred to the <see cref="T:System.Reflection.PortableExecutable.PEReader"/>
5905 upon successful argument validation. It will be disposed by the <see cref="T:System.Reflection.PortableExecutable.PEReader"/> and the caller must not manipulate it.
5907 Unless <see cref="F:System.Reflection.PortableExecutable.PEStreamOptions.PrefetchMetadata"/> or <see cref="F:System.Reflection.PortableExecutable.PEStreamOptions.PrefetchEntireImage"/> is specified no data
5908 is read from the stream during the construction of the <see cref="T:System.Reflection.PortableExecutable.PEReader"/>. Furthermore, the stream must not be manipulated
5909 by caller while the <see cref="T:System.Reflection.PortableExecutable.PEReader"/> is alive and undisposed.
5911 If <see cref="F:System.Reflection.PortableExecutable.PEStreamOptions.PrefetchMetadata"/> or <see cref="F:System.Reflection.PortableExecutable.PEStreamOptions.PrefetchEntireImage"/>, the <see cref="T:System.Reflection.PortableExecutable.PEReader"/>
5912 will have read all of the data requested during construction. As such, if <see cref="F:System.Reflection.PortableExecutable.PEStreamOptions.LeaveOpen"/> is also
5913 specified, the caller retains full ownership of the stream and is assured that it will not be manipulated by the <see cref="T:System.Reflection.PortableExecutable.PEReader"/>
5916 <exception cref="T:System.ArgumentNullException"><paramref name="peStream"/> is null.</exception>
5917 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="options"/> has an invalid value.</exception>
5918 <exception cref="T:System.IO.IOException">Error reading from the stream (only when prefetching data).</exception>
5919 <exception cref="T:System.BadImageFormatException"><see cref="F:System.Reflection.PortableExecutable.PEStreamOptions.PrefetchMetadata"/> is specified and the PE headers of the image are invalid.</exception>
5921 <member name="M:System.Reflection.PortableExecutable.PEReader.#ctor(System.IO.Stream,System.Reflection.PortableExecutable.PEStreamOptions,System.Int32)">
5923 Creates a Portable Executable reader over a PE image of the given size beginning at the stream's current position.
5925 <param name="peStream">PE image stream.</param>
5926 <param name="size">PE image size.</param>
5927 <param name="options">
5928 Options specifying how sections of the PE image are read from the stream.
5930 Unless <see cref="F:System.Reflection.PortableExecutable.PEStreamOptions.LeaveOpen"/> is specified, ownership of the stream is transferred to the <see cref="T:System.Reflection.PortableExecutable.PEReader"/>
5931 upon successful argument validation. It will be disposed by the <see cref="T:System.Reflection.PortableExecutable.PEReader"/> and the caller must not manipulate it.
5933 Unless <see cref="F:System.Reflection.PortableExecutable.PEStreamOptions.PrefetchMetadata"/> or <see cref="F:System.Reflection.PortableExecutable.PEStreamOptions.PrefetchEntireImage"/> is specified no data
5934 is read from the stream during the construction of the <see cref="T:System.Reflection.PortableExecutable.PEReader"/>. Furthermore, the stream must not be manipulated
5935 by caller while the <see cref="T:System.Reflection.PortableExecutable.PEReader"/> is alive and undisposed.
5937 If <see cref="F:System.Reflection.PortableExecutable.PEStreamOptions.PrefetchMetadata"/> or <see cref="F:System.Reflection.PortableExecutable.PEStreamOptions.PrefetchEntireImage"/>, the <see cref="T:System.Reflection.PortableExecutable.PEReader"/>
5938 will have read all of the data requested during construction. As such, if <see cref="F:System.Reflection.PortableExecutable.PEStreamOptions.LeaveOpen"/> is also
5939 specified, the caller retains full ownership of the stream and is assured that it will not be manipulated by the <see cref="T:System.Reflection.PortableExecutable.PEReader"/>
5942 <exception cref="T:System.ArgumentOutOfRangeException">Size is negative or extends past the end of the stream.</exception>
5943 <exception cref="T:System.IO.IOException">Error reading from the stream (only when prefetching data).</exception>
5944 <exception cref="T:System.BadImageFormatException"><see cref="F:System.Reflection.PortableExecutable.PEStreamOptions.PrefetchMetadata"/> is specified and the PE headers of the image are invalid.</exception>
5946 <member name="M:System.Reflection.PortableExecutable.PEReader.#ctor(System.Collections.Immutable.ImmutableArray{System.Byte})">
5948 Creates a Portable Executable reader over a PE image stored in a byte array.
5950 <param name="peImage">PE image.</param>
5952 The content of the image is not read during the construction of the <see cref="T:System.Reflection.PortableExecutable.PEReader"/>
5954 <exception cref="T:System.ArgumentNullException"><paramref name="peImage"/> is null.</exception>
5956 <member name="M:System.Reflection.PortableExecutable.PEReader.Dispose">
5958 Disposes all memory allocated by the reader.
5961 <see cref="M:System.Reflection.PortableExecutable.PEReader.Dispose"/> can be called multiple times (but not in parallel).
5962 It is not safe to call <see cref="M:System.Reflection.PortableExecutable.PEReader.Dispose"/> in parallel with any other operation on the <see cref="T:System.Reflection.PortableExecutable.PEReader"/>
5963 or reading from <see cref="T:System.Reflection.PortableExecutable.PEMemoryBlock"/>s retrieved from the reader.
5966 <member name="P:System.Reflection.PortableExecutable.PEReader.PEHeaders">
5968 Gets the PE headers.
5970 <exception cref="T:System.BadImageFormatException">The headers contain invalid data.</exception>
5971 <exception cref="T:System.IO.IOException">Error reading from the stream.</exception>
5973 <member name="M:System.Reflection.PortableExecutable.PEReader.InitializePEHeaders">
5974 <exception cref="T:System.IO.IOException">Error reading from the stream.</exception>
5976 <member name="M:System.Reflection.PortableExecutable.PEReader.ReadPEHeadersNoLock(System.IO.Stream,System.Int64,System.Int32,System.Boolean)">
5977 <exception cref="T:System.IO.IOException">Error reading from the stream.</exception>
5979 <member name="M:System.Reflection.PortableExecutable.PEReader.GetEntireImageBlock">
5981 Returns a view of the entire image as a pointer and length.
5983 <exception cref="T:System.InvalidOperationException">PE image not available.</exception>
5985 <member name="M:System.Reflection.PortableExecutable.PEReader.GetMetadataBlock">
5986 <exception cref="T:System.IO.IOException">IO error while reading from the underlying stream.</exception>
5987 <exception cref="T:System.InvalidOperationException">PE image doesn't have metadata.</exception>
5989 <member name="M:System.Reflection.PortableExecutable.PEReader.GetPESectionBlock(System.Int32)">
5990 <exception cref="T:System.IO.IOException">IO error while reading from the underlying stream.</exception>
5991 <exception cref="T:System.InvalidOperationException">PE image not available.</exception>
5993 <member name="P:System.Reflection.PortableExecutable.PEReader.IsEntireImageAvailable">
5995 Return true if the reader can access the entire PE image.
5998 Returns false if the <see cref="T:System.Reflection.PortableExecutable.PEReader"/> is constructed from a stream and only part of it is prefetched into memory.
6001 <member name="M:System.Reflection.PortableExecutable.PEReader.GetEntireImage">
6003 Gets a pointer to and size of the PE image if available (<see cref="P:System.Reflection.PortableExecutable.PEReader.IsEntireImageAvailable"/>).
6005 <exception cref="T:System.InvalidOperationException">The entire PE image is not available.</exception>
6007 <member name="P:System.Reflection.PortableExecutable.PEReader.HasMetadata">
6009 Returns true if the PE image contains CLI metadata.
6011 <exception cref="T:System.BadImageFormatException">The PE headers contain invalid data.</exception>
6012 <exception cref="T:System.IO.IOException">Error reading from the underlying stream.</exception>
6014 <member name="M:System.Reflection.PortableExecutable.PEReader.GetMetadata">
6016 Loads PE section that contains CLI metadata.
6018 <exception cref="T:System.InvalidOperationException">The PE image doesn't contain metadata (<see cref="P:System.Reflection.PortableExecutable.PEReader.HasMetadata"/> returns false).</exception>
6019 <exception cref="T:System.BadImageFormatException">The PE headers contain invalid data.</exception>
6020 <exception cref="T:System.IO.IOException">IO error while reading from the underlying stream.</exception>
6022 <member name="M:System.Reflection.PortableExecutable.PEReader.GetSectionData(System.Int32)">
6024 Loads PE section that contains the specified <paramref name="relativeVirtualAddress"/> into memory
6025 and returns a memory block that starts at <paramref name="relativeVirtualAddress"/> and ends at the end of the containing section.
6027 <param name="relativeVirtualAddress">Relative Virtual Address of the data to read.</param>
6029 An empty block if <paramref name="relativeVirtualAddress"/> doesn't represent a location in any of the PE sections of this PE image.
6031 <exception cref="T:System.BadImageFormatException">The PE headers contain invalid data.</exception>
6032 <exception cref="T:System.IO.IOException">IO error while reading from the underlying stream.</exception>
6033 <exception cref="T:System.InvalidOperationException">PE image not available.</exception>
6034 <exception cref="T:System.ArgumentOutOfRangeException"><paramref name="relativeVirtualAddress"/> is negative.</exception>
6036 <member name="M:System.Reflection.PortableExecutable.PEReader.GetSectionData(System.String)">
6038 Loads PE section of the specified name into memory and returns a memory block that spans the section.
6040 <param name="sectionName">Name of the section.</param>
6042 An empty block if no section of the given <paramref name="sectionName"/> exists in this PE image.
6044 <exception cref="T:System.ArgumentNullException"><paramref name="sectionName"/> is null.</exception>
6045 <exception cref="T:System.InvalidOperationException">PE image not available.</exception>
6047 <member name="M:System.Reflection.PortableExecutable.PEReader.ReadDebugDirectory">
6049 Reads all Debug Directory table entries.
6051 <exception cref="T:System.BadImageFormatException">Bad format of the entry.</exception>
6052 <exception cref="T:System.IO.IOException">IO error while reading from the underlying stream.</exception>
6053 <exception cref="T:System.InvalidOperationException">PE image not available.</exception>
6055 <member name="M:System.Reflection.PortableExecutable.PEReader.ReadCodeViewDebugDirectoryData(System.Reflection.PortableExecutable.DebugDirectoryEntry)">
6057 Reads the data pointed to by the specified Debug Directory entry and interprets them as CodeView.
6059 <exception cref="T:System.ArgumentException"><paramref name="entry"/> is not a CodeView entry.</exception>
6060 <exception cref="T:System.BadImageFormatException">Bad format of the data.</exception>
6061 <exception cref="T:System.IO.IOException">IO error while reading from the underlying stream.</exception>
6062 <exception cref="T:System.InvalidOperationException">PE image not available.</exception>
6064 <member name="M:System.Reflection.PortableExecutable.PEReader.ReadEmbeddedPortablePdbDebugDirectoryData(System.Reflection.PortableExecutable.DebugDirectoryEntry)">
6066 Reads the data pointed to by the specified Debug Directory entry and interprets them as Embedded Portable PDB blob.
6069 Provider of a metadata reader reading Portable PDB image.
6071 <exception cref="T:System.ArgumentException"><paramref name="entry"/> is not a <see cref="F:System.Reflection.PortableExecutable.DebugDirectoryEntryType.EmbeddedPortablePdb"/> entry.</exception>
6072 <exception cref="T:System.BadImageFormatException">Bad format of the data.</exception>
6073 <exception cref="T:System.InvalidOperationException">PE image not available.</exception>
6075 <member name="M:System.Reflection.PortableExecutable.PEReader.TryOpenAssociatedPortablePdb(System.String,System.Func{System.String,System.IO.Stream},System.Reflection.Metadata.MetadataReaderProvider@,System.String@)">
6077 Opens a Portable PDB associated with this PE image.
6079 <param name="peImagePath">
6080 The path to the PE image. The path is used to locate the PDB file located in the directory containing the PE file.
6082 <param name="pdbFileStreamProvider">
6083 If specified, called to open a <see cref="T:System.IO.Stream"/> for a given file path.
6084 The provider is expected to either return a readable and seekable <see cref="T:System.IO.Stream"/>,
6085 or <c>null</c> if the target file doesn't exist or should be ignored for some reason.
6087 The provider shall throw <see cref="T:System.IO.IOException"/> if it fails to open the file due to an unexpected IO error.
6089 <param name="pdbReaderProvider">
6090 If successful, a new instance of <see cref="T:System.Reflection.Metadata.MetadataReaderProvider"/> to be used to read the Portable PDB,.
6092 <param name="pdbPath">
6093 If successful and the PDB is found in a file, the path to the file. Returns <c>null</c> if the PDB is embedded in the PE image itself.
6096 True if the PE image has a PDB associated with it and the PDB has been successfully opened.
6099 Implements a simple PDB file lookup based on the content of the PE image Debug Directory.
6100 A sophisticated tool might need to follow up with additional lookup on search paths or symbol server.
6102 The method looks the PDB up in the following steps in the listed order:
6103 1) Check for a matching PDB file of the name found in the CodeView entry in the directory containing the PE file (the directory of <paramref name="peImagePath"/>).
6104 2) Check for a PDB embedded in the PE image itself.
6106 The first PDB that matches the information specified in the Debug Directory is returned.
6108 <exception cref="T:System.ArgumentNullException"><paramref name="peImagePath"/> or <paramref name="pdbFileStreamProvider"/> is null.</exception>
6109 <exception cref="T:System.InvalidOperationException">The stream returned from <paramref name="pdbFileStreamProvider"/> doesn't support read and seek operations.</exception>
6110 <exception cref="T:System.BadImageFormatException">No matching PDB file is found due to an error: The PE image or the PDB is invalid.</exception>
6111 <exception cref="T:System.IO.IOException">No matching PDB file is found due to an error: An IO error occurred while reading the PE image or the PDB.</exception>
6113 <member name="F:System.Reflection.PortableExecutable.PEStreamOptions.Default">
6115 By default the stream is disposed when <see cref="T:System.Reflection.PortableExecutable.PEReader"/> is disposed and sections of the PE image are read lazily.
6118 <member name="F:System.Reflection.PortableExecutable.PEStreamOptions.LeaveOpen">
6120 Keep the stream open when the <see cref="T:System.Reflection.PortableExecutable.PEReader"/> is disposed.
6123 <member name="F:System.Reflection.PortableExecutable.PEStreamOptions.PrefetchMetadata">
6125 Reads metadata section into memory right away.
6128 Reading from other sections of the file is not allowed (<see cref="T:System.InvalidOperationException"/> is thrown by the <see cref="T:System.Reflection.PortableExecutable.PEReader"/>).
6129 The underlying file may be closed and even deleted after <see cref="T:System.Reflection.PortableExecutable.PEReader"/> is constructed.
6131 <see cref="T:System.Reflection.PortableExecutable.PEReader"/> closes the stream automatically by the time the constructor returns unless <see cref="F:System.Reflection.PortableExecutable.PEStreamOptions.LeaveOpen"/> is specified.
6134 <member name="F:System.Reflection.PortableExecutable.PEStreamOptions.PrefetchEntireImage">
6136 Reads the entire image into memory right away.
6139 <see cref="T:System.Reflection.PortableExecutable.PEReader"/> closes the stream automatically by the time the constructor returns unless <see cref="F:System.Reflection.PortableExecutable.PEStreamOptions.LeaveOpen"/> is specified.
6142 <member name="F:System.Reflection.PortableExecutable.PEStreamOptions.IsLoadedImage">
6144 Indicates that the underlying PE image has been loaded into memory by the OS loader.
6147 <member name="P:System.Reflection.PortableExecutable.SectionHeader.Name">
6149 The name of the section.
6152 <member name="P:System.Reflection.PortableExecutable.SectionHeader.VirtualSize">
6154 The total size of the section when loaded into memory.
6155 If this value is greater than <see cref="P:System.Reflection.PortableExecutable.SectionHeader.SizeOfRawData"/>, the section is zero-padded.
6156 This field is valid only for PE images and should be set to zero for object files.
6159 <member name="P:System.Reflection.PortableExecutable.SectionHeader.VirtualAddress">
6161 For PE images, the address of the first byte of the section relative to the image base when the
6162 section is loaded into memory. For object files, this field is the address of the first byte before
6163 relocation is applied; for simplicity, compilers should set this to zero. Otherwise,
6164 it is an arbitrary value that is subtracted from offsets during relocation.
6167 <member name="P:System.Reflection.PortableExecutable.SectionHeader.SizeOfRawData">
6169 The size of the section (for object files) or the size of the initialized data on disk (for image files).
6170 For PE images, this must be a multiple of <see cref="P:System.Reflection.PortableExecutable.PEHeader.FileAlignment"/>.
6171 If this is less than <see cref="P:System.Reflection.PortableExecutable.SectionHeader.VirtualSize"/>, the remainder of the section is zero-filled.
6172 Because the <see cref="P:System.Reflection.PortableExecutable.SectionHeader.SizeOfRawData"/> field is rounded but the <see cref="P:System.Reflection.PortableExecutable.SectionHeader.VirtualSize"/> field is not,
6173 it is possible for <see cref="P:System.Reflection.PortableExecutable.SectionHeader.SizeOfRawData"/> to be greater than <see cref="P:System.Reflection.PortableExecutable.SectionHeader.VirtualSize"/> as well.
6174 When a section contains only uninitialized data, this field should be zero.
6177 <member name="P:System.Reflection.PortableExecutable.SectionHeader.PointerToRawData">
6179 The file pointer to the first page of the section within the COFF file.
6180 For PE images, this must be a multiple of <see cref="P:System.Reflection.PortableExecutable.PEHeader.FileAlignment"/>.
6181 For object files, the value should be aligned on a 4 byte boundary for best performance.
6182 When a section contains only uninitialized data, this field should be zero.
6185 <member name="P:System.Reflection.PortableExecutable.SectionHeader.PointerToRelocations">
6187 The file pointer to the beginning of relocation entries for the section.
6188 This is set to zero for PE images or if there are no relocations.
6191 <member name="P:System.Reflection.PortableExecutable.SectionHeader.PointerToLineNumbers">
6193 The file pointer to the beginning of line-number entries for the section.
6194 This is set to zero if there are no COFF line numbers.
6195 This value should be zero for an image because COFF debugging information is deprecated.
6198 <member name="P:System.Reflection.PortableExecutable.SectionHeader.NumberOfRelocations">
6200 The number of relocation entries for the section. This is set to zero for PE images.
6203 <member name="P:System.Reflection.PortableExecutable.SectionHeader.NumberOfLineNumbers">
6205 The number of line-number entries for the section.
6206 This value should be zero for an image because COFF debugging information is deprecated.
6209 <member name="P:System.Reflection.PortableExecutable.SectionHeader.SectionCharacteristics">
6211 The flags that describe the characteristics of the section.
6214 <member name="F:System.Reflection.MethodSemanticsAttributes.Setter">
6216 Used to modify the value of the property.
6217 CLS-compliant setters are named with set_ prefix.
6220 <member name="F:System.Reflection.MethodSemanticsAttributes.Getter">
6222 Used to read the value of the property.
6223 CLS-compliant getters are named with get_ prefix.
6226 <member name="F:System.Reflection.MethodSemanticsAttributes.Other">
6228 Other method for property (not getter or setter) or event (not adder, remover, or raiser).
6231 <member name="F:System.Reflection.MethodSemanticsAttributes.Adder">
6233 Used to add a handler for an event.
6234 Corresponds to the AddOn flag in the Ecma 335 CLI specification.
6235 CLS-compliant adders are named with add_ prefix.
6238 <member name="F:System.Reflection.MethodSemanticsAttributes.Remover">
6240 Used to remove a handler for an event.
6241 Corresponds to the RemoveOn flag in the Ecma 335 CLI specification.
6242 CLS-compliant removers are named with remove_ prefix.
6245 <member name="F:System.Reflection.MethodSemanticsAttributes.Raiser">
6247 Used to indicate that an event has occurred.
6248 Corresponds to the Fire flag in the Ecma 335 CLI specification.
6249 CLS-compliant raisers are named with raise_ prefix.
6252 <member name="T:System.Reflection.DeclarativeSecurityAction">
6254 Specifies the security actions that can be performed using declarative security.
6257 <member name="F:System.Reflection.DeclarativeSecurityAction.None">
6259 No declarative security action.
6262 <member name="F:System.Reflection.DeclarativeSecurityAction.Demand">
6264 Check that all callers in the call chain have been granted specified permission,
6267 <member name="F:System.Reflection.DeclarativeSecurityAction.Assert">
6269 The calling code can access the resource identified by the current permission object, even if callers higher in the stack have not been granted permission to access the resource.
6272 <member name="F:System.Reflection.DeclarativeSecurityAction.Deny">
6274 Without further checks refuse Demand for the specified permission.
6277 <member name="F:System.Reflection.DeclarativeSecurityAction.PermitOnly">
6279 Without further checks, refuse Demand for all permissions other than those specified.
6282 <member name="F:System.Reflection.DeclarativeSecurityAction.LinkDemand">
6284 Check that the immediate caller has been granted the specified permission;
6287 <member name="F:System.Reflection.DeclarativeSecurityAction.InheritanceDemand">
6289 The derived class inheriting the class or overriding a method is required to have been granted the specified permission.
6292 <member name="F:System.Reflection.DeclarativeSecurityAction.RequestMinimum">
6294 The request for the minimum permissions required for code to run. This action can only be used within the scope of the assembly.
6297 <member name="F:System.Reflection.DeclarativeSecurityAction.RequestOptional">
6299 The request for additional permissions that are optional (not required to run). This request implicitly refuses all other permissions not specifically requested. This action can only be used within the scope of the assembly.
6302 <member name="F:System.Reflection.DeclarativeSecurityAction.RequestRefuse">
6304 The request that permissions that might be misused will not be granted to the calling code. This action can only be used within the scope of the assembly.
6307 <member name="F:System.Reflection.ManifestResourceAttributes.Public">
6309 The Resource is exported from the Assembly
6312 <member name="F:System.Reflection.ManifestResourceAttributes.Private">
6314 The Resource is not exported from the Assembly
6317 <member name="F:System.Reflection.ManifestResourceAttributes.VisibilityMask">
6319 Masks just the visibility-related attributes.
6322 <member name="T:System.Reflection.AssemblyHashAlgorithm">
6324 Specifies all the hash algorithms used for hashing assembly files and for generating the strong name.
6327 <member name="F:System.Reflection.AssemblyHashAlgorithm.None">
6329 A mask indicating that there is no hash algorithm. If you specify None for a multi-module assembly, the common language runtime defaults to the SHA1 algorithm, since multi-module assemblies need to generate a hash.
6332 <member name="F:System.Reflection.AssemblyHashAlgorithm.MD5">
6334 Retrieves the MD5 message-digest algorithm. MD5 was developed by Rivest in 1991. It is basically MD4 with safety-belts and while it is slightly slower than MD4, it helps provide more security. The algorithm consists of four distinct rounds, which has a slightly different design from that of MD4. Message-digest size, as well as padding requirements, remain the same.
6337 <member name="F:System.Reflection.AssemblyHashAlgorithm.Sha1">
6339 Retrieves a revision of the Secure Hash Algorithm that corrects an unpublished flaw in SHA.
6342 <member name="F:System.Reflection.AssemblyHashAlgorithm.Sha256">
6344 Retrieves a version of the Secure Hash Algorithm with a hash size of 256 bits.
6347 <member name="F:System.Reflection.AssemblyHashAlgorithm.Sha384">
6349 Retrieves a version of the Secure Hash Algorithm with a hash size of 384 bits.
6352 <member name="F:System.Reflection.AssemblyHashAlgorithm.Sha512">
6354 Retrieves a version of the Secure Hash Algorithm with a hash size of 512 bits.
6357 <member name="F:System.Reflection.AssemblyFlags.PublicKey">
6359 The assembly reference holds the full (unhashed) public key.
6360 Not applicable on assembly definition.
6363 <member name="F:System.Reflection.AssemblyFlags.Retargetable">
6365 The implementation of the referenced assembly used at runtime is not expected to match the version seen at compile time.
6368 <member name="F:System.Reflection.AssemblyFlags.WindowsRuntime">
6370 The assembly contains Windows Runtime code.
6373 <member name="F:System.Reflection.AssemblyFlags.ContentTypeMask">
6375 Content type mask. Masked bits correspond to values of <see cref="T:System.Reflection.AssemblyContentType"/>.
6378 <member name="F:System.Reflection.AssemblyFlags.DisableJitCompileOptimizer">
6380 Specifies that just-in-time (JIT) compiler optimization is disabled for the assembly.
6383 <member name="F:System.Reflection.AssemblyFlags.EnableJitCompileTracking">
6385 Specifies that just-in-time (JIT) compiler tracking is enabled for the assembly.