6 references to GetMemoryBlock
System.Reflection.Metadata (6)
System\Reflection\Metadata\MetadataReaderProvider.cs (1)
288
var newBlock = _blockProviderOpt.
GetMemoryBlock
(0, _blockProviderOpt.Size);
System\Reflection\PortableExecutable\PEReader.cs (5)
368
var newBlock = GetPEImage().
GetMemoryBlock
(PEHeaders.MetadataStartOffset, PEHeaders.MetadataSize);
401
newBlock = peImage.
GetMemoryBlock
(
420
newBlock = peImage.
GetMemoryBlock
(PEHeaders.SectionHeaders[index].PointerToRawData, size);
558
using (AbstractMemoryBlock block = GetPEImage().
GetMemoryBlock
(position, debugDirectory.Size))
596
return GetPEImage().
GetMemoryBlock
(dataOffset, entry.DataSize);