Skip to content

Commit

Permalink
Merge pull request #3356 from naratteu/master
Browse files Browse the repository at this point in the history
Fix #3355 : Insert missing DecompilerSettings
  • Loading branch information
siegfriedpammer authored Jan 2, 2025
2 parents 8373ac7 + 2f53f69 commit d0eeef4
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 d0eeef4

Please sign in to comment.