|
|
|
|
@ -43,7 +43,7 @@ namespace ICSharpCode.Decompiler.DebugInfo
@@ -43,7 +43,7 @@ namespace ICSharpCode.Decompiler.DebugInfo
|
|
|
|
|
{ |
|
|
|
|
public class PortablePdbWriter |
|
|
|
|
{ |
|
|
|
|
static readonly Version decompilerVersion = typeof(CSharpDecompiler).Assembly.GetName().Version ?? throw new ArgumentNullException(); |
|
|
|
|
const string decompilerVersion = DecompilerVersionInfo.Version; |
|
|
|
|
|
|
|
|
|
public static bool HasCodeViewDebugDirectoryEntry(PEFile file) |
|
|
|
|
{ |
|
|
|
|
@ -119,7 +119,7 @@ namespace ICSharpCode.Decompiler.DebugInfo
@@ -119,7 +119,7 @@ namespace ICSharpCode.Decompiler.DebugInfo
|
|
|
|
|
|
|
|
|
|
// Generate source and checksum
|
|
|
|
|
if (!noLogo) |
|
|
|
|
syntaxTree.InsertChildAfter(null, new Comment(" PDB and source generated by ICSharpCode.Decompiler " + decompilerVersion.FileVersion), Roles.Comment); |
|
|
|
|
syntaxTree.InsertChildAfter(null, new Comment(" PDB and source generated by ICSharpCode.Decompiler " + decompilerVersion), Roles.Comment); |
|
|
|
|
var sourceText = SyntaxTreeToString(syntaxTree, settings); |
|
|
|
|
|
|
|
|
|
// Generate sequence points for the syntax tree
|
|
|
|
|
|