Browse Source

#2294: Remove redundant condition

pull/2308/head
Siegfried Pammer 4 years ago
parent
commit
34557ab76b
  1. 2
      ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs

2
ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs

@ -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
);
}

Loading…
Cancel
Save