|
|
|
@ -388,7 +388,7 @@ namespace ICSharpCode.Decompiler.CSharp
@@ -388,7 +388,7 @@ namespace ICSharpCode.Decompiler.CSharp
|
|
|
|
|
return new PEFile( |
|
|
|
|
fileName, |
|
|
|
|
new FileStream(fileName, FileMode.Open, FileAccess.Read), |
|
|
|
|
streamOptions: settings.LoadInMemory ? PEStreamOptions.PrefetchEntireImage : PEStreamOptions.Default, |
|
|
|
|
streamOptions: PEStreamOptions.PrefetchEntireImage, |
|
|
|
|
metadataOptions: settings.ApplyWindowsRuntimeProjections ? MetadataReaderOptions.ApplyWindowsRuntimeProjections : MetadataReaderOptions.None |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|