From 9498c8d3d996d7b1b8ab4a9b7765518e245ce960 Mon Sep 17 00:00:00 2001 From: lordmilko Date: Sat, 2 Aug 2025 19:07:48 +1000 Subject: [PATCH] Allow specifying an IDecompilerTypeSystem rather than a DecompilerTypeSystem to CSharpDecompiler --- ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs b/ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs index ceec1103e..060f7840e 100644 --- a/ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs +++ b/ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs @@ -257,7 +257,7 @@ namespace ICSharpCode.Decompiler.CSharp /// /// Creates a new instance from the given and the given . /// - public CSharpDecompiler(DecompilerTypeSystem typeSystem, DecompilerSettings settings) + public CSharpDecompiler(IDecompilerTypeSystem typeSystem, DecompilerSettings settings) { this.typeSystem = typeSystem ?? throw new ArgumentNullException(nameof(typeSystem)); this.settings = settings;