Skip to content

Commit

Permalink
Fix #3355 : Insert missing DecompilerSettings
Browse files Browse the repository at this point in the history
  • Loading branch information
naratteu committed Jan 1, 2025
1 parent a9b2ade commit 2f53f69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ static DecompilerTypeSystem CreateTypeSystemFromFile(string fileName, Decompiler
file.DetectTargetFrameworkId(), file.DetectRuntimePack(),
settings.LoadInMemory ? PEStreamOptions.PrefetchMetadata : PEStreamOptions.Default,
settings.ApplyWindowsRuntimeProjections ? MetadataReaderOptions.ApplyWindowsRuntimeProjections : MetadataReaderOptions.None);
return new DecompilerTypeSystem(file, resolver);
return new DecompilerTypeSystem(file, resolver, settings);
}

static TypeSystemAstBuilder CreateAstBuilder(DecompilerSettings settings)
Expand Down

0 comments on commit 2f53f69

Please sign in to comment.