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