Browse Source

Update icons

pull/3149/head
Siegfried Pammer 2 years ago
parent
commit
9c577ba156
  1. 1
      ILSpy/Images/Header.svg
  2. 11
      ILSpy/Images/Header.xaml
  3. 1
      ILSpy/Images/Heap.svg
  4. 10
      ILSpy/Images/Heap.xaml
  5. 10
      ILSpy/Images/Images.cs
  6. 1
      ILSpy/Images/ListFolder.Open.svg
  7. 12
      ILSpy/Images/ListFolder.Open.xaml
  8. 1
      ILSpy/Images/ListFolder.svg
  9. 11
      ILSpy/Images/ListFolder.xaml
  10. 1
      ILSpy/Images/Metadata.svg
  11. 15
      ILSpy/Images/Metadata.xaml
  12. 73
      ILSpy/Images/MetadataFile.svg
  13. 29
      ILSpy/Images/MetadataFile.xaml
  14. 1
      ILSpy/Images/MetadataTable.svg
  15. 10
      ILSpy/Images/MetadataTable.xaml
  16. 1
      ILSpy/Images/MetadataTableGroup.svg
  17. 10
      ILSpy/Images/MetadataTableGroup.xaml
  18. 1
      ILSpy/Images/ProgramDebugDatabase.svg
  19. 14
      ILSpy/Images/ProgramDebugDatabase.xaml
  20. 11
      ILSpy/Images/README.md
  21. 2
      ILSpy/Metadata/CoffHeaderTreeNode.cs
  22. 2
      ILSpy/Metadata/CorTables/AssemblyRefTableTreeNode.cs
  23. 2
      ILSpy/Metadata/CorTables/AssemblyTableTreeNode.cs
  24. 2
      ILSpy/Metadata/CorTables/ClassLayoutTableTreeNode.cs
  25. 2
      ILSpy/Metadata/CorTables/ConstantTableTreeNode.cs
  26. 2
      ILSpy/Metadata/CorTables/CustomAttributeTableTreeNode.cs
  27. 2
      ILSpy/Metadata/CorTables/DeclSecurityTableTreeNode.cs
  28. 2
      ILSpy/Metadata/CorTables/EventMapTableTreeNode.cs
  29. 2
      ILSpy/Metadata/CorTables/EventTableTreeNode.cs
  30. 2
      ILSpy/Metadata/CorTables/ExportedTypeTableTreeNode.cs
  31. 2
      ILSpy/Metadata/CorTables/FieldLayoutTableTreeNode.cs
  32. 2
      ILSpy/Metadata/CorTables/FieldMarshalTableTreeNode.cs
  33. 2
      ILSpy/Metadata/CorTables/FieldTableTreeNode.cs
  34. 2
      ILSpy/Metadata/CorTables/FileTableTreeNode.cs
  35. 2
      ILSpy/Metadata/CorTables/GenericParamConstraintTableTreeNode.cs
  36. 2
      ILSpy/Metadata/CorTables/GenericParamTableTreeNode.cs
  37. 2
      ILSpy/Metadata/CorTables/ImplMapTableTreeNode.cs
  38. 2
      ILSpy/Metadata/CorTables/InterfaceImplTableTreeNode.cs
  39. 2
      ILSpy/Metadata/CorTables/ManifestResourceTableTreeNode.cs
  40. 2
      ILSpy/Metadata/CorTables/MemberRefTableTreeNode.cs
  41. 2
      ILSpy/Metadata/CorTables/MethodImplTableTreeNode.cs
  42. 2
      ILSpy/Metadata/CorTables/MethodSemanticsTableTreeNode.cs
  43. 2
      ILSpy/Metadata/CorTables/MethodSpecTableTreeNode.cs
  44. 2
      ILSpy/Metadata/CorTables/MethodTableTreeNode.cs
  45. 2
      ILSpy/Metadata/CorTables/ModuleRefTableTreeNode.cs
  46. 2
      ILSpy/Metadata/CorTables/ModuleTableTreeNode.cs
  47. 2
      ILSpy/Metadata/CorTables/NestedClassTableTreeNode.cs
  48. 2
      ILSpy/Metadata/CorTables/ParamTableTreeNode.cs
  49. 2
      ILSpy/Metadata/CorTables/PropertyMapTableTreeNode.cs
  50. 2
      ILSpy/Metadata/CorTables/PropertyTableTreeNode.cs
  51. 2
      ILSpy/Metadata/CorTables/StandAloneSigTableTreeNode.cs
  52. 2
      ILSpy/Metadata/CorTables/TypeDefTableTreeNode.cs
  53. 2
      ILSpy/Metadata/CorTables/TypeRefTableTreeNode.cs
  54. 2
      ILSpy/Metadata/CorTables/TypeSpecTableTreeNode.cs
  55. 6
      ILSpy/Metadata/DataDirectoriesTreeNode.cs
  56. 3
      ILSpy/Metadata/DebugDirectory/CodeViewTreeNode.cs
  57. 5
      ILSpy/Metadata/DebugDirectory/DebugDirectoryEntryTreeNode.cs
  58. 2
      ILSpy/Metadata/DebugDirectory/PdbChecksumTreeNode.cs
  59. 4
      ILSpy/Metadata/DebugDirectoryTreeNode.cs
  60. 77
      ILSpy/Metadata/DebugMetadataTablesTreeNode.cs
  61. 2
      ILSpy/Metadata/DebugTables/CustomDebugInformationTableTreeNode.cs
  62. 2
      ILSpy/Metadata/DebugTables/DocumentTableTreeNode.cs
  63. 2
      ILSpy/Metadata/DebugTables/ImportScopeTableTreeNode.cs
  64. 2
      ILSpy/Metadata/DebugTables/LocalConstantTableTreeNode.cs
  65. 2
      ILSpy/Metadata/DebugTables/LocalScopeTableTreeNode.cs
  66. 2
      ILSpy/Metadata/DebugTables/LocalVariableTableTreeNode.cs
  67. 2
      ILSpy/Metadata/DebugTables/MethodDebugInformationTableTreeNode.cs
  68. 2
      ILSpy/Metadata/DebugTables/StateMachineMethodTableTreeNode.cs
  69. 4
      ILSpy/Metadata/DosHeaderTreeNode.cs
  70. 3
      ILSpy/Metadata/Heaps/BlobHeapTreeNode.cs
  71. 2
      ILSpy/Metadata/Heaps/GuidHeapTreeNode.cs
  72. 2
      ILSpy/Metadata/Heaps/StringHeapTreeNode.cs
  73. 2
      ILSpy/Metadata/Heaps/UserStringHeapTreeNode.cs
  74. 7
      ILSpy/Metadata/MetadataHeapTreeNode.cs
  75. 2
      ILSpy/Metadata/MetadataTableTreeNode.cs
  76. 2
      ILSpy/Metadata/MetadataTablesTreeNode.cs
  77. 2
      ILSpy/Metadata/MetadataTreeNode.cs
  78. 2
      ILSpy/Metadata/OptionalHeaderTreeNode.cs
  79. 19
      ILSpy/TreeNodes/AssemblyTreeNode.cs

1
ILSpy/Images/Header.svg

@ -0,0 +1 @@ @@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><style>.icon-canvas-transparent{opacity:0;fill:#f6f6f6}.icon-vs-out{fill:#f6f6f6}.icon-vs-bg{fill:#424242}.icon-vs-fg{fill:#f0eff1}.icon-vs-blue{fill:#1ba1e2}</style><path class="icon-canvas-transparent" d="M16 16H0V0h16v16z" id="canvas"/><path class="icon-vs-out" d="M15 0v16H1V0h14z" id="outline"/><path class="icon-vs-bg" d="M2 1v14h12V1H2zm11 13H3V2h10v12zm-1-1H4v-1h8v1zm0-2H4v-1h8v1zm0-2H4V8h8v1z" id="iconBg"/><path class="icon-vs-fg" d="M11 5H5V4h6v1zm2-3v12H3V2h10zm-1 10H4v1h8v-1zm0-2H4v1h8v-1zm0-2H4v1h8V8zm0-5H4v3h8V3z" id="iconFg"/><path class="icon-vs-blue" d="M12 3H4v3h8V3zm-1 2H5V4h6v1z" id="colorImportance"/></svg>

After

Width:  |  Height:  |  Size: 693 B

11
ILSpy/Images/Header.xaml

@ -0,0 +1,11 @@ @@ -0,0 +1,11 @@
<!-- This file was generated by the AiToXaml tool.-->
<!-- Tool Version: 14.0.22307.0 -->
<DrawingGroup xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<DrawingGroup.Children>
<GeometryDrawing Brush="#00FFFFFF" Geometry="F1M16,16L0,16 0,0 16,0z" />
<GeometryDrawing Brush="#FFF6F6F6" Geometry="F1M1,16L15,16 15,0 1,0z" />
<GeometryDrawing Brush="#FF424242" Geometry="F1M12,9L4,9 4,8 12,8z M12,11L4,11 4,10 12,10z M12,13L4,13 4,12 12,12z M13,14L3,14 3,2 13,2z M2,15L14,15 14,1 2,1z" />
<GeometryDrawing Brush="#FFF0EFF1" Geometry="F1M12,3L4,3 4,6 12,6z M12,8L4,8 4,9 12,9z M12,10L4,10 4,11 12,11z M12,12L4,12 4,13 12,13z M13,14L3,14 3,2 13,2z M11,5L5,5 5,4 11,4z" />
<GeometryDrawing Brush="#FF1BA1E2" Geometry="F1M11,5L5,5 5,4 11,4z M12,3L4,3 4,6 12,6z" />
</DrawingGroup.Children>
</DrawingGroup>

1
ILSpy/Images/Heap.svg

@ -0,0 +1 @@ @@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><style>.icon-canvas-transparent{opacity:0;fill:#f6f6f6}.icon-vs-out{fill:#f6f6f6}.icon-vs-bg{fill:#424242}.icon-vs-fg{fill:#f0eff1}</style><path class="icon-canvas-transparent" d="M15.993 16h-16V0h16v16z" id="canvas"/><path class="icon-vs-out" d="M16 15H1V1h15v14z" id="outline"/><path class="icon-vs-fg" d="M14 13H3v-2h11v2zm0-3H3V8h11v2zm0-3H3V5h11v2z" id="iconFg"/><g id="iconBg"><path class="icon-vs-bg" d="M2 2v12h13V2H2zm12 11H3v-2h11v2zm0-3H3V8h11v2zm0-3H3V5h11v2z"/></g></svg>

After

Width:  |  Height:  |  Size: 544 B

10
ILSpy/Images/Heap.xaml

@ -0,0 +1,10 @@ @@ -0,0 +1,10 @@
<!-- This file was generated by the AiToXaml tool.-->
<!-- Tool Version: 14.0.22307.0 -->
<DrawingGroup xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<DrawingGroup.Children>
<GeometryDrawing Brush="#00FFFFFF" Geometry="F1M15.993,16L-0.00699999999999967,16 -0.00699999999999967,0 15.993,0z" />
<GeometryDrawing Brush="#FFF6F6F6" Geometry="F1M1,15L16,15 16,1 1,1z" />
<GeometryDrawing Brush="#FFEFEFF0" Geometry="F1M14,7L3,7 3,5 14,5z M14,10L3,10 3,8 14,8z M14,13L3,13 3,11 14,11z" />
<GeometryDrawing Brush="#FF424242" Geometry="F1M14,7L3,7 3,5 14,5z M14,10L3,10 3,8 14,8z M14,13L3,13 3,11 14,11z M2,14L15,14 15,2 2,2z" />
</DrawingGroup.Children>
</DrawingGroup>

10
ILSpy/Images/Images.cs

@ -56,6 +56,16 @@ namespace ICSharpCode.ILSpy @@ -56,6 +56,16 @@ namespace ICSharpCode.ILSpy
public static readonly ImageSource ReferenceFolder = Load("ReferenceFolder");
public static readonly ImageSource NuGet = Load(null, "Images/NuGet.png");
public static readonly ImageSource MetadataFile = Load("MetadataFile");
public static readonly ImageSource ProgramDebugDatabase = Load("ProgramDebugDatabase");
public static readonly ImageSource Metadata = Load("Metadata");
public static readonly ImageSource Heap = Load("Heap");
public static readonly ImageSource Header = Load("Header");
public static readonly ImageSource MetadataTable = Load("MetadataTable");
public static readonly ImageSource MetadataTableGroup = Load("MetadataTableGroup");
public static readonly ImageSource ListFolder = Load("ListFolder");
public static readonly ImageSource ListFolderOpen = Load("ListFolder.Open");
public static readonly ImageSource SubTypes = Load("SubTypes");
public static readonly ImageSource SuperTypes = Load("SuperTypes");

1
ILSpy/Images/ListFolder.Open.svg

@ -0,0 +1 @@ @@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><style>.icon-canvas-transparent{opacity:0;fill:#f6f6f6}.icon-vs-out{fill:#f6f6f6}.icon-vs-fg{fill:#f0eff1}.icon-folder{fill:#dcb67a}.icon-vs-bg{fill:#424242}</style><path class="icon-canvas-transparent" d="M0 0h16v16H0V0z" id="canvas"/><path class="icon-vs-out" d="M16 6.969V16H5v-2.031H2s-.86-.022-1.43-.566c-.343-.332-.57-.817-.57-1.434v-9c0-1.303 1.005-2 2-2h7.116l1 2H13c.97 0 2 .701 2 2v2h1z" id="outline"/><path class="icon-vs-fg" d="M7 9h1v1H7V9zm0 3h1v-1H7v1zm0 2h1v-1H7v1zm2 0h5v-1H9v1zm0-2h5v-1H9v1zm0-3v1h5V9H9z" id="iconFg"/><g id="iconBg"><path class="icon-folder" d="M2 3h6l1 2h4v2h1V5c0-1-1.236-1-1-1H9.5l-1-2H2S1 2 1 3v9c0 .97.94.984.997.984H2V3z"/><path class="icon-folder" d="M5 8H4l-2 5h3z"/><path class="icon-vs-bg" d="M6 8v7h9V8H6zm1 1h1v1H7V9zm0 2h1v1H7v-1zm0 3v-1h1v1H7zm7 0H9v-1h5v1zm0-2H9v-1h5v1zm0-2H9V9h5v1z"/></g></svg>

After

Width:  |  Height:  |  Size: 907 B

12
ILSpy/Images/ListFolder.Open.xaml

@ -0,0 +1,12 @@ @@ -0,0 +1,12 @@
<!-- This file was generated by the AiToXaml tool.-->
<!-- Tool Version: 14.0.22307.0 -->
<DrawingGroup xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<DrawingGroup.Children>
<GeometryDrawing Brush="#00FFFFFF" Geometry="F1M0,0L16,0 16,16 0,16z" />
<GeometryDrawing Brush="#FFF6F6F6" Geometry="F1M16,6.9688L16,6.9998 16,8.1648 16,15.9998 5,15.9998 5,13.9688 2,13.9688C2,13.9688 1.14,13.9478 0.57,13.4038 0.227,13.0718 0,12.5858 0,11.9688L0,2.9688C0,1.6658,1.005,0.9688,2,0.9688L9.116,0.9688 10.116,2.9688 13,2.9688C13.97,2.9688,15,3.6698,15,4.9688L15,6.9688z" />
<GeometryDrawing Brush="#FFF0EFF1" Geometry="F1M9,10L14,10 14,9 9,9z M9,12L14,12 14,11 9,11z M9,14L14,14 14,13 9,13z M7,14L8,14 8,13 7,13z M7,12L8,12 8,11 7,11z M7,9L8,9 8,10 7,10z" />
<GeometryDrawing Brush="#FFDCB67A" Geometry="F1M2,3L8,3 9,5 13,5 13,7 14,7 14,5C14,4,12.764,4,13,4L9.5,4 8.5,2 2,2C2,2,1,2,1,3L1,12C1,12.97,1.94,12.984,1.997,12.984L2,12.984z" />
<GeometryDrawing Brush="#FFDCB67A" Geometry="F1M5,8L4,8 2,13 5,13z" />
<GeometryDrawing Brush="#FF424242" Geometry="F1M14,10L9,10 9,9 14,9z M14,12L9,12 9,11 14,11z M14,14L9,14 9,13 14,13z M7,13L8,13 8,14 7,14z M7,11L8,11 8,12 7,12z M7,9L8,9 8,10 7,10z M6,15L15,15 15,8 6,8z" />
</DrawingGroup.Children>
</DrawingGroup>

1
ILSpy/Images/ListFolder.svg

@ -0,0 +1 @@ @@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" enable-background="new 0 0 16 16"><style type="text/css">.icon-canvas-transparent{opacity:0;fill:#F6F6F6;} .icon-vs-out{fill:#F6F6F6;} .icon-folder{fill:#DCB67A;} .icon-vs-fg{fill:#F0EFF1;} .icon-vs-bg{fill:#424242;}</style><path class="icon-canvas-transparent" d="M0 0h16v16h-16v-16z" id="canvas"/><path class="icon-vs-out" d="M14.996 4.5v8c0 .827-.673 1.5-1.5 1.5h-2.496v2h-11v-13.5c0-.827.673-1.5 1.5-1.5h8.11l1 2h2.886c.827 0 1.5.673 1.5 1.5z" id="outline"/><g id="iconBg"><path class="icon-folder" d="M13.496 4h-3.504l-1-2h-7.492c-.275 0-.5.224-.5.5v4.5h10v6h2.496c.277 0 .5-.224.5-.5v-8c0-.276-.223-.5-.5-.5zm-11.496 0v-1h6.374l.5 1h-6.874z"/><path class="icon-vs-bg" d="M1 8v7h9v-7h-9zm1 1h1v1h-1v-1zm0 2h1v1h-1v-1zm0 3v-1h1v1h-1zm7 0h-5v-1h5v1zm0-2h-5v-1h5v1zm0-2h-5v-1h5v1z"/></g><path class="icon-vs-fg" d="M2 9h1v1h-1v-1zm0 2h1v1h-1v-1zm0 3v-1h1v1h-1zm7 0h-5v-1h5v1zm0-2h-5v-1h5v1zm0-2h-5v-1h5v1zm-7-7h6.374l.5 1h-6.874v-1z" id="iconFg"/></svg>

After

Width:  |  Height:  |  Size: 1015 B

11
ILSpy/Images/ListFolder.xaml

@ -0,0 +1,11 @@ @@ -0,0 +1,11 @@
<!-- This file was generated by the AiToXaml tool.-->
<!-- Tool Version: 14.0.22307.0 -->
<DrawingGroup xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<DrawingGroup.Children>
<GeometryDrawing Brush="#00FFFFFF" Geometry="F1M0,0L16,0 16,16 0,16z" />
<GeometryDrawing Brush="#FFF6F6F6" Geometry="F1M14.9961,4.5L14.9961,12.5C14.9961,13.327,14.3231,14,13.4961,14L11.0001,14 11.0001,16 9.99999999997669E-05,16 9.99999999997669E-05,12.5 9.99999999997669E-05,7 9.99999999997669E-05,2.5C9.99999999997669E-05,1.673,0.6731,1,1.5001,1L9.6101,1 10.6101,3 13.4961,3C14.3231,3,14.9961,3.673,14.9961,4.5" />
<GeometryDrawing Brush="#FFDCB67A" Geometry="F1M2,4L2,3 8.374,3 8.874,4z M13.496,4L10,4 9.992,4 8.992,2 1.5,2C1.225,2,1,2.224,1,2.5L1,7 11,7 11,13 13.496,13C13.773,13,13.996,12.776,13.996,12.5L13.996,4.5C13.996,4.224,13.773,4,13.496,4" />
<GeometryDrawing Brush="#FF424242" Geometry="F1M9,10L4,10 4,9 9,9z M9,12L4,12 4,11 9,11z M9,14L4,14 4,13 9,13z M2,13L3,13 3,14 2,14z M2,11L3,11 3,12 2,12z M2,9L3,9 3,10 2,10z M1,15L10,15 10,8 1,8z" />
<GeometryDrawing Brush="#FFEFEFF0" Geometry="F1M2,3L8.374,3 8.874,4 2,4z M9,10L4,10 4,9 9,9z M9,12L4,12 4,11 9,11z M9,14L4,14 4,13 9,13z M2,13L3,13 3,14 2,14z M2,11L3,11 3,12 2,12z M2,9L3,9 3,10 2,10z" />
</DrawingGroup.Children>
</DrawingGroup>

1
ILSpy/Images/Metadata.svg

@ -0,0 +1 @@ @@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><style>.st0{opacity:0}.st0,.st1{fill:#f6f6f6}.st2{fill:#424242}.st3{fill:#f0eff1}</style><g id="outline"><path class="st0" d="M0 0h16v16H0z"/><path class="st1" d="M15 4.465v7.07L8.303 16h-.606L1 11.535v-7.07L7.697 0h.605L15 4.465z"/></g><path class="st2" d="M8 1L2 5v6l6 4 6-4V5L8 1zm0 1.201l4.648 3.1-1.892 1.261-4.654-3.095L8 2.201zm-.5 11.264l-4.5-3v-1.53l4.5 3v1.53zm0-2.733l-4.5-3V6.268l4.5 3v1.464zM3.353 5.301l1.849-1.232 4.653 3.094L8 8.398 3.353 5.301zM13 10.465l-4.5 3v-1.53l4.5-3v1.53zm0-2.733l-4.5 3V9.268l4.5-3v1.464z" id="icon_x5F_bg"/><g id="icon_x5F_fg"><path class="st3" d="M8 2.201l4.648 3.1-1.892 1.261-4.654-3.095zM7.5 13.465l-4.5-3v-1.53l4.5 3zM7.5 10.732l-4.5-3V6.268l4.5 3zM3.353 5.301l1.848-1.233 4.653 3.094L8 8.398zM13 10.465l-4.5 3v-1.53l4.5-3zM13 7.732l-4.5 3V9.268l4.5-3z"/></g></svg>

After

Width:  |  Height:  |  Size: 873 B

15
ILSpy/Images/Metadata.xaml

@ -0,0 +1,15 @@ @@ -0,0 +1,15 @@
<!-- This file was generated by the AiToXaml tool.-->
<!-- Tool Version: 14.0.22307.0 -->
<DrawingGroup xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<DrawingGroup.Children>
<GeometryDrawing Brush="#00FFFFFF" Geometry="F1M16,16L0,16 0,0 16,0z" />
<GeometryDrawing Brush="#FFF6F6F6" Geometry="F1M7.6977,-0.000199999999999534L0.9997,4.4648 0.9997,11.5348 7.6977,15.9998 8.3027,15.9998 15.0007,11.5348 15.0007,4.4648 8.3027,-0.000199999999999534z" />
<GeometryDrawing Brush="#FF414141" Geometry="F1M13,7.7324L8.5,10.7324 8.5,9.2674 13,6.2674z M13,10.4644L8.5,13.4644 8.5,11.9344 13,8.9344z M3.353,5.3004L5.201,4.0684 9.854,7.1624 8,8.3984z M7.5,10.7324L3,7.7324 3,6.2674 7.5,9.2674z M7.5,13.4644L3,10.4644 3,8.9344 7.5,11.9344z M8,2.2014L12.647,5.3004 10.756,6.5614 6.102,3.4664z M8,1.0004L2,5.0004 2,11.0004 8,15.0004 14,11.0004 14,5.0004z" />
<GeometryDrawing Brush="#FFF0EFF1" Geometry="F1M8,2.2012L12.647,5.3012 10.756,6.5612 6.102,3.4672z" />
<GeometryDrawing Brush="#FFF0EFF1" Geometry="F1M7.5,13.4648L3,10.4648 3,8.9348 7.5,11.9348z" />
<GeometryDrawing Brush="#FFF0EFF1" Geometry="F1M7.5,10.7324L3,7.7324 3,6.2674 7.5,9.2674z" />
<GeometryDrawing Brush="#FFF0EFF1" Geometry="F1M3.3525,5.3008L5.2015,4.0688 9.8545,7.1618 7.9995,8.3988z" />
<GeometryDrawing Brush="#FFF0EFF1" Geometry="F1M13,10.4648L8.5,13.4648 8.5,11.9348 13,8.9348z" />
<GeometryDrawing Brush="#FFF0EFF1" Geometry="F1M13,7.7324L8.5,10.7324 8.5,9.2674 13,6.2674z" />
</DrawingGroup.Children>
</DrawingGroup>

73
ILSpy/Images/MetadataFile.svg

@ -0,0 +1,73 @@ @@ -0,0 +1,73 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 16 16"
version="1.1"
id="svg4"
sodipodi:docname="MetadataFile.svg"
xml:space="preserve"
inkscape:version="1.3.1 (91b66b0783, 2023-11-16)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs4" /><sodipodi:namedview
id="namedview4"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="12.828125"
inkscape:cx="24.672351"
inkscape:cy="7.6004872"
inkscape:window-width="1920"
inkscape:window-height="1017"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg4" /><style
id="style1">.st0{opacity:0}.st0,.st1{fill:#f6f6f6}.st2{fill:#424242}.st3{fill:#f0eff1}</style><g
id="outline"
style="display:inline"><path
class="st0"
d="M 0,0 H 16 V 16 H 0 Z"
id="path1"
style="display:inline" /><path
class="st1"
d="M 10.023,1 H 3.964 C 3.012,1 2,1.701 2,3 V 8.556 C 0.81,9.25 0,10.525 0,12 c 0,2.206 1.794,4 4,4 a 3.971,3.971 0 0 0 2.618,-1 h 5.347 C 13.407,15 13.972,13.825 14,13 V 4.552 Z"
id="path2"
style="display:inline" /></g><g
id="icon_x5F_bg"><path
class="st2"
d="M 6,6 H 8 V 7 H 6 Z M 6,8 V 8.555 C 6.222,8.684 6.428,8.832 6.62,9 H 10 V 8 Z m 1.858,3 H 10 V 10 H 7.445 c 0.181,0.311 0.321,0.644 0.413,1 z"
id="path3"
style="display:inline" /><path
class="st2"
d="M 9.641,2 H 3.964 C 3.964,2 3,2 3,3 V 8.142 A 3.978,3.978 0 0 1 4,8 V 3 h 5 v 3 h 3 v 7 H 7.858 a 3.945,3.945 0 0 1 -0.414,1 h 4.521 C 12.965,14 13,13 13,13 V 5 Z"
id="path4"
style="display:inline" /></g><path
class="st3"
d="M9 6V3H4v5c.735 0 1.417.213 2.009.562L6 8.555V8h4v1H6.62c-.005-.005-.012-.008-.018-.013.344.298.633.649.86 1.047-.006-.011-.01-.023-.017-.034H10v1H7.858l-.005-.017c.086.328.147.663.147 1.017 0 .348-.059.679-.142 1H12V6H9zM8 7H6V6h2v1z"
id="icon_x5F_fg" /><style
id="style1-9">.st0{opacity:0}.st0,.st1{fill:#f6f6f6}.st2{fill:#424242}.st3{fill:#f0eff1}</style><style
type="text/css"
id="style1-2">.icon-canvas-transparent{opacity:0;fill:#F6F6F6;} .icon-vs-out{fill:#F6F6F6;} .icon-vs-fg{fill:#F0EFF1;} .icon-vs-bg{fill:#424242;}</style><g
id="g4"
transform="matrix(0.5,0,0,0.5,0,8)"
style="display:inline"><g
id="outline-9"><path
class="st0"
d="M 0,0 H 16 V 16 H 0 Z"
id="path1-3" /><path
class="st1"
d="m 15,4.465 v 7.07 L 8.303,16 H 7.697 L 1,11.535 V 4.465 L 7.697,0 h 0.605 z"
id="path2-8" /></g><path
class="st2"
d="M 8,1 2,5 v 6 l 6,4 6,-4 V 5 Z m 0,1.201 4.648,3.1 -1.892,1.261 -4.654,-3.095 z m -0.5,11.264 -4.5,-3 v -1.53 l 4.5,3 z m 0,-2.733 -4.5,-3 V 6.268 l 4.5,3 z M 3.353,5.301 5.202,4.069 9.855,7.163 8,8.398 Z m 9.647,5.164 -4.5,3 v -1.53 l 4.5,-3 z m 0,-2.733 -4.5,3 V 9.268 l 4.5,-3 z"
id="icon_x5F_bg-2" /><g
id="icon_x5F_fg-1"><path
class="st3"
d="m 8,2.201 4.648,3.1 -1.892,1.261 -4.654,-3.095 z m -0.5,11.264 -4.5,-3 v -1.53 l 4.5,3 z m 0,-2.733 -4.5,-3 V 6.268 l 4.5,3 z M 3.353,5.301 5.201,4.068 9.854,7.162 8,8.398 Z m 9.647,5.164 -4.5,3 v -1.53 l 4.5,-3 z m 0,-2.733 -4.5,3 V 9.268 l 4.5,-3 z"
id="path3-0" /></g></g></svg>

After

Width:  |  Height:  |  Size: 3.6 KiB

29
ILSpy/Images/MetadataFile.xaml

@ -0,0 +1,29 @@ @@ -0,0 +1,29 @@
<DrawingGroup xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" ClipGeometry="M0,0 V16 H16 V0 H0 Z">
<DrawingGroup Opacity="1">
<GeometryDrawing Geometry="F1 M16,16z M0,0z M0,0L16,0 16,16 0,16z">
<GeometryDrawing.Brush>
<SolidColorBrush Color="#FFF6F6F6" Opacity="0" />
</GeometryDrawing.Brush>
</GeometryDrawing>
<GeometryDrawing Brush="#FFF6F6F6" Geometry="F1 M16,16z M0,0z M10.023,1L3.964,1C3.012,1,2,1.701,2,3L2,8.556C0.81,9.25 0,10.525 0,12 0,14.206 1.794,16 4,16A3.971,3.971,0,0,0,6.618,15L11.965,15C13.407,15,13.972,13.825,14,13L14,4.552z" />
</DrawingGroup>
<DrawingGroup Opacity="1">
<GeometryDrawing Brush="#FF424242" Geometry="F1 M16,16z M0,0z M6,6L8,6 8,7 6,7z M6,8L6,8.555C6.222,8.684,6.428,8.832,6.62,9L10,9 10,8z M7.858,11L10,11 10,10 7.445,10C7.626,10.311,7.766,10.644,7.858,11z" />
<GeometryDrawing Brush="#FF424242" Geometry="F1 M16,16z M0,0z M9.641,2L3.964,2C3.964,2,3,2,3,3L3,8.142A3.978,3.978,0,0,1,4,8L4,3 9,3 9,6 12,6 12,13 7.858,13A3.945,3.945,0,0,1,7.444,14L11.965,14C12.965,14,13,13,13,13L13,5z" />
</DrawingGroup>
<GeometryDrawing Brush="#FFF0EFF1" Geometry="F1 M16,16z M0,0z M9,6L9,3 4,3 4,8C4.735,8,5.417,8.213,6.009,8.562L6,8.555 6,8 10,8 10,9 6.62,9C6.615,8.995 6.608,8.992 6.602,8.987 6.946,9.285 7.235,9.636 7.462,10.034 7.456,10.023 7.452,10.011 7.445,10L10,10 10,11 7.858,11 7.853,10.983C7.939,11.311 8,11.646 8,12 8,12.348 7.941,12.679 7.858,13L12,13 12,6 9,6z M8,7L6,7 6,6 8,6 8,7z" />
<DrawingGroup Opacity="1" Transform="0.5,0,0,0.5,0,8">
<DrawingGroup Opacity="1">
<GeometryDrawing Geometry="F1 M16,16z M0,0z M0,0L16,0 16,16 0,16z">
<GeometryDrawing.Brush>
<SolidColorBrush Color="#FFF6F6F6" Opacity="0" />
</GeometryDrawing.Brush>
</GeometryDrawing>
<GeometryDrawing Brush="#FFF6F6F6" Geometry="F1 M16,16z M0,0z M15,4.465L15,11.535 8.303,16 7.697,16 1,11.535 1,4.465 7.697,0 8.302,0z" />
</DrawingGroup>
<GeometryDrawing Brush="#FF424242" Geometry="F1 M16,16z M0,0z M8,1L2,5 2,11 8,15 14,11 14,5z M8,2.201L12.648,5.301 10.756,6.562 6.102,3.467z M7.5,13.465L3,10.465 3,8.935 7.5,11.935z M7.5,10.732L3,7.732 3,6.268 7.5,9.268z M3.353,5.301L5.202,4.069 9.855,7.163 8,8.398z M13,10.465L8.5,13.465 8.5,11.935 13,8.935z M13,7.732L8.5,10.732 8.5,9.268 13,6.268z" />
<DrawingGroup Opacity="1">
<GeometryDrawing Brush="#FFF0EFF1" Geometry="F1 M16,16z M0,0z M8,2.201L12.648,5.301 10.756,6.562 6.102,3.467z M7.5,13.465L3,10.465 3,8.935 7.5,11.935z M7.5,10.732L3,7.732 3,6.268 7.5,9.268z M3.353,5.301L5.201,4.068 9.854,7.162 8,8.398z M13,10.465L8.5,13.465 8.5,11.935 13,8.935z M13,7.732L8.5,10.732 8.5,9.268 13,6.268z" />
</DrawingGroup>
</DrawingGroup>
</DrawingGroup>

1
ILSpy/Images/MetadataTable.svg

@ -0,0 +1 @@ @@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><style>.icon-canvas-transparent{opacity:0;fill:#f6f6f6}.icon-vs-out{fill:#f6f6f6}.icon-vs-bg{fill:#424242}.icon-vs-fg{fill:#f0eff1}</style><path class="icon-canvas-transparent" d="M16 16H0V0h16v16z" id="canvas"/><path class="icon-vs-out" d="M16 1v14h-4.78c-.55.609-1.337 1-2.22 1H5c-.884 0-1.674-.39-2.223-1H1v-1.796A2.977 2.977 0 0 1 0 11c0-.883.391-1.67 1-2.22V1h15z" id="outline"/><path class="icon-vs-fg" d="M7 8h3v2h-.174A3.004 3.004 0 0 0 7 8zm0-1h3V5H7v2zM3 7h3V5H3v2zm8-2v2h3V5h-3zm1 8h2v-2h-2.798c.497.544.798 1.249.798 2zm-1-3h3V8h-3v2z" id="iconFg"/><g id="iconBg"><path class="icon-vs-bg" d="M15 2v12h-3.184c.112-.314.184-.648.184-1h2v-2h-2.798a2.996 2.996 0 0 0-.738-.607l-.621-.35c-.004-.015-.012-.028-.017-.043H10V8H3c-.352 0-.686.072-1 .184V2h13zM6 5H3v2h3V5zm4 0H7v2h3V5zm4 3h-3v2h3V8zm0-3h-3v2h3V5zm-4.027 6.264a2.965 2.965 0 0 1-.275 1.024A.99.99 0 0 1 10 13a1 1 0 0 1-1 1H5a1.001 1.001 0 0 1 0-2l1-1H5c-1.103 0-2 .897-2 2 0 1.102.897 2 2 2h4c1.102 0 2-.898 2-2 0-.748-.417-1.393-1.027-1.736zM3 10h4a1.001 1.001 0 0 1 0 2l-1 1h1c1.102 0 2-.897 2-2s-.898-2-2-2H3c-1.103 0-2 .897-2 2 0 .748.417 1.393 1.027 1.736a2.96 2.96 0 0 1 .275-1.024A.99.99 0 0 1 2 11c0-.551.449-1 1-1z"/></g></svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

10
ILSpy/Images/MetadataTable.xaml

@ -0,0 +1,10 @@ @@ -0,0 +1,10 @@
<!-- This file was generated by the AiToXaml tool.-->
<!-- Tool Version: 14.0.22307.0 -->
<DrawingGroup xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<DrawingGroup.Children>
<GeometryDrawing Brush="#00FFFFFF" Geometry="F1M16,16L0,16 0,0 16,0z" />
<GeometryDrawing Brush="#FFF6F6F6" Geometry="F1M16,1L16,15 11.22,15C10.67,15.609,9.883,16,9,16L5,16C4.116,16,3.326,15.61,2.776,15L1,15 1,13.204C0.378,12.643 0,11.851 0,11 0,10.117 0.391,9.33 1,8.78L1,1z" />
<GeometryDrawing Brush="#FFEFEFF0" Geometry="F1M11,10L14,10 14,8 11,8z M12,13L14,13 14,11 11.202,11C11.699,11.544,12,12.249,12,13 M11,7L14,7 14,5 11,5z M3,7L6,7 6,5 3,5z M7,7L10,7 10,5 7,5z M7,8L10,8 10,10 9.826,10C9.412,8.837,8.303,8,7,8" />
<GeometryDrawing Brush="#FF424242" Geometry="F1M3,10L7,10C7.552,10 8,10.449 8,11 8,11.551 7.552,12 7,12L6,13 7,13C8.103,13 9,12.104 9,11 9,9.896 8.103,9 7,9L3,9C1.897,9 1,9.896 1,11 1,11.748 1.417,12.394 2.027,12.736 2.059,12.372 2.15,12.027 2.302,11.713 2.116,11.531 2,11.279 2,11 2,10.449 2.449,10 3,10 M9.974,11.264C9.941,11.628 9.85,11.973 9.698,12.287 9.884,12.469 10,12.721 10,13 10,13.552 9.552,14 9,14L5,14C4.449,14 4,13.552 4,13 4,12.449 4.449,12 5,12L6,11 5,11C3.897,11 3,11.896 3,13 3,14.103 3.897,15 5,15L9,15C10.103,15 11,14.103 11,13 11,12.252 10.583,11.606 9.974,11.264 M14,5L11,5 11,7 14,7z M14,8L11,8 11,10 14,10z M10,5L7,5 7,7 10,7z M6,5L3,5 3,7 6,7z M15,2L15,14 11.815,14C11.928,13.686,12,13.353,12,13L14,13 14,11 11.202,11C10.988,10.766,10.75,10.553,10.465,10.393L9.844,10.043C9.839,10.027,9.831,10.015,9.826,10L10,10 10,8 7,8 6,8 3,8C2.647,8,2.314,8.072,2,8.184L2,2z" />
</DrawingGroup.Children>
</DrawingGroup>

1
ILSpy/Images/MetadataTableGroup.svg

@ -0,0 +1 @@ @@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><style>.icon-canvas-transparent{opacity:0;fill:#f6f6f6}.icon-vs-out{fill:#f6f6f6}.icon-vs-bg{fill:#424242}.icon-vs-fg{fill:#f0eff1}</style><path class="icon-canvas-transparent" d="M16 0v16H0V0h16z" id="canvas"/><path class="icon-vs-out" d="M16 6v10H4v-3H0V3h3V0h12v6h1z" id="outline"/><path class="icon-vs-bg" d="M2 7h2v1H2v1h2v1H2v1h2v1H1V4h10v2H2v1zm11-3h-1v1h1v1h1V1H4v2h9v1zm2 3v8H5V7h10zm-7 6H6v1h2v-1zm0-2H6v1h2v-1zm0-2H6v1h2V9zm3 4H9v1h2v-1zm0-2H9v1h2v-1zm0-2H9v1h2V9zm3 4h-2v1h2v-1zm0-2h-2v1h2v-1zm0-2h-2v1h2V9z" id="iconBg"/><g id="iconFg"><path class="icon-vs-fg" d="M2 6h2v1H2V6zm0 3h2V8H2v1zm4 5h2v-1H6v1zm7-9h-1v1h1V5zm0-2h-1v1h1V3zM2 11h2v-1H2v1zm4 1h2v-1H6v1zm3 2h2v-1H9v1zm-3-4h2V9H6v1zm6 4h2v-1h-2v1zm0-5v1h2V9h-2zm0 3h2v-1h-2v1zm-3 0h2v-1H9v1zm0-2h2V9H9v1z"/></g></svg>

After

Width:  |  Height:  |  Size: 847 B

10
ILSpy/Images/MetadataTableGroup.xaml

@ -0,0 +1,10 @@ @@ -0,0 +1,10 @@
<!-- This file was generated by the AiToXaml tool.-->
<!-- Tool Version: 14.0.22307.0 -->
<DrawingGroup xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<DrawingGroup.Children>
<GeometryDrawing Brush="#00FFFFFF" Geometry="F1M16,16L0,16 0,0 16,0z" />
<GeometryDrawing Brush="#FFF6F6F6" Geometry="F1M2.9997,-0.000199999999999534L2.9997,3.0008 -0.000300000000000189,3.0008 -0.000300000000000189,13.0008 3.9997,13.0008 3.9997,15.9998 16.0007,15.9998 16.0007,5.9998 15.0007,5.9998 15.0007,-0.000199999999999534z" />
<GeometryDrawing Brush="#FF424242" Geometry="F1M14,9L12,9 12,10 14,10z M14,11L12,11 12,12 14,12z M14,13L12,13 12,14 14,14z M11,9L9,9 9,10 11,10z M11,11L9,11 9,12 11,12z M11,13L9,13 9,14 11,14z M8,9L6,9 6,10 8,10z M8,11L6,11 6,12 8,12z M8,13L6,13 6,14 8,14z M15,15L5,15 5,7 15,7z M13,4L12,4 12,5 13,5 13,6 14,6 14,1 4,1 4,3 13,3z M2,7L4,7 4,8 2,8 2,9 4,9 4,10 2,10 2,11 4,11 4,12 1,12 1,4 11,4 11,6 2,6z" />
<GeometryDrawing Brush="#FFEFEFF0" Geometry="F1M9,10L11,10 11,9 9,9z M9,12L11,12 11,11 9,11z M12,12L14,12 14,11 12,11z M12,10L14,10 14,9 12,9z M12,14L14,14 14,13 12,13z M6,10L8,10 8,9 6,9z M9,14L11,14 11,13 9,13z M6,12L8,12 8,11 6,11z M2,11L4,11 4,10 2,10z M13,3L12,3 12,4 13,4z M13,5L12,5 12,6 13,6z M6,14L8,14 8,13 6,13z M2,9L4,9 4,8 2,8z M2,6L4,6 4,7 2,7z" />
</DrawingGroup.Children>
</DrawingGroup>

1
ILSpy/Images/ProgramDebugDatabase.svg

@ -0,0 +1 @@ @@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><style>.st0{opacity:0}.st0,.st1{fill:#f6f6f6}.st2{fill:#424242}.st3{fill:#f0eff1}</style><g id="outline"><path class="st0" d="M0 0h16v16H0z"/><path class="st1" d="M10.023 1H3.964C3.012 1 2 1.701 2 3v5.556C.81 9.25 0 10.525 0 12c0 2.206 1.794 4 4 4a3.971 3.971 0 0 0 2.618-1h5.347c1.442 0 2.007-1.175 2.035-2V4.552L10.023 1z"/></g><g id="icon_x5F_bg"><path class="st2" d="M6 6h2v1H6zM6 8v.555c.222.129.428.277.62.445H10V8H6zM7.858 11H10v-1H7.445c.181.311.321.644.413 1z"/><circle class="st2" cx="4" cy="12" r="3"/><path class="st2" d="M9.641 2H3.964S3 2 3 3v5.142A3.978 3.978 0 0 1 4 8V3h5v3h3v7H7.858a3.945 3.945 0 0 1-.414 1h4.521c1 0 1.035-1 1.035-1V5L9.641 2z"/></g><path class="st3" d="M9 6V3H4v5c.735 0 1.417.213 2.009.562L6 8.555V8h4v1H6.62c-.005-.005-.012-.008-.018-.013.344.298.633.649.86 1.047-.006-.011-.01-.023-.017-.034H10v1H7.858l-.005-.017c.086.328.147.663.147 1.017 0 .348-.059.679-.142 1H12V6H9zM8 7H6V6h2v1z" id="icon_x5F_fg"/></svg>

After

Width:  |  Height:  |  Size: 1010 B

14
ILSpy/Images/ProgramDebugDatabase.xaml

@ -0,0 +1,14 @@ @@ -0,0 +1,14 @@
<!-- This file was generated by the AiToXaml tool.-->
<!-- Tool Version: 14.0.22307.0 -->
<DrawingGroup xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" ClipGeometry="M0,0 V16 H16 V0 H0 Z">
<DrawingGroup.Children>
<GeometryDrawing Brush="#00FFFFFF" Geometry="F1M16,16L0,16 0,0 16,0z" />
<GeometryDrawing Brush="#FFF6F6F6" Geometry="F1M10.0225,1L3.9635,1C3.0115,1,2.0005,1.701,2.0005,3L2.0005,8.556C0.810500000000001,9.25 0.000500000000000611,10.525 0.000500000000000611,12 0.000500000000000611,14.206 1.7945,16 4.0005,16 5.0055,16 5.9145,15.614 6.6175,15L11.9645,15C13.4075,15,13.9715,13.825,14.0005,13L14.0005,4.552z" />
<GeometryDrawing Brush="#FF414141" Geometry="F1M6,7L8,7 8,6 6,6z" />
<GeometryDrawing Brush="#FF414141" Geometry="F1M6,8L6,8.555C6.222,8.684,6.428,8.832,6.62,9L10,9 10,8z" />
<GeometryDrawing Brush="#FF414141" Geometry="F1M7.8584,11L10.0004,11 10.0004,10 7.4454,10C7.6264,10.311,7.7664,10.644,7.8584,11" />
<GeometryDrawing Brush="#FF414141" Geometry="F1M7,12C7,10.344 5.657,9 4,9 2.343,9 1,10.344 1,12 1,13.656 2.343,15 4,15 5.657,15 7,13.656 7,12" />
<GeometryDrawing Brush="#FF414141" Geometry="F1M9.6406,2L3.9636,2C3.9636,2,2.9996,2,2.9996,3L2.9996,8.142C3.3216,8.059,3.6526,8,3.9996,8L3.9996,3 8.9996,3 8.9996,6 11.9996,6 11.9996,13 7.8576,13C7.7656,13.355,7.6246,13.689,7.4436,14L11.9646,14C12.9646,14,12.9996,13,12.9996,13L12.9996,5z" />
<GeometryDrawing Brush="#FFF0EFF1" Geometry="F1M8,7L6,7 6,6 8,6z M9,6L9,3 4,3 4,8C4.735,8 5.417,8.213 6.009,8.562 6.006,8.56 6.003,8.557 6,8.555L6,8 10,8 10,9 6.62,9C6.615,8.995 6.608,8.992 6.602,8.987 6.946,9.285 7.235,9.637 7.462,10.034 7.456,10.023 7.452,10.011 7.445,10L10,10 10,11 7.858,11C7.857,10.994 7.854,10.989 7.853,10.983 7.939,11.311 8,11.646 8,12 8,12.348 7.941,12.679 7.858,13L12,13 12,6z" />
</DrawingGroup.Children>
</DrawingGroup>

11
ILSpy/Images/README.md

@ -10,7 +10,7 @@ Icons used in ILSpy: @@ -10,7 +10,7 @@ Icons used in ILSpy:
| Back | x | x | VS 2017 Icon Pack (Backward) | |
| Class | x | x | VS 2017 Icon Pack (Class) | |
| Close | x | x | VS 2017 Icon Pack (Clear) | |
| CollapseAll | x | x | VS 2017 Icon Pack (CollapseAll) | |
| CollapseAll | x | x | VS 2017 Icon Pack (CollapseAll) | |
| Constructor | x | x | based on VS 2017 Icon Pack (Method) using a different colour | |
| Copy | x | x | VS 2017 Icon Pack (Copy) | |
| Delegate | x | x | VS 2017 Icon Pack (Delegate) | |
@ -25,10 +25,18 @@ Icons used in ILSpy: @@ -25,10 +25,18 @@ Icons used in ILSpy:
| Folder.Closed | x | x | VS 2017 Icon Pack (Folder) | |
| Folder.Open | x | x | VS 2017 Icon Pack (FolderOpen) | |
| Forward | x | x | VS 2017 Icon Pack (Forward) | |
| Header | x | x | VS 2017 Icon Pack (PageHeader) | |
| Heap | x | x | VS 2017 Icon Pack (Datalist) | |
| Indexer | x | x | VS 2017 Icon Pack (Indexer) | |
| Interface | x | x | VS 2017 Icon Pack (Interface) | |
| Library | x | x | VS 2017 Icon Pack (Library) | |
| ListFolder | x | x | VS 2017 Icon Pack (ListFolder) | |
| ListFolder.Open | x | x | VS 2017 Icon Pack (ListFolderOpen) | |
| Literal | x | x | VS 2017 Icon Pack (Literal) | |
| Metadata | x | x | VS 2017 Icon Pack (Metadata) | |
| MetadataFile | x | x | combined ProgramDebugDatabase + Metadata | |
| MetadataTable | x | x | VS 2017 Icon Pack (LinkedTable) | |
| MetadataTableGroup | x | x | VS 2017 Icon Pack (LinkedTableGroup) | |
| Method | x | x | VS 2017 Icon Pack (Method) | |
| Namespace | x | x | VS 2017 Icon Pack (Namespace) | |
| OK | x | x | VS 2017 Icon Pack (StatusOK) | |
@ -42,6 +50,7 @@ Icons used in ILSpy: @@ -42,6 +50,7 @@ Icons used in ILSpy:
| OverlayProtectedInternal | x | x | combined OverlayProtected and OverlayInternal | |
| OverlayStatic | x | x | custom | |
| PInvokeMethod | x | x | based on VS 2017 Icon Pack (ExtensionMethod) with rotated arrow | |
| ProgramDebugDatabase | x | x | VS 2017 Icon Pack (ProgramDebugDatabase) | |
| Property | x | x | VS 2017 Icon Pack (Property) | |
| ReferenceFolder | x | x | combined VS 2017 Icon Pack (Reference) two times | |
| Refresh | x | x | VS 2017 Icon Pack (Refresh) | |

2
ILSpy/Metadata/CoffHeaderTreeNode.cs

@ -41,7 +41,7 @@ namespace ICSharpCode.ILSpy.Metadata @@ -41,7 +41,7 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => "COFF Header";
public override object Icon => Images.Literal;
public override object Icon => Images.Header;
public override bool View(TabPageModel tabPage)
{

2
ILSpy/Metadata/CorTables/AssemblyRefTableTreeNode.cs

@ -36,8 +36,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -36,8 +36,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"23 AssemblyRef ({metadataFile.Metadata.GetTableRowCount(TableIndex.AssemblyRef)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/AssemblyTableTreeNode.cs

@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"20 Assembly ({metadataFile.Metadata.GetTableRowCount(TableIndex.Assembly)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/ClassLayoutTableTreeNode.cs

@ -36,8 +36,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -36,8 +36,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"0F ClassLayout ({metadataFile.Metadata.GetTableRowCount(TableIndex.ClassLayout)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/ConstantTableTreeNode.cs

@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"0B Constant ({metadataFile.Metadata.GetTableRowCount(TableIndex.Constant)})";
public override object Icon => Images.Literal;
public override bool View(TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/CustomAttributeTableTreeNode.cs

@ -34,8 +34,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -34,8 +34,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"0C CustomAttribute ({metadataFile.Metadata.GetTableRowCount(TableIndex.CustomAttribute)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/DeclSecurityTableTreeNode.cs

@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"0E DeclSecurity ({metadataFile.Metadata.GetTableRowCount(TableIndex.DeclSecurity)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/EventMapTableTreeNode.cs

@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"12 EventMap ({metadataFile.Metadata.GetTableRowCount(TableIndex.EventMap)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/EventTableTreeNode.cs

@ -37,8 +37,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -37,8 +37,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"14 Event ({metadataFile.Metadata.GetTableRowCount(TableIndex.Event)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/ExportedTypeTableTreeNode.cs

@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"27 ExportedType ({metadataFile.Metadata.GetTableRowCount(TableIndex.ExportedType)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/FieldLayoutTableTreeNode.cs

@ -36,8 +36,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -36,8 +36,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"10 FieldLayout ({metadataFile.Metadata.GetTableRowCount(TableIndex.FieldLayout)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/FieldMarshalTableTreeNode.cs

@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"0D FieldMarshal ({metadataFile.Metadata.GetTableRowCount(TableIndex.FieldMarshal)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/FieldTableTreeNode.cs

@ -38,8 +38,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -38,8 +38,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"04 Field ({metadataFile.Metadata.GetTableRowCount(TableIndex.Field)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/FileTableTreeNode.cs

@ -34,8 +34,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -34,8 +34,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"26 File ({metadataFile.Metadata.GetTableRowCount(TableIndex.File)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/GenericParamConstraintTableTreeNode.cs

@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"2C GenericParamConstraint ({metadataFile.Metadata.GetTableRowCount(TableIndex.GenericParamConstraint)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/GenericParamTableTreeNode.cs

@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"2A GenericParam ({metadataFile.Metadata.GetTableRowCount(TableIndex.GenericParam)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/ImplMapTableTreeNode.cs

@ -38,8 +38,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -38,8 +38,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"1C ImplMap ({metadataFile.Metadata.GetTableRowCount(TableIndex.ImplMap)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)

2
ILSpy/Metadata/CorTables/InterfaceImplTableTreeNode.cs

@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"09 InterfaceImpl ({metadataFile.Metadata.GetTableRowCount(TableIndex.InterfaceImpl)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/ManifestResourceTableTreeNode.cs

@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"28 ManifestResource ({metadataFile.Metadata.GetTableRowCount(TableIndex.ManifestResource)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/MemberRefTableTreeNode.cs

@ -34,8 +34,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -34,8 +34,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"0A MemberRef ({metadataFile.Metadata.GetTableRowCount(TableIndex.MemberRef)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/MethodImplTableTreeNode.cs

@ -34,8 +34,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -34,8 +34,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"19 MethodImpl ({metadataFile.Metadata.GetTableRowCount(TableIndex.MethodImpl)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/MethodSemanticsTableTreeNode.cs

@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"18 MethodSemantics ({metadataFile.Metadata.GetTableRowCount(TableIndex.MethodSemantics)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/MethodSpecTableTreeNode.cs

@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"2B MethodSpec ({metadataFile.Metadata.GetTableRowCount(TableIndex.MethodSpec)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/MethodTableTreeNode.cs

@ -38,8 +38,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -38,8 +38,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"06 Method ({metadataFile.Metadata.GetTableRowCount(TableIndex.MethodDef)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/ModuleRefTableTreeNode.cs

@ -34,8 +34,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -34,8 +34,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"1A ModuleRef ({metadataFile.Metadata.GetTableRowCount(TableIndex.ModuleRef)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/ModuleTableTreeNode.cs

@ -34,8 +34,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -34,8 +34,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"00 Module ({metadataFile.Metadata.GetTableRowCount(TableIndex.Module)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/NestedClassTableTreeNode.cs

@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"29 NestedClass ({metadataFile.Metadata.GetTableRowCount(TableIndex.NestedClass)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/ParamTableTreeNode.cs

@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"08 Param ({metadataFile.Metadata.GetTableRowCount(TableIndex.Param)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/PropertyMapTableTreeNode.cs

@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"15 PropertyMap ({metadataFile.Metadata.GetTableRowCount(TableIndex.PropertyMap)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/PropertyTableTreeNode.cs

@ -37,8 +37,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -37,8 +37,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"17 Property ({metadataFile.Metadata.GetTableRowCount(TableIndex.Property)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/StandAloneSigTableTreeNode.cs

@ -34,8 +34,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -34,8 +34,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"11 StandAloneSig ({metadataFile.Metadata.GetTableRowCount(TableIndex.StandAloneSig)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/TypeDefTableTreeNode.cs

@ -39,8 +39,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -39,8 +39,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"02 TypeDef ({metadataFile.Metadata.GetTableRowCount(TableIndex.TypeDef)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/TypeRefTableTreeNode.cs

@ -34,8 +34,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -34,8 +34,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"01 TypeRef ({metadataFile.Metadata.GetTableRowCount(TableIndex.TypeRef)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/CorTables/TypeSpecTableTreeNode.cs

@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"1B TypeSpec ({metadataFile.Metadata.GetTableRowCount(TableIndex.TypeSpec)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

6
ILSpy/Metadata/DataDirectoriesTreeNode.cs

@ -17,12 +17,9 @@ @@ -17,12 +17,9 @@
// DEALINGS IN THE SOFTWARE.
using System.Reflection.PortableExecutable;
using System.Windows.Controls;
using System.Windows.Data;
using ICSharpCode.Decompiler;
using ICSharpCode.Decompiler.Metadata;
using ICSharpCode.ILSpy.TextView;
using ICSharpCode.ILSpy.TreeNodes;
namespace ICSharpCode.ILSpy.Metadata
@ -38,7 +35,8 @@ namespace ICSharpCode.ILSpy.Metadata @@ -38,7 +35,8 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => "Data Directories";
public override object Icon => Images.Literal;
public override object Icon => Images.ListFolder;
public override object ExpandedIcon => Images.ListFolderOpen;
public override bool View(ViewModels.TabPageModel tabPage)
{

3
ILSpy/Metadata/DebugDirectory/CodeViewTreeNode.cs

@ -21,7 +21,6 @@ @@ -21,7 +21,6 @@
using System.Reflection.PortableExecutable;
using ICSharpCode.Decompiler;
using ICSharpCode.Decompiler.Metadata;
using ICSharpCode.ILSpy.TreeNodes;
using ICSharpCode.ILSpy.ViewModels;
@ -39,7 +38,7 @@ namespace ICSharpCode.ILSpy.Metadata @@ -39,7 +38,7 @@ namespace ICSharpCode.ILSpy.Metadata
public override object ToolTip => "Associated PDB file description.";
public override object Icon => Images.Literal;
public override object Icon => Images.MetadataTable;
public override bool View(TabPageModel tabPage)
{

5
ILSpy/Metadata/DebugDirectory/DebugDirectoryEntryTreeNode.cs

@ -23,7 +23,6 @@ using System.Reflection.PortableExecutable; @@ -23,7 +23,6 @@ using System.Reflection.PortableExecutable;
using ICSharpCode.Decompiler;
using ICSharpCode.Decompiler.Metadata;
using ICSharpCode.ILSpy.TreeNodes;
using ICSharpCode.ILSpy.ViewModels;
namespace ICSharpCode.ILSpy.Metadata
{
@ -39,9 +38,9 @@ namespace ICSharpCode.ILSpy.Metadata @@ -39,9 +38,9 @@ namespace ICSharpCode.ILSpy.Metadata
this.entry = entry;
}
override public object Text => $"{entry.Type}";
override public object Text => entry.Type.ToString();
public override object Icon => Images.Literal;
public override object Icon => Images.MetadataTable;
public override void Decompile(Language language, ITextOutput output, DecompilationOptions options)
{

2
ILSpy/Metadata/DebugDirectory/PdbChecksumTreeNode.cs

@ -44,7 +44,7 @@ namespace ICSharpCode.ILSpy.Metadata @@ -44,7 +44,7 @@ namespace ICSharpCode.ILSpy.Metadata
+ "be present if multiple PDBs were produced during the build of the PE/COFF file\n"
+ "(for example, private and public symbols).";
public override object Icon => Images.Literal;
public override object Icon => Images.MetadataTable;
public override bool View(TabPageModel tabPage)
{

4
ILSpy/Metadata/DebugDirectoryTreeNode.cs

@ -39,7 +39,9 @@ namespace ICSharpCode.ILSpy.Metadata @@ -39,7 +39,9 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => "Debug Directory";
public override object Icon => Images.Literal;
public override object Icon => Images.ListFolder;
public override object ExpandedIcon => Images.ListFolderOpen;
public override bool View(ViewModels.TabPageModel tabPage)
{

77
ILSpy/Metadata/DebugMetadataTablesTreeNode.cs

@ -0,0 +1,77 @@ @@ -0,0 +1,77 @@
// Copyright (c) 2021 AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, copy, modify, merge,
// publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons
// to whom the Software is furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all copies or
// substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
// FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
using System.Reflection.Metadata.Ecma335;
using ICSharpCode.Decompiler;
using ICSharpCode.Decompiler.Metadata;
using ICSharpCode.ILSpy.TreeNodes;
using ICSharpCode.ILSpy.ViewModels;
namespace ICSharpCode.ILSpy.Metadata
{
class DebugMetadataTablesTreeNode : ILSpyTreeNode
{
private MetadataFile metadataFile;
public DebugMetadataTablesTreeNode(MetadataFile metadataFile)
{
this.metadataFile = metadataFile;
this.LazyLoading = true;
}
public override object Text => "Tables";
public override object Icon => Images.MetadataTableGroup;
protected override void LoadChildren()
{
if (ShowTable(TableIndex.Document))
this.Children.Add(new DocumentTableTreeNode(metadataFile));
if (ShowTable(TableIndex.MethodDebugInformation))
this.Children.Add(new MethodDebugInformationTableTreeNode(metadataFile));
if (ShowTable(TableIndex.LocalScope))
this.Children.Add(new LocalScopeTableTreeNode(metadataFile));
if (ShowTable(TableIndex.LocalVariable))
this.Children.Add(new LocalVariableTableTreeNode(metadataFile));
if (ShowTable(TableIndex.LocalConstant))
this.Children.Add(new LocalConstantTableTreeNode(metadataFile));
if (ShowTable(TableIndex.ImportScope))
this.Children.Add(new ImportScopeTableTreeNode(metadataFile));
if (ShowTable(TableIndex.StateMachineMethod))
this.Children.Add(new StateMachineMethodTableTreeNode(metadataFile));
if (ShowTable(TableIndex.CustomDebugInformation))
this.Children.Add(new CustomDebugInformationTableTreeNode(metadataFile));
bool ShowTable(TableIndex table) => !MainWindow.Instance.CurrentDisplaySettings.HideEmptyMetadataTables || metadataFile.Metadata.GetTableRowCount(table) > 0;
}
public override bool View(TabPageModel tabPage)
{
tabPage.Title = Text.ToString();
tabPage.SupportsLanguageSwitching = false;
return false;
}
public override void Decompile(Language language, ITextOutput output, DecompilationOptions options)
{
language.WriteCommentLine(output, "Metadata Tables");
}
}
}

2
ILSpy/Metadata/DebugTables/CustomDebugInformationTableTreeNode.cs

@ -39,8 +39,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -39,8 +39,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"37 CustomDebugInformation ({metadataFile.Metadata.GetTableRowCount(TableIndex.CustomDebugInformation)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/DebugTables/DocumentTableTreeNode.cs

@ -36,8 +36,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -36,8 +36,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"30 Document ({metadataFile.Metadata.GetTableRowCount(TableIndex.Document)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/DebugTables/ImportScopeTableTreeNode.cs

@ -34,8 +34,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -34,8 +34,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"35 ImportScope ({metadataFile.Metadata.GetTableRowCount(TableIndex.ImportScope)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/DebugTables/LocalConstantTableTreeNode.cs

@ -34,8 +34,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -34,8 +34,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"34 LocalConstant ({metadataFile.Metadata.GetTableRowCount(TableIndex.LocalConstant)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/DebugTables/LocalScopeTableTreeNode.cs

@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -35,8 +35,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"32 LocalScope ({metadataFile.Metadata.GetTableRowCount(TableIndex.LocalScope)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/DebugTables/LocalVariableTableTreeNode.cs

@ -34,8 +34,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -34,8 +34,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"33 LocalVariable ({metadataFile.Metadata.GetTableRowCount(TableIndex.LocalVariable)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/DebugTables/MethodDebugInformationTableTreeNode.cs

@ -36,8 +36,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -36,8 +36,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"31 MethodDebugInformation ({metadataFile.Metadata.GetTableRowCount(TableIndex.MethodDebugInformation)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/DebugTables/StateMachineMethodTableTreeNode.cs

@ -34,8 +34,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -34,8 +34,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"36 StateMachineMethod ({metadataFile.Metadata.GetTableRowCount(TableIndex.StateMachineMethod)})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

4
ILSpy/Metadata/DosHeaderTreeNode.cs

@ -17,8 +17,6 @@ @@ -17,8 +17,6 @@
// DEALINGS IN THE SOFTWARE.
using System.Collections.Generic;
using System.Windows.Controls;
using System.Windows.Data;
using ICSharpCode.Decompiler;
using ICSharpCode.Decompiler.Metadata;
@ -38,7 +36,7 @@ namespace ICSharpCode.ILSpy.Metadata @@ -38,7 +36,7 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => "DOS Header";
public override object Icon => Images.Literal;
public override object Icon => Images.Header;
public override bool View(TabPageModel tabPage)
{

3
ILSpy/Metadata/Heaps/BlobHeapTreeNode.cs

@ -22,7 +22,6 @@ using System.Reflection.Metadata.Ecma335; @@ -22,7 +22,6 @@ using System.Reflection.Metadata.Ecma335;
using ICSharpCode.Decompiler;
using ICSharpCode.Decompiler.Metadata;
using ICSharpCode.ILSpyX;
namespace ICSharpCode.ILSpy.Metadata
{
@ -47,8 +46,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -47,8 +46,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"Blob Heap ({list.Count})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/Heaps/GuidHeapTreeNode.cs

@ -44,8 +44,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -44,8 +44,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"Guid Heap ({list.Count})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/Heaps/StringHeapTreeNode.cs

@ -45,8 +45,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -45,8 +45,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"String Heap ({list.Count})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

2
ILSpy/Metadata/Heaps/UserStringHeapTreeNode.cs

@ -45,8 +45,6 @@ namespace ICSharpCode.ILSpy.Metadata @@ -45,8 +45,6 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => $"UserString Heap ({list.Count})";
public override object Icon => Images.Literal;
public override bool View(ViewModels.TabPageModel tabPage)
{
tabPage.Title = Text.ToString();

7
ILSpy/Metadata/MetadataHeapTreeNode.cs

@ -32,17 +32,14 @@ namespace ICSharpCode.ILSpy.Metadata @@ -32,17 +32,14 @@ namespace ICSharpCode.ILSpy.Metadata
public HandleKind Kind { get; }
public override object Icon => Images.Heap;
public MetadataHeapTreeNode(HandleKind kind, MetadataFile metadataFile)
{
this.Kind = kind;
this.metadataFile = metadataFile;
}
internal void ScrollTo(Handle handle)
{
//this.scrollTarget = MetadataTokens.GetHeapOffset((EntityHandle)handle);
}
protected void ScrollItemIntoView(DataGrid view, object item)
{
view.Loaded += View_Loaded;

2
ILSpy/Metadata/MetadataTableTreeNode.cs

@ -36,6 +36,8 @@ namespace ICSharpCode.ILSpy.Metadata @@ -36,6 +36,8 @@ namespace ICSharpCode.ILSpy.Metadata
public HandleKind Kind { get; }
public override object Icon => Images.MetadataTable;
public MetadataTableTreeNode(HandleKind kind, MetadataFile metadataFile)
{
this.Kind = kind;

2
ILSpy/Metadata/MetadataTablesTreeNode.cs

@ -39,7 +39,7 @@ namespace ICSharpCode.ILSpy.Metadata @@ -39,7 +39,7 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => "Tables";
public override object Icon => Images.Literal;
public override object Icon => Images.MetadataTableGroup;
protected override void LoadChildren()
{

2
ILSpy/Metadata/MetadataTreeNode.cs

@ -45,7 +45,7 @@ namespace ICSharpCode.ILSpy.Metadata @@ -45,7 +45,7 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => title;
public override object Icon => Images.Library;
public override object Icon => Images.Metadata;
public override bool View(TabPageModel tabPage)
{

2
ILSpy/Metadata/OptionalHeaderTreeNode.cs

@ -40,7 +40,7 @@ namespace ICSharpCode.ILSpy.Metadata @@ -40,7 +40,7 @@ namespace ICSharpCode.ILSpy.Metadata
public override object Text => "Optional Header";
public override object Icon => Images.Literal;
public override object Icon => Images.Header;
public override bool View(ViewModels.TabPageModel tabPage)
{

19
ILSpy/TreeNodes/AssemblyTreeNode.cs

@ -29,7 +29,7 @@ using ICSharpCode.Decompiler; @@ -29,7 +29,7 @@ using ICSharpCode.Decompiler;
using ICSharpCode.Decompiler.CSharp.ProjectDecompiler;
using ICSharpCode.Decompiler.Metadata;
using ICSharpCode.Decompiler.TypeSystem;
using ICSharpCode.ILSpy.Options;
using ICSharpCode.ILSpy.Metadata;
using ICSharpCode.ILSpy.Properties;
using ICSharpCode.ILSpy.ViewModels;
using ICSharpCode.ILSpyX;
@ -98,7 +98,18 @@ namespace ICSharpCode.ILSpy.TreeNodes @@ -98,7 +98,18 @@ namespace ICSharpCode.ILSpy.TreeNodes
_ => Images.Library,
};
}
return Images.Assembly;
if (loadResult.MetadataFile != null)
{
return loadResult.MetadataFile.Kind switch {
MetadataFile.MetadataFileKind.PortableExecutable => Images.Assembly,
MetadataFile.MetadataFileKind.ProgramDebugDatabase => Images.ProgramDebugDatabase,
_ => Images.MetadataFile,
};
}
else
{
return Images.Assembly;
}
}
else
{
@ -383,6 +394,10 @@ namespace ICSharpCode.ILSpy.TreeNodes @@ -383,6 +394,10 @@ namespace ICSharpCode.ILSpy.TreeNodes
output.WriteLine("// " + LoadedAssembly.FileName);
DecompilePackage(loadResult.Package, output);
}
else if (loadResult.MetadataFile != null)
{
output.WriteLine("// " + LoadedAssembly.FileName);
}
else
{
LoadedAssembly.GetPEFileOrNullAsync().GetAwaiter().GetResult();

Loading…
Cancel
Save