Browse Source

Fix HideEmptyMetadataTables option in Metadata/DebugMetadataTreeNode.cs

pull/1984/head
Siegfried Pammer 5 years ago
parent
commit
68c5ea63f9
  1. 2
      ILSpy/Metadata/DebugMetadataTreeNode.cs

2
ILSpy/Metadata/DebugMetadataTreeNode.cs

@ -80,7 +80,7 @@ namespace ICSharpCode.ILSpy.Metadata @@ -80,7 +80,7 @@ namespace ICSharpCode.ILSpy.Metadata
if (ShowTable(TableIndex.CustomDebugInformation))
this.Children.Add(new CustomDebugInformationTableTreeNode(this.module, this.provider, isEmbedded));
bool ShowTable(TableIndex table) => !DisplaySettingsPanel.CurrentDisplaySettings.HideEmptyMetadataTables || module.Metadata.GetTableRowCount(table) > 0;
bool ShowTable(TableIndex table) => !DisplaySettingsPanel.CurrentDisplaySettings.HideEmptyMetadataTables || this.provider.GetTableRowCount(table) > 0;
}
public MetadataTableTreeNode FindNodeByHandleKind(HandleKind kind)

Loading…
Cancel
Save