4 overrides of Size
System.Reflection.Metadata (4)
System\Reflection\Internal\MemoryBlocks\ByteArrayMemoryBlock.cs (1)
31public override int Size => _size;
System\Reflection\Internal\MemoryBlocks\ExternalMemoryBlock.cs (1)
31public override int Size => _size;
System\Reflection\Internal\MemoryBlocks\MemoryMappedFileBlock.cs (1)
71public override int Size => _size;
System\Reflection\Internal\MemoryBlocks\NativeHeapMemoryBlock.cs (1)
68public override int Size => _size;
7 references to Size
System.Reflection.Metadata (7)
System\Reflection\Internal\MemoryBlocks\AbstractMemoryBlock.cs (2)
25public unsafe BlobReader GetReader() => new BlobReader(Pointer, Size); 30public unsafe Stream GetStream() => new UnmanagedMemoryStream(Pointer, Size);
System\Reflection\Metadata\MetadataReaderProvider.cs (1)
266var newReader = new MetadataReader(metadata.Pointer, metadata.Size, options, utf8Decoder, memoryOwner: this);
System\Reflection\PortableExecutable\PEMemoryBlock.cs (2)
20Debug.Assert(offset >= 0 && offset <= block.Size); 34public int Length => _block?.Size - _offset ?? 0;
System\Reflection\PortableExecutable\PEReader.cs (2)
330headers = new PEHeaders(memoryBlock.GetStream(), memoryBlock.Size, IsLoadedImage); 496if (relativeOffset > block.Size)