Browse Source

Allow specifying an IDecompilerTypeSystem rather than a DecompilerTypeSystem to CSharpDecompiler

pull/3529/head
lordmilko 5 months ago committed by GitHub
parent
commit
9498c8d3d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs

2
ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs

@ -257,7 +257,7 @@ namespace ICSharpCode.Decompiler.CSharp @@ -257,7 +257,7 @@ namespace ICSharpCode.Decompiler.CSharp
/// <summary>
/// Creates a new <see cref="CSharpDecompiler"/> instance from the given <paramref name="typeSystem"/> and the given <paramref name="settings"/>.
/// </summary>
public CSharpDecompiler(DecompilerTypeSystem typeSystem, DecompilerSettings settings)
public CSharpDecompiler(IDecompilerTypeSystem typeSystem, DecompilerSettings settings)
{
this.typeSystem = typeSystem ?? throw new ArgumentNullException(nameof(typeSystem));
this.settings = settings;

Loading…
Cancel
Save