Browse Source

Update PortablePdbWriter.cs

pull/3667/head
Matt Parker 1 month ago
parent
commit
5a5c1add31
  1. 2
      ICSharpCode.Decompiler/DebugInfo/PortablePdbWriter.cs

2
ICSharpCode.Decompiler/DebugInfo/PortablePdbWriter.cs

@ -43,7 +43,7 @@ namespace ICSharpCode.Decompiler.DebugInfo @@ -43,7 +43,7 @@ namespace ICSharpCode.Decompiler.DebugInfo
{
public class PortablePdbWriter
{
static readonly FileVersionInfo decompilerVersion = FileVersionInfo.GetVersionInfo(typeof(CSharpDecompiler).Assembly.Location);
static readonly Version decompilerVersion = typeof(CSharpDecompiler).Assembly.GetName().Version ?? throw new ArgumentNullException();
public static bool HasCodeViewDebugDirectoryEntry(PEFile file)
{

Loading…
Cancel
Save