From 6a34df5cd0ebb65e6d416eedc3937a19e3af87bc Mon Sep 17 00:00:00 2001 From: Marcel Wiessler Date: Sun, 2 May 2021 12:13:40 +0200 Subject: [PATCH] fix string <> int convertion error --- .../Metadata/DebugTables/CustomDebugInformationTableTreeNode.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ILSpy/Metadata/DebugTables/CustomDebugInformationTableTreeNode.cs b/ILSpy/Metadata/DebugTables/CustomDebugInformationTableTreeNode.cs index 16c33fd66e..44853e6080 100644 --- a/ILSpy/Metadata/DebugTables/CustomDebugInformationTableTreeNode.cs +++ b/ILSpy/Metadata/DebugTables/CustomDebugInformationTableTreeNode.cs @@ -183,7 +183,7 @@ static CustomDebugInformationKind GetKind(MetadataReader metadata, GuidHandle h) public int RID => MetadataTokens.GetRowNumber(handle); - public object Offset => offset == null ? "n/a" : offset; + public object Offset => offset == null ? null : offset; [StringFormat("X8")] public int Parent => MetadataTokens.GetToken(debugInfo.Parent);