Skip to content

Commit 864ed63

Browse files
Merge pull request icsharpcode#3529 from lordmilko/master
Allow specifying an IDecompilerTypeSystem rather than a DecompilerTypeSystem to CSharpDecompiler
2 parents 7ea2c8f + 9498c8d commit 864ed63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ public CSharpDecompiler(MetadataFile module, IAssemblyResolver assemblyResolver,
259259
/// <summary>
260260
/// Creates a new <see cref="CSharpDecompiler"/> instance from the given <paramref name="typeSystem"/> and the given <paramref name="settings"/>.
261261
/// </summary>
262-
public CSharpDecompiler(DecompilerTypeSystem typeSystem, DecompilerSettings settings)
262+
public CSharpDecompiler(IDecompilerTypeSystem typeSystem, DecompilerSettings settings)
263263
{
264264
this.typeSystem = typeSystem ?? throw new ArgumentNullException(nameof(typeSystem));
265265
this.settings = settings;

0 commit comments

Comments
 (0)