2 instantiations of StreamMemoryBlockProvider
System.Reflection.Metadata (2)
System\Reflection\Metadata\MetadataReaderProvider.cs (1)
189
result = new MetadataReaderProvider(new
StreamMemoryBlockProvider
(stream, start, actualSize, (options & MetadataStreamOptions.LeaveOpen) != 0));
System\Reflection\PortableExecutable\PEReader.cs (1)
182
_peImage = new
StreamMemoryBlockProvider
(peStream, start, actualSize, (options & PEStreamOptions.LeaveOpen) != 0);
3 references to StreamMemoryBlockProvider
System.Reflection.Metadata (3)
System\Reflection\Metadata\MetadataReaderProvider.cs (1)
195
result = new MetadataReaderProvider(
StreamMemoryBlockProvider
.ReadMemoryBlockNoLock(stream, start, actualSize));
System\Reflection\PortableExecutable\PEReader.cs (2)
190
var imageBlock =
StreamMemoryBlockProvider
.ReadMemoryBlockNoLock(peStream, start, actualSize);
207
_lazyMetadataBlock =
StreamMemoryBlockProvider
.ReadMemoryBlockNoLock(peStream, _lazyPEHeaders.MetadataStartOffset, _lazyPEHeaders.MetadataSize);