Browse Source

Add new icons for many member types and other tree view entries, added icons for some more menu commands

pull/1704/head
Andreas Weizel 6 years ago
parent
commit
788fdf4fe2
  1. 2
      ILSpy/Analyzers/AnalyzeCommand.cs
  2. 2
      ILSpy/Commands/OpenFromGacCommand.cs
  3. 2
      ILSpy/Commands/OpenListCommand.cs
  4. 2
      ILSpy/Commands/SaveCodeContextMenuEntry.cs
  5. 2
      ILSpy/Commands/SaveCommand.cs
  6. 16
      ILSpy/ContextMenuEntry.cs
  7. 79
      ILSpy/ILSpy.csproj
  8. 11
      ILSpy/Images/Assembly.xaml
  9. 20
      ILSpy/Images/AssemblyList.xaml
  10. 20
      ILSpy/Images/AssemblyListGAC.xaml
  11. 11
      ILSpy/Images/AssemblyWarning.xaml
  12. 10
      ILSpy/Images/EnumValue.xaml
  13. 9
      ILSpy/Images/Event.xaml
  14. 11
      ILSpy/Images/ExtensionMethod.xaml
  15. 10
      ILSpy/Images/Field.xaml
  16. 10
      ILSpy/Images/Folder.Closed.xaml
  17. 9
      ILSpy/Images/Folder.Open.xaml
  18. 46
      ILSpy/Images/Images.cs
  19. 9
      ILSpy/Images/Indexer.xaml
  20. 12
      ILSpy/Images/Library.xaml
  21. 11
      ILSpy/Images/Literal.xaml
  22. 10
      ILSpy/Images/Method.xaml
  23. 9
      ILSpy/Images/Namespace.xaml
  24. 20
      ILSpy/Images/OK.xaml
  25. 10
      ILSpy/Images/Operator.xaml
  26. 9
      ILSpy/Images/Property.xaml
  27. 23
      ILSpy/Images/Resource.xaml
  28. 13
      ILSpy/Images/ResourceImage.xaml
  29. 10
      ILSpy/Images/ResourceXml.xaml
  30. 10
      ILSpy/Images/ResourceXslt.xaml
  31. 20
      ILSpy/Images/Save.xaml
  32. 20
      ILSpy/Images/ViewCode.xaml
  33. 3
      ILSpy/TreeNodes/BaseTypesEntryNode.cs
  34. 2
      ILSpy/TreeNodes/BaseTypesTreeNode.cs
  35. 2
      ILSpy/TreeNodes/ModuleReferenceTreeNode.cs
  36. 2
      ILSpy/TreeNodes/NamespaceTreeNode.cs
  37. 2
      ILSpy/TreeNodes/ResourceNodes/CursorResourceEntryNode.cs
  38. 2
      ILSpy/TreeNodes/ResourceNodes/IconResourceEntryNode.cs
  39. 2
      ILSpy/TreeNodes/ResourceNodes/ImageListResourceEntryNode.cs
  40. 2
      ILSpy/TreeNodes/ResourceNodes/ImageResourceEntryNode.cs
  41. 2
      ILSpy/TreeNodes/ResourceNodes/ResourceEntryNode.cs
  42. 2
      ILSpy/TreeNodes/ResourceNodes/ResourceTreeNode.cs
  43. 2
      ILSpy/TreeNodes/ResourceNodes/ResourcesFileTreeNode.cs
  44. 8
      ILSpy/TreeNodes/ResourceNodes/XmlResourceNode.cs

2
ILSpy/Analyzers/AnalyzeCommand.cs

@ -25,7 +25,7 @@ using ICSharpCode.ILSpy.TreeNodes; @@ -25,7 +25,7 @@ using ICSharpCode.ILSpy.TreeNodes;
namespace ICSharpCode.ILSpy.Analyzers
{
[ExportContextMenuEntry(Header = nameof(Resources.Analyze), Icon = "images/Search", Category = nameof(Resources.Analyze), InputGestureText = "Ctrl+R", Order = 100)]
[ExportContextMenuEntry(Header = nameof(Resources.Analyze), Icon = "Images/Search", Category = nameof(Resources.Analyze), InputGestureText = "Ctrl+R", Order = 100)]
internal sealed class AnalyzeCommand : SimpleCommand, IContextMenuEntry
{
public bool IsVisible(TextViewContext context)

2
ILSpy/Commands/OpenFromGacCommand.cs

@ -19,7 +19,7 @@ @@ -19,7 +19,7 @@
using ICSharpCode.ILSpy.Properties;
namespace ICSharpCode.ILSpy
{
[ExportMainMenuCommand(Menu = nameof(Resources._File), Header = nameof(Resources.OpenFrom_GAC), MenuIcon = "Images/AssemblyListGAC.png", MenuCategory = nameof(Resources.Open), MenuOrder = 1)]
[ExportMainMenuCommand(Menu = nameof(Resources._File), Header = nameof(Resources.OpenFrom_GAC), MenuIcon = "Images/AssemblyListGAC", MenuCategory = nameof(Resources.Open), MenuOrder = 1)]
sealed class OpenFromGacCommand : SimpleCommand
{
public override void Execute(object parameter)

2
ILSpy/Commands/OpenListCommand.cs

@ -21,7 +21,7 @@ using ICSharpCode.ILSpy.Properties; @@ -21,7 +21,7 @@ using ICSharpCode.ILSpy.Properties;
namespace ICSharpCode.ILSpy
{
[ExportMainMenuCommand(Menu = nameof(Resources._File), Header = nameof(Resources.Open_List), MenuIcon = "Images/AssemblyList.png", MenuCategory = nameof(Resources.Open), MenuOrder = 1.7)]
[ExportMainMenuCommand(Menu = nameof(Resources._File), Header = nameof(Resources.Open_List), MenuIcon = "Images/AssemblyList", MenuCategory = nameof(Resources.Open), MenuOrder = 1.7)]
sealed class OpenListCommand : SimpleCommand
{
public override void Execute(object parameter)

2
ILSpy/Commands/SaveCodeContextMenuEntry.cs

@ -29,7 +29,7 @@ using Microsoft.Win32; @@ -29,7 +29,7 @@ using Microsoft.Win32;
namespace ICSharpCode.ILSpy.TextView
{
[ExportContextMenuEntry(Header = nameof(Resources._SaveCode), Category = nameof(Resources.Save), Icon = "Images/SaveFile.png")]
[ExportContextMenuEntry(Header = nameof(Resources._SaveCode), Category = nameof(Resources.Save), Icon = "Images/Save")]
sealed class SaveCodeContextMenuEntry : IContextMenuEntry
{
public void Execute(TextViewContext context)

2
ILSpy/Commands/SaveCommand.cs

@ -21,7 +21,7 @@ using ICSharpCode.ILSpy.Properties; @@ -21,7 +21,7 @@ using ICSharpCode.ILSpy.Properties;
namespace ICSharpCode.ILSpy
{
[ExportMainMenuCommand(Menu = nameof(Resources._File), Header = nameof(Resources._SaveCode), MenuIcon = "Images/SaveFile.png", MenuCategory = nameof(Resources.Save), MenuOrder = 0)]
[ExportMainMenuCommand(Menu = nameof(Resources._File), Header = nameof(Resources._SaveCode), MenuIcon = "Images/Save", MenuCategory = nameof(Resources.Save), MenuOrder = 0)]
sealed class SaveCommand : CommandWrapper
{
public SaveCommand()

16
ILSpy/ContextMenuEntry.cs

@ -20,7 +20,7 @@ using System; @@ -20,7 +20,7 @@ using System;
using System.ComponentModel.Composition;
using System.Linq;
using System.Windows.Controls;
using System.Windows.Media;
using ICSharpCode.AvalonEdit;
using ICSharpCode.ILSpy.TextView;
using ICSharpCode.TreeView;
@ -222,11 +222,15 @@ namespace ICSharpCode.ILSpy @@ -222,11 +222,15 @@ namespace ICSharpCode.ILSpy
menuItem.Header = MainWindow.GetResourceString( entryPair.Metadata.Header);
menuItem.InputGestureText = entryPair.Metadata.InputGestureText;
if (!string.IsNullOrEmpty(entryPair.Metadata.Icon)) {
menuItem.Icon = new Image {
Width = 16,
Height = 16,
Source = Images.LoadImage(entry, entryPair.Metadata.Icon)
};
object image = Images.Load(entryPair.Value, entryPair.Metadata.Icon);
if (!(image is Viewbox)) {
image = new Image {
Width = 16,
Height = 16,
Source = (ImageSource)image
};
}
menuItem.Icon = image;
}
if (entryPair.Value.IsEnabled(context)) {
menuItem.Click += delegate { entry.Execute(context); };

79
ILSpy/ILSpy.csproj

@ -312,19 +312,41 @@ @@ -312,19 +312,41 @@
<Page Include="Controls\SearchBoxStyle.xaml" />
<Page Include="CreateListDialog.xaml" />
<Page Include="DebugSteps.xaml" />
<Page Include="Images\Assembly.xaml" />
<Page Include="Images\AssemblyList.xaml" />
<Page Include="Images\AssemblyListGAC.xaml" />
<Page Include="Images\AssemblyWarning.xaml" />
<Page Include="Images\Back.xaml" />
<Page Include="Images\Class.xaml" />
<Page Include="Images\CollapseAll.xaml" />
<Page Include="Images\Delegate.xaml" />
<Page Include="Images\Enum.xaml" />
<Page Include="Images\EnumValue.xaml" />
<Page Include="Images\Event.xaml" />
<Page Include="Images\ExtensionMethod.xaml" />
<Page Include="Images\Field.xaml" />
<Page Include="Images\Folder.Closed.xaml" />
<Page Include="Images\Folder.Open.xaml" />
<Page Include="Images\Forward.xaml" />
<Page Include="Images\Indexer.xaml" />
<Page Include="Images\Interface.xaml" />
<Page Include="Images\Library.xaml" />
<Page Include="Images\Literal.xaml" />
<Page Include="Images\Method.xaml" />
<Page Include="Images\Namespace.xaml" />
<Page Include="Images\Open.xaml" />
<Page Include="Images\Operator.xaml" />
<Page Include="Images\OverlayInternal.xaml" />
<Page Include="Images\OverlayPrivate.xaml" />
<Page Include="Images\OverlayProtected.xaml" />
<Page Include="Images\OverlayStatic.xaml" />
<Page Include="Images\Property.xaml" />
<Page Include="Images\Refresh.xaml" />
<Page Include="Images\Resource.xaml" />
<Page Include="Images\ResourceImage.xaml" />
<Page Include="Images\ResourceXml.xaml" />
<Page Include="Images\ResourceXslt.xaml" />
<Page Include="Images\Save.xaml" />
<Page Include="Images\Search.xaml" />
<Page Include="Images\Sort.xaml" />
<Page Include="Images\Struct.xaml" />
@ -412,6 +434,12 @@ @@ -412,6 +434,12 @@
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\AssemblyList.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\AssemblyListGAC.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\Back.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
@ -432,18 +460,51 @@ @@ -432,18 +460,51 @@
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\EnumValue.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\Event.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\ExtensionMethod.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\Field.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\Folder.Closed.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\Folder.Open.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\Forward.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\Indexer.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\Interface.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\Library.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\Literal.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\Method.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\Open.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\Operator.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\OverlayInternal.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
@ -460,10 +521,28 @@ @@ -460,10 +521,28 @@
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\Property.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\Refresh.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\Resource.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\ResourceImage.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\ResourceXml.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\ResourceXslt.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\Save.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Update="Images\Search.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>

11
ILSpy/Images/Assembly.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="F1M8.0001,3.0004L8.0001,6.0004 6.0001,6.0004 6.0001,4.0004 9.99999999997669E-05,4.0004 9.99999999997669E-05,10.9994 6.0001,10.9994 6.0001,8.9994 8.0001,8.9994 8.0001,12.0004 16.0001,12.0004 16.0001,3.0004z" />
<GeometryDrawing Brush="#FF414141" Geometry="F1M1,10L5,10 5,5 1,5z" />
<GeometryDrawing Brush="#FF414141" Geometry="F1M9,11L15,11 15,4 9,4z" />
<GeometryDrawing Brush="#FF414141" Geometry="F1M6,8L8,8 8,7 6,7z" />
</DrawingGroup.Children>
</DrawingGroup>

20
ILSpy/Images/AssemblyList.xaml

@ -0,0 +1,20 @@ @@ -0,0 +1,20 @@
<!-- This file was generated by the AiToXaml tool.-->
<!-- Tool Version: 14.0.22307.0 -->
<Viewbox Width="16" Height="16" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<Rectangle Width="16" Height="16">
<Rectangle.Fill>
<DrawingBrush>
<DrawingBrush.Drawing>
<DrawingGroup>
<DrawingGroup.Children>
<GeometryDrawing Brush="#00FFFFFF" Geometry="F1M16,16L0,16 0,0 16,0z" />
<GeometryDrawing Brush="#FFF6F6F6" Geometry="F1M2.0187,-0.000199999999999534L2.0187,2.0188 -0.000300000000000189,2.0188 -0.000300000000000189,5.9998 2.0187,5.9998 2.0187,6.9998 -0.000300000000000189,6.9998 -0.000300000000000189,13.9998 6.0007,13.9998 6.0007,12.0008 7.9997,12.0008 7.9997,14.9998 15.9997,14.9998 15.9997,5.9998 7.9997,5.9998 7.9997,8.9998 6.0007,8.9998 6.0007,5.9998 7.9997,5.9998 7.9997,2.0188 6.0007,2.0188 6.0007,-0.000199999999999534z" />
<GeometryDrawing Brush="#FF424242" Geometry="F1M8,10L6,10 6,11 8,11z M5,8L1,8 1,13 5,13z M15,14L9,14 9,7 15,7z" />
<GeometryDrawing Brush="#FF388A34" Geometry="F1M7,3.0181L5,3.0181 5,1.0001 3.019,1.0001 3.019,3.0181 1,3.0181 1,5.0001 3.019,5.0001 3.019,7.0001 5,7.0001 5,5.0001 7,5.0001z" />
</DrawingGroup.Children>
</DrawingGroup>
</DrawingBrush.Drawing>
</DrawingBrush>
</Rectangle.Fill>
</Rectangle>
</Viewbox>

20
ILSpy/Images/AssemblyListGAC.xaml

@ -0,0 +1,20 @@ @@ -0,0 +1,20 @@
<!-- This file was generated by the AiToXaml tool.-->
<!-- Tool Version: 14.0.22307.0 -->
<Viewbox Width="16" Height="16" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<Rectangle Width="16" Height="16">
<Rectangle.Fill>
<DrawingBrush>
<DrawingBrush.Drawing>
<DrawingGroup>
<DrawingGroup.Children>
<GeometryDrawing Brush="#00FFFFFF" Geometry="F1M16,16L0,16 0,0 16,0z" />
<GeometryDrawing Brush="#FFF6F6F6" Geometry="F1M2.0187,-0.000199999999999534L2.0187,2.0188 -0.000300000000000189,2.0188 -0.000300000000000189,5.9998 2.0187,5.9998 2.0187,6.9998 -0.000300000000000189,6.9998 -0.000300000000000189,13.9998 6.0007,13.9998 6.0007,12.0008 7.9997,12.0008 7.9997,14.9998 15.9997,14.9998 15.9997,5.9998 7.9997,5.9998 7.9997,8.9998 6.0007,8.9998 6.0007,5.9998 7.9997,5.9998 7.9997,2.0188 6.0007,2.0188 6.0007,-0.000199999999999534z" />
<GeometryDrawing Brush="#FF424242" Geometry="F1M8,10L6,10 6,11 8,11z M5,8L1,8 1,13 5,13z M15,14L9,14 9,7 15,7z" />
<GeometryDrawing Brush="#FF388A34" Geometry="F1M7,3.0181L5,3.0181 5,1.0001 3.019,1.0001 3.019,3.0181 1,3.0181 1,5.0001 3.019,5.0001 3.019,7.0001 5,7.0001 5,5.0001 7,5.0001z" />
</DrawingGroup.Children>
</DrawingGroup>
</DrawingBrush.Drawing>
</DrawingBrush>
</Rectangle.Fill>
</Rectangle>
</Viewbox>

11
ILSpy/Images/AssemblyWarning.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="F1M8.0001,1.9996L8.0001,5.0006 6.0001,5.0006 6.0001,3.0006 9.99999999997669E-05,3.0006 9.99999999997669E-05,9.9996 6.0001,9.9996 6.0001,7.9996 8.0001,7.9996 8.0001,10.9996 8.4991,10.9996 7.0001,14.0006 8.0001,15.9996 15.0001,15.9996 16.0001,14.0006 14.5001,10.9996 16.0001,10.9996 16.0001,1.9996z" />
<GeometryDrawing Brush="#FF414141" Geometry="F1M12.5,7L14,10 15,10 15,3 9,3 9,10 10.5,7z M8,6L6,6 6,7 8,7z M5,9L1,9 1,4 5,4z" />
<GeometryDrawing Brush="#FFFFCC00" Geometry="F1M12,12L11,12 11,10 12,10z M12,14L11,14 11,13 12,13z M11.891,8.016L11.109,8.016 8.094,14.016 8.609,15 14.375,15 14.859,14z" />
<GeometryDrawing Brush="#FF000000" Geometry="F1M11,12L12,12 12,9.999 11,9.999z M11,14L12,14 12,13 11,13z" />
</DrawingGroup.Children>
</DrawingGroup>

10
ILSpy/Images/EnumValue.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="F1M7.5852,0.999700000000001L6.0002,2.5867 6.0002,5.9997 0.000200000000000422,5.9997 0.000200000000000422,14.9997 10.0002,14.9997 10.0002,9.9997 14.4142,9.9997 16.0002,8.4147 16.0002,2.5867 14.4142,0.999700000000001z" />
<GeometryDrawing Brush="#FFEFEFF0" Geometry="F1M7,11L3,11 3,10 7,10z M2,13L8,13 8,8 2,8z M13,5L9,5 9,4 13,4z M8,3L8,6 9,6 10,6 13,6 13,7 10,7 10,8 14,8 14,6 14,3z" />
<GeometryDrawing Brush="#FF00529C" Geometry="F1M8,8L2,8 2,13 8,13z M9,14L1,14 1,7 9,7z M7,10L3,10 3,11 7,11z M14,2L8,2 7,3 7,6 8,6 8,3 14,3 14,6 14,8 10,8 10,9 14,9 15,8 15,3z M9,5L13,5 13,4 9,4z M10,6L13,6 13,7 10,7z" />
</DrawingGroup.Children>
</DrawingGroup>

9
ILSpy/Images/Event.xaml

@ -0,0 +1,9 @@ @@ -0,0 +1,9 @@
<!-- 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="F1M6.3819,-0.000199999999999534L1.9999,8.7638 1.9999,9.9998 5.3709,9.9998 2.9999,14.7648 2.9999,15.9998 5.4149,15.9998 13.9999,7.4138 13.9999,5.9998 9.4139,5.9998 13.9999,1.4138 13.9999,-0.000199999999999534z" />
<GeometryDrawing Brush="#FFC17C1A" Geometry="F1M7,7L13,7 5,15 4,15 6.985,9 3,9 7,1 13,1z" />
</DrawingGroup.Children>
</DrawingGroup>

11
ILSpy/Images/ExtensionMethod.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="F1M0.1674,2.8564L0.1674,8.4254 5.2914,11.6534 9.7554,8.3804 9.7554,2.8684 5.0504,0.386400000000001z M9.9994,5.0004L9.9994,9.5254 9.5304,9.0554 8.0004,10.5854 8.0004,12.4744 11.5254,16.0004 12.4744,16.0004 16.0004,12.4744 16.0004,10.5854 14.4694,9.0554 14.0004,9.5254 14.0004,5.0004z" />
<GeometryDrawing Brush="#FFEFEFF0" Geometry="F1M8.1904,4.4258L5.6144,5.9918 5.6144,9.4548 8.1904,7.5988z M4.9954,9.5438L4.9954,5.9708 1.7864,4.1778 1.7864,7.4968 4.9534,9.5618 4.9534,9.5768 4.9614,9.5698 4.9704,9.5768 4.9704,9.5618z M4.9954,2.1878L8.0654,3.7008 5.2014,5.4198 2.1064,3.6548z" />
<GeometryDrawing Brush="#FF642D90" Geometry="F1M8.1904,7.5986L5.6144,9.4546 5.6144,5.9926 8.1904,4.4256z M4.9704,9.5616L4.9704,9.5776 4.9614,9.5696 4.9534,9.5776 4.9534,9.5616 1.7864,7.4966 1.7864,4.1776 4.9954,5.9706 4.9954,9.5436z M4.9954,2.1876L8.0654,3.7016 5.2014,5.4196 2.1064,3.6546z M8.7544,7.8736L8.7544,3.4706 5.0414,1.5116 1.1674,3.4706 1.1674,7.8736 5.2484,10.4446z" />
<GeometryDrawing Brush="#FF424242" Geometry="F1M11,7L13,7 13,6 11,6z M11,9L13,9 13,8 11,8z M11,10L11,11.939 9.53,10.469 8.47,11.531 12,15.06 15.53,11.531 14.469,10.469 13,11.939 13,10z" />
</DrawingGroup.Children>
</DrawingGroup>

10
ILSpy/Images/Field.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="F1M9,-0.000199999999999534L0,4.4998 0,10.7358 7,14.2358 16,9.7358 16,3.4998z" />
<GeometryDrawing Brush="#FF00529C" Geometry="F1M7,6.8818L3.236,4.9998 9,2.1178 12.764,3.9998z M9,0.9998L1,4.9998 1,9.9998 7,12.9998 15,8.9998 15,3.9998z" />
<GeometryDrawing Brush="#FFEFEFF0" Geometry="F1M9,2.1182L12.764,4.0002 7,6.8822 3.236,5.0002z" />
</DrawingGroup.Children>
</DrawingGroup>

10
ILSpy/Images/Folder.Closed.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="F1M0,0L16,0 16,16 0,16z" />
<GeometryDrawing Brush="#FFF6F6F6" Geometry="F1M1.5,1L9.61,1 10.61,3 13.496,3C14.323,3,14.996,3.673,14.996,4.5L14.996,12.5C14.996,13.327,14.323,14,13.496,14L1.5,14C0.673,14,0,13.327,0,12.5L0,2.5C0,1.673,0.673,1,1.5,1" />
<GeometryDrawing Brush="#FFDCB67A" Geometry="F1M2,3L8.374,3 8.874,4 2,4z M13.496,4L10,4 9.992,4 8.992,2 1.5,2C1.225,2,1,2.224,1,2.5L1,12.5C1,12.776,1.225,13,1.5,13L13.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="#FFEFEFF0" Geometry="F1M2,3L8.374,3 8.874,4 2,4z" />
</DrawingGroup.Children>
</DrawingGroup>

9
ILSpy/Images/Folder.Open.xaml

@ -0,0 +1,9 @@ @@ -0,0 +1,9 @@
<!-- 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="F1M0,2.9688L0,11.9688C0,12.5858 0.227,13.0718 0.57,13.4038 1.14,13.9478 2,13.9688 2,13.9688L13.677,13.9688 16,8.1648 16,6.9688 15,6.9688 15,4.9688C15,3.6698,13.97,2.9688,13,2.9688L10.116,2.9688 9.116,0.9688 2,0.9688C1.005,0.9688,0,1.6658,0,2.9688" />
<GeometryDrawing Brush="#FFDCB67A" Geometry="F1M1,3L1,12C1,12.97,1.94,12.984,1.997,12.984L2,12.984 2,3 8,3 9,5 13,5 13,8 4,8 2,13 13,13 15,8 14,8 14,5C14,4,12.764,4,13,4L9.5,4 8.5,2 2,2C2,2,1,2,1,3" />
</DrawingGroup.Children>
</DrawingGroup>

46
ILSpy/Images/Images.cs

@ -63,8 +63,8 @@ namespace ICSharpCode.ILSpy @@ -63,8 +63,8 @@ namespace ICSharpCode.ILSpy
public static readonly object AssemblyWarning = Load("AssemblyWarning");
public static readonly object AssemblyLoading = Load("FindAssembly");
public static readonly BitmapImage Library = LoadBitmap("Library");
public static readonly BitmapImage Namespace = LoadBitmap("NameSpace");
public static readonly object Library = Load("Library");
public static readonly object Namespace = Load("Namespace");
public static readonly BitmapImage ReferenceFolderOpen = LoadBitmap("ReferenceFolder.Open");
public static readonly BitmapImage ReferenceFolderClosed = LoadBitmap("ReferenceFolder.Closed");
@ -72,40 +72,40 @@ namespace ICSharpCode.ILSpy @@ -72,40 +72,40 @@ namespace ICSharpCode.ILSpy
public static readonly BitmapImage SubTypes = LoadBitmap("SubTypes");
public static readonly BitmapImage SuperTypes = LoadBitmap("SuperTypes");
public static readonly BitmapImage FolderOpen = LoadBitmap("Folder.Open");
public static readonly BitmapImage FolderClosed = LoadBitmap("Folder.Closed");
public static readonly object FolderOpen = Load("Folder.Open");
public static readonly object FolderClosed = Load("Folder.Closed");
public static readonly BitmapImage Resource = LoadBitmap("Resource");
public static readonly BitmapImage ResourceImage = LoadBitmap("ResourceImage");
public static readonly object Resource = Load("Resource");
public static readonly object ResourceImage = Load("ResourceImage");
public static readonly BitmapImage ResourceResourcesFile = LoadBitmap("ResourceResourcesFile");
public static readonly BitmapImage ResourceXml = LoadBitmap("ResourceXml");
public static readonly BitmapImage ResourceXsd = LoadBitmap("ResourceXsd");
public static readonly BitmapImage ResourceXslt = LoadBitmap("ResourceXslt");
public static readonly object ResourceXml = Load("ResourceXml");
public static readonly object ResourceXsd = Load("ResourceXslt");
public static readonly object ResourceXslt = Load("ResourceXslt");
public static readonly object Class = Load("Class");
public static readonly object Struct = Load("Struct");
public static readonly object Interface = Load("Interface");
public static readonly object Delegate = Load("Delegate");
public static readonly object Enum = Load("Enum");
public static readonly BitmapImage StaticClass = LoadBitmap("StaticClass");
public static readonly object StaticClass = Load("StaticClass");
public static readonly BitmapImage Field = LoadBitmap("Field");
public static readonly BitmapImage FieldReadOnly = LoadBitmap("FieldReadOnly");
public static readonly BitmapImage Literal = LoadBitmap("Literal");
public static readonly BitmapImage EnumValue = LoadBitmap("EnumValue");
public static readonly object Field = Load("Field");
public static readonly object FieldReadOnly = Load("Field");
public static readonly object Literal = Load("Literal");
public static readonly object EnumValue = Load("EnumValue");
public static readonly BitmapImage Method = LoadBitmap("Method");
public static readonly BitmapImage Constructor = LoadBitmap("Constructor");
public static readonly BitmapImage VirtualMethod = LoadBitmap("VirtualMethod");
public static readonly BitmapImage Operator = LoadBitmap("Operator");
public static readonly BitmapImage ExtensionMethod = LoadBitmap("ExtensionMethod");
public static readonly BitmapImage PInvokeMethod = LoadBitmap("PInvokeMethod");
public static readonly object Method = Load("Method");
public static readonly object Constructor = Load("Method");
public static readonly object VirtualMethod = Load("Method");
public static readonly object Operator = Load("Operator");
public static readonly object ExtensionMethod = Load("ExtensionMethod");
public static readonly object PInvokeMethod = Load("Method");
public static readonly BitmapImage Property = LoadBitmap("Property");
public static readonly BitmapImage Indexer = LoadBitmap("Indexer");
public static readonly object Property = Load("Property");
public static readonly object Indexer = Load("Indexer");
public static readonly BitmapImage Event = LoadBitmap("Event");
public static readonly object Event = Load("Event");
private static readonly object OverlayProtected = Load("OverlayProtected");
private static readonly object OverlayInternal = Load("OverlayInternal");

9
ILSpy/Images/Indexer.xaml

@ -0,0 +1,9 @@ @@ -0,0 +1,9 @@
<!-- 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="F1M10.9998,0.999700000000001L10.9998,4.0007 12.9998,4.0007 12.9998,12.0007 10.9998,12.0007 10.9998,14.9997 15.9998,14.9997 15.9998,0.999700000000001z M-0.000199999999999534,0.999700000000001L-0.000199999999999534,14.9997 5.0008,14.9997 5.0008,12.0007 2.9998,12.0007 2.9998,4.0007 5.0008,4.0007 5.0008,0.999700000000001z" />
<GeometryDrawing Brush="#FF424242" Geometry="F1M15,2L12,2 12,3 14,3 14,13 12,13 12,14 15,14z M4,14L1,14 1,2 4,2 4,3 2,3 2,13 4,13z" />
</DrawingGroup.Children>
</DrawingGroup>

12
ILSpy/Images/Library.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="F1M16,16L0,16 0,0 16,0z" />
<GeometryDrawing Brush="#FFF6F6F6" Geometry="F1M5.0004,0.999700000000001L5.0004,1.9997 0.000399999999999956,1.9997 0.000399999999999956,14.9997 16.0004,14.9997 16.0004,1.9997 10.9994,1.9997 10.9994,0.999700000000001z" />
<GeometryDrawing Brush="#FF414141" Geometry="F1M14,6L12,6 12,4 14,4z M14,11L12,11 12,10 14,10z M14,13L12,13 12,12 14,12z M11,14L15,14 15,3 11,3z" />
<GeometryDrawing Brush="#FF414141" Geometry="F1M7,12L9,12 9,13 7,13z M7,10L9,10 9,11 7,11z M7,3L9,3 9,4 7,4z M6,14L10,14 10,2 6,2z" />
<GeometryDrawing Brush="#FF414141" Geometry="F1M2,12L4,12 4,13 2,13z M2,10L4,10 4,11 2,11z M2,4L4,4 4,6 2,6z M1,14L5,14 5,3 1,3z" />
<GeometryDrawing Brush="#FFF0EFF1" Geometry="F1M4,4L2,4 2,6 4,6z M4,10L2,10 2,11 4,11z M4,12L2,12 2,13 4,13z M9,3L7,3 7,4 9,4z M9,10L7,10 7,11 9,11z M9,12L7,12 7,13 9,13z M14,4L12,4 12,6 14,6z M14,10L12,10 12,11 14,11z M14,13L12,13 12,12 14,12z" />
</DrawingGroup.Children>
</DrawingGroup>

11
ILSpy/Images/Literal.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="F1M0.9999,-0.000199999999999534L0.9999,5.9998 -9.9999999999989E-05,5.9998 -9.9999999999989E-05,15.9998 8.9999,15.9998 8.9999,13.9998 15.9999,13.9998 15.9999,-0.000199999999999534z" />
<GeometryDrawing Brush="#FF414141" Geometry="F1M14,12L8,12 8,7 3,7 3,2 14,2z M7,14L2,14 2,8 7,8z M2,1L2,7 1,7 1,15 8,15 8,13 15,13 15,1z" />
<GeometryDrawing Brush="#FF414141" Geometry="F1M4.6016,12.2578C4.5126,12.3248 4.3886,12.3298 4.2646,12.3298 4.1746,12.3298 4.0946,12.3168 4.0226,12.2888 3.9496,12.2618 3.8876,12.2248 3.8366,12.1758 3.7876,12.1288 3.7476,12.0698 3.7206,12.0038 3.6936,11.9358 3.6796,11.8628 3.6796,11.7848 3.6796,11.6988 3.6896,11.6208 3.7066,11.5528 3.7246,11.4848 3.7576,11.4258 3.8046,11.3728 3.8526,11.3198 3.9166,11.2758 3.9996,11.2398 4.0826,11.2068 4.1896,11.1798 4.3206,11.1618L5.0186,11.0528 5.0186,11.3988C5.0186,11.3988,4.9216,12.0158,4.6016,12.2578 M5.5276,9.3788C5.4156,9.2498 5.2746,9.1528 5.1036,9.0838 4.9326,9.0158 4.7296,8.9828 4.4956,8.9828 4.3756,8.9828 4.2536,8.9938 4.1266,9.0158 4.0006,9.0388 3.8786,9.0668 3.7646,9.1018 3.6516,9.1348 3.5476,9.1718 3.4556,9.2108 3.3636,9.2518 3.2926,9.2888 3.2426,9.3238L3.2426,10.0918C3.4006,9.9608 3.5826,9.8578 3.7866,9.7788 3.9906,9.7008 4.1996,9.6618 4.4136,9.6618 4.6256,9.6618 4.7896,9.7248 4.9076,9.8478 5.0236,9.9728 5.0806,10.1718 5.0806,10.4468L4.0506,10.6018C3.8466,10.6288 3.6716,10.6798 3.5256,10.7538 3.3796,10.8278 3.2606,10.9198 3.1676,11.0328 3.0746,11.1448 3.0066,11.2718 2.9626,11.4138 2.9186,11.5568 2.8976,11.7108 2.8976,11.8748 2.8976,12.0448 2.9226,12.1968 2.9716,12.3378 3.0206,12.4788 3.0926,12.5978 3.1876,12.6988 3.2806,12.7988 3.3976,12.8768 3.5386,12.9338 3.6786,12.9898 3.8366,13.0178 4.0176,13.0178 4.2476,13.0178 4.4486,12.9648 4.6216,12.8578 4.7936,12.7518 4.9406,12.5978 5.0606,12.3948L5.0066,12.4618 5.0066,12.9908 5.8596,12.9998 5.8596,10.4868C5.8596,10.2478 5.8316,10.0348 5.7766,9.8498 5.7216,9.6658 5.6376,9.5078 5.5276,9.3788" />
<GeometryDrawing Brush="#FFF0EFF1" Geometry="F1M3,2L3,7 8,7 8,12 14,12 14,2z" />
</DrawingGroup.Children>
</DrawingGroup>

10
ILSpy/Images/Method.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="F1M7.5951,-0.000199999999999534L1.0001,3.3268 1.0001,11.5818 8.0701,15.9998 8.9751,15.9998 15.0001,11.7518 15.0001,3.3488 8.7131,-0.000199999999999534z" />
<GeometryDrawing Brush="#FFEFEFF0" Geometry="F1M9,13.5361L9,7.8781 13,5.3981 13,10.7161z M3,5.1021L8,7.8941 8,13.5981 3,10.4731z M12.715,4.3981L8.487,7.0201 3.565,4.2721 8.144,1.9631z" />
<GeometryDrawing Brush="#FF642D90" Geometry="F1M1.9998,3.9427L1.9998,11.0277 8.5168,15.0997 14.0008,11.2337 14.0008,3.9497 8.1558,0.8367z M3.5658,4.2717L8.1428,1.9627 12.7148,4.3977 8.4868,7.0197z M2.9998,10.4727L2.9998,5.1017 7.9998,7.8937 7.9998,13.5977z M8.9998,7.8787L12.9998,5.3977 12.9998,10.7157 8.9998,13.5357z" />
</DrawingGroup.Children>
</DrawingGroup>

9
ILSpy/Images/Namespace.xaml

@ -0,0 +1,9 @@ @@ -0,0 +1,9 @@
<!-- 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="F1M5.7388,15.0156C2.6498,14.9806,2.3168,12.8516,2.3168,11.9376L2.3168,9.9206C2.3168,9.5936,2.2498,9.4896,2.2498,9.4886L1.3128,9.4286 1.2498,8.4986 1.2498,6.5626C1.2498,6.5626 2.1898,6.5036 2.1918,6.5036 2.2498,6.5036 2.3168,6.3896 2.3168,6.0516L2.3168,4.0896C2.3168,2.1406,3.5638,1.0086,5.7388,0.984599999999999L6.7498,0.973599999999999 6.7498,4.0196 5.7748,4.0436C5.7298,4.0446 5.6998,4.0486 5.6818,4.0526 5.6878,4.0746 5.6628,4.1676 5.6628,4.3496L5.6628,6.2776C5.6628,6.9526 5.4778,7.5306 5.1298,7.9816 5.4778,8.4316 5.6628,9.0096 5.6628,9.6886L5.6628,11.5956C5.6628,11.7706 5.6768,11.8866 5.6898,11.9586 5.7128,11.9606 6.7498,11.9846 6.7498,11.9846L6.7498,15.0276z M9.2598,11.9846L10.2378,11.9626C10.2738,11.9616 10.3038,11.9596 10.3268,11.9566 10.3378,11.8936 10.3538,11.7786 10.3538,11.5956L10.3538,9.6886C10.3538,9.0096 10.5378,8.4316 10.8838,7.9816 10.5378,7.5306 10.3538,6.9526 10.3538,6.2776L10.3538,4.3496C10.3538,4.1826 10.3328,4.0906 10.3198,4.0476 10.3178,4.0476 9.2598,4.0196 9.2598,4.0196L9.2598,0.973599999999999 10.2708,0.984599999999999C12.4378,1.0086,13.6798,2.1406,13.6798,4.0896L13.6798,6.0516C13.6798,6.4026,13.7508,6.5136,13.7518,6.5146L14.6878,6.5746 14.7398,7.5006 14.7398,9.4366 13.8048,9.4966C13.7288,9.5126,13.6798,9.6436,13.6798,9.9206L13.6798,11.9376C13.6798,12.8516,13.3478,14.9806,10.2718,15.0156L9.2598,15.0276z" />
<GeometryDrawing Brush="#FF424242" Geometry="F1M13.7397,8.499C13.0337,8.544,12.6797,9.019,12.6797,9.921L12.6797,11.937C12.6797,13.305,11.8737,13.997,10.2607,14.016L10.2607,12.963C10.6567,12.954 10.9377,12.845 11.1037,12.635 11.2707,12.425 11.3537,12.079 11.3537,11.596L11.3537,9.688C11.3537,8.763,11.8027,8.201,12.7007,8L12.7007,7.979C11.8027,7.765,11.3537,7.198,11.3537,6.277L11.3537,4.35C11.3537,3.498,10.9897,3.062,10.2607,3.044L10.2607,1.984C11.8737,2.002,12.6797,2.705,12.6797,4.09L12.6797,6.052C12.6797,6.972,13.0337,7.456,13.7397,7.501z M5.7497,14.016C4.1277,13.997,3.3167,13.305,3.3167,11.937L3.3167,9.921C3.3167,9.019,2.9607,8.544,2.2497,8.499L2.2497,7.501C2.9607,7.456,3.3167,6.972,3.3167,6.052L3.3167,4.09C3.3167,2.705,4.1277,2.002,5.7497,1.984L5.7497,3.044C5.0257,3.062,4.6627,3.498,4.6627,4.35L4.6627,6.277C4.6627,7.198,4.2097,7.765,3.3027,7.979L3.3027,8C4.2097,8.201,4.6627,8.763,4.6627,9.688L4.6627,11.596C4.6627,12.083 4.7437,12.431 4.9057,12.638 5.0677,12.846 5.3487,12.954 5.7497,12.963z" />
</DrawingGroup.Children>
</DrawingGroup>

20
ILSpy/Images/OK.xaml

@ -0,0 +1,20 @@ @@ -0,0 +1,20 @@
<!-- This file was generated by the AiToXaml tool.-->
<!-- Tool Version: 14.0.22307.0 -->
<Viewbox Width="16" Height="16" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<Rectangle Width="16" Height="16">
<Rectangle.Fill>
<DrawingBrush>
<DrawingBrush.Drawing>
<DrawingGroup>
<DrawingGroup.Children>
<GeometryDrawing Brush="#00FFFFFF" Geometry="F1M16,16L0,16 0,0 16,0z" />
<GeometryDrawing Brush="#FFF6F6F6" Geometry="F1M8,16C3.589,16 0,12.411 0,8 0,3.589 3.589,0 8,0 12.411,0 16,3.589 16,8 16,12.411 12.411,16 8,16" />
<GeometryDrawing Brush="#FF329932" Geometry="F1M6.2998,12.3887L3.0428,9.1317 4.4568,7.7177 6.2998,9.5607 11.5428,4.3177 12.9568,5.7317z M7.9998,0.999700000000001C4.1338,0.999700000000001 0.9998,4.1337 0.9998,7.9997 0.9998,11.8657 4.1338,14.9997 7.9998,14.9997 11.8658,14.9997 14.9998,11.8657 14.9998,7.9997 14.9998,4.1337 11.8658,0.999700000000001 7.9998,0.999700000000001" />
<GeometryDrawing Brush="#FFFFFFFF" Geometry="F1M6.2998,12.3887L3.0428,9.1317 4.4568,7.7177 6.2998,9.5607 11.5428,4.3177 12.9568,5.7317z" />
</DrawingGroup.Children>
</DrawingGroup>
</DrawingBrush.Drawing>
</DrawingBrush>
</Rectangle.Fill>
</Rectangle>
</Viewbox>

10
ILSpy/Images/Operator.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="F1M0,16L16,16 16,0 0,0z" />
<GeometryDrawing Brush="#FF00529C" Geometry="F1M14,5L9,5 9,4 14,4z M10.281,13L8.719,13 11.719,9 13.281,9z M7,5L5,5 5,7 4,7 4,5 2,5 2,4 4,4 4,2 5,2 5,4 7,4z M7,10L3,10 3,9 7,9z M7,13L3,13 3,12 7,12z M1,15L15,15 15,1 1,1z" />
<GeometryDrawing Brush="#FFEFEFF0" Geometry="F1M10.2812,13L13.2812,9 11.7182,9 8.7192,13z M7.0002,12L3.0002,12 3.0002,13 7.0002,13z M7.0002,9L3.0002,9 3.0002,10 7.0002,10z M14.0002,4L9.0002,4 9.0002,5 14.0002,5z M7.0002,5L5.0002,5 5.0002,7 4.0002,7 4.0002,5 2.0002,5 2.0002,4 4.0002,4 4.0002,2 5.0002,2 5.0002,4 7.0002,4z" />
</DrawingGroup.Children>
</DrawingGroup>

9
ILSpy/Images/Property.xaml

@ -0,0 +1,9 @@ @@ -0,0 +1,9 @@
<!-- 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,5.5C16,8.538 13.538,11 10.5,11 10.225,11 9.957,10.973 9.693,10.934 9.667,10.93 9.641,10.927 9.615,10.922 9.337,10.877 9.066,10.816 8.804,10.731L4.268,15.268C3.795,15.74 3.167,16 2.5,16 1.833,16 1.205,15.74 0.731999999999999,15.268 -0.242000000000001,14.293 -0.242000000000001,12.707 0.731999999999999,11.732L5.269,7.196C5.184,6.934 5.123,6.662 5.078,6.384 5.073,6.359 5.07,6.333 5.066,6.307 5.027,6.043 5,5.775 5,5.5 5,2.462 7.462,0 10.5,0 13.538,0 16,2.462 16,5.5" />
<GeometryDrawing Brush="#FF424242" Geometry="F1M15,5.5C15,7.985 12.985,10 10.5,10 9.807,10 9.158,9.83 8.571,9.55L3.561,14.561C3.268,14.854 2.884,15 2.5,15 2.116,15 1.732,14.854 1.439,14.561 0.853999999999999,13.975 0.853999999999999,13.025 1.439,12.439L6.45,7.429C6.17,6.842 6,6.193 6,5.5 6,3.015 8.015,1 10.5,1 11.193,1 11.842,1.17 12.429,1.45L9.636,4.243 11.757,6.364 14.55,3.571C14.83,4.158,15,4.807,15,5.5" />
</DrawingGroup.Children>
</DrawingGroup>

23
ILSpy/Images/Resource.xaml

@ -0,0 +1,23 @@ @@ -0,0 +1,23 @@
<!-- 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="F1M12.9824,0L7.9414,0C7.0014,0,6.0004,0.701,6.0004,2L2.9414,2C2.0014,2,1.0004,2.701,1.0004,4L1.0004,7 0.000400000000000844,7 0.000400000000000844,16 7.9764,16 8.9684,16 12.9414,16C14.3674,16,14.9524,14.839,15.0004,14L15.0004,8.875 16.0004,8.875 16.0004,2.688z" />
<GeometryDrawing Brush="#FF424242" Geometry="F1M5.75,11C6.164,11 6.5,10.664 6.5,10.25 6.5,9.836 6.164,9.5 5.75,9.5 5.336,9.5 5,9.836 5,10.25 5,10.664 5.336,11 5.75,11" />
<GeometryDrawing Brush="#FF424242" Geometry="F1M7,13.5L3.5,11 2,12.5 2,9 7,9z M2,14L3.5,12.5 5.5,14z M1,15L8,15 8,8 1,8z" />
<GeometryDrawing Brush="#FF424242" Geometry="F1M15.0234,3.1362L12.6254,1.0002 7.9644,1.0002C7.9644,1.0002,7.0234,1.0002,7.0234,2.0002L8.0234,2.0002 12.0234,2.0002 12.0234,4.0002 14.0234,4.0002 14.0234,5.0002 14.0234,6.0002 14.0234,7.2402 14.7784,7.8752 15.0234,7.8752z" />
<GeometryDrawing Brush="#FF424242" Geometry="F1M3.0234,7L3.0234,4 7.0234,4 7.0234,5 9.8704,5 7.6254,3 2.9644,3C2.9644,3,2.0234,3,2.0234,4L2.0234,7z" />
<GeometryDrawing Brush="#FF424242" Geometry="F1M11.625,6L6.965,6C6.965,6,6.023,6,6.023,7L7.023,7 9,7 11.023,7 11.023,9 13.023,9 13.023,10 13.023,11 13.023,14 9,14 9,15 12.965,15C13.965,15,14.023,14,14.023,14L14.023,8.137z" />
<GeometryDrawing Brush="#FFF0EFF1" Geometry="F1M2,14L5.5,14 3.5,12.5z" />
<GeometryDrawing Brush="#FFF0EFF1" Geometry="F1M5.75,11C5.336,11 5,10.664 5,10.25 5,9.836 5.336,9.5 5.75,9.5 6.164,9.5 6.5,9.836 6.5,10.25 6.5,10.664 6.164,11 5.75,11 M2,9L2,12.5 3.5,11 7,13.5 7,9z" />
<GeometryDrawing Brush="#FF424242" Geometry="F1M5.75,11C6.164,11 6.5,10.664 6.5,10.25 6.5,9.836 6.164,9.5 5.75,9.5 5.336,9.5 5,9.836 5,10.25 5,10.664 5.336,11 5.75,11">
<GeometryDrawing.Pen>
<Pen Brush="#FF414141" Thickness="0.20000007748603821" DashCap="Flat" />
</GeometryDrawing.Pen>
</GeometryDrawing>
<GeometryDrawing Brush="#FFEFEEF0" Geometry="F1M8,2L11.936,2 11.936,3.96 14,3.996 14,7.221 8.023,2" />
<GeometryDrawing Brush="#FFEFEEF0" Geometry="F1M5,7C5,5.73,5.986,5.036,6.936,5.006L6.936,4 3,4 3,7z" />
<GeometryDrawing Brush="#FFEFEEF0" Geometry="F1M10.9355,8.96L10.9355,7 8.9995,7 8.9995,14 12.9995,14 12.9995,8.996z" />
</DrawingGroup.Children>
</DrawingGroup>

13
ILSpy/Images/ResourceImage.xaml

@ -0,0 +1,13 @@ @@ -0,0 +1,13 @@
<!-- 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="F1M0,15L16,15 16,0 0,0z" />
<GeometryDrawing Brush="#FF424242" Geometry="F1M1,1L1,10 2,9.073 2,2 14,2 14,11.098 15,12 15,1z" />
<GeometryDrawing Brush="#FF424242" Geometry="F1M1,1L1,10 2,9.073 2,2 14,2 14,11.098 15,12 15,1z" />
<GeometryDrawing Brush="#FFEFEFF0" Geometry="F1M10,4.5C10,5.328 10.672,6 11.5,6 12.328,6 13,5.328 13,4.5 13,3.672 12.328,3 11.5,3 10.672,3 10,3.672 10,4.5 M5,6.293L2,9.293 2,2 14,2 14,11.293 12,9.293 10,11.293z" />
<GeometryDrawing Brush="#FF1AA1E2" Geometry="F1M1,10L5,6.293 10,11.293 12,9.293 15,12 15,14 1,14z" />
<GeometryDrawing Brush="#FFC17C1A" Geometry="F1M11.5,3C10.672,3 10,3.672 10,4.5 10,5.328 10.672,6 11.5,6 12.328,6 13,5.328 13,4.5 13,3.672 12.328,3 11.5,3" />
</DrawingGroup.Children>
</DrawingGroup>

10
ILSpy/Images/ResourceXml.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.9648,16C2.0118,16,0.9998,15.299,0.9998,14L0.9998,2C0.9998,0.701000000000001,2.0118,0,2.9638,0L11.0228,0 14.9998,3.553 14.9998,14C14.9718,14.825,14.4068,16,12.9648,16z" />
<GeometryDrawing Brush="#FF424242" Geometry="F1M5.7334,10.6582L4.0264,8.9512 5.7334,7.2442 6.4404,7.9512 5.4404,8.9512 6.4404,9.9512z M9.0134,13.0282L7.0624,13.0282 7.0624,11.0182 9.0134,11.0182z M8.9254,9.9482L7.0214,9.9482 7.0214,4.9962 8.9254,4.9962z M10.3554,7.2932L12.0624,9.0002 10.3554,10.7072 9.6484,10.0002 10.6484,9.0002 9.6484,8.0002z M13.0004,14.0002L3.0004,14.0002 3.0004,2.0002 10.0004,2.0002 10.0004,5.0002 13.0004,5.0002z M10.6404,1.0002L2.9634,1.0002C2.9634,1.0002,2.0004,1.0002,2.0004,2.0002L2.0004,14.0002C2.0004,15.0002,2.9644,15.0002,2.9644,15.0002L12.9644,15.0002C13.9644,15.0002,14.0004,14.0002,14.0004,14.0002L14.0004,4.0002z" />
<GeometryDrawing Brush="#FFF0EFF1" Geometry="F1M10.3555,10.707L9.6485,10 10.6485,9 9.6485,8 10.3555,7.293 12.0625,9z M9.0135,13.028L7.0625,13.028 7.0625,11.018 9.0135,11.018z M7.0215,4.997L8.9255,4.997 8.9255,9.949 7.0215,9.949z M6.4405,9.951L5.7335,10.658 4.0265,8.951 5.7335,7.244 6.4405,7.951 5.4405,8.951z M10.0185,5L10.0185,2 3.0005,2 3.0005,14 13.0005,14 13.0005,5z" />
</DrawingGroup.Children>
</DrawingGroup>

10
ILSpy/Images/ResourceXslt.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="F1M3.5856,-0.000199999999999534L-0.000399999999999956,3.5868 -0.000399999999999956,4.0008 2.5856,4.0008 -0.000399999999999956,6.5858 -0.000399999999999956,14.9998 7.0006,14.9998 7.0006,12.0008 6.0006,12.0008 6.0006,10.9998 8.0006,10.9998 8.0006,8.9998 10.9996,8.9998 10.9996,6.9998 11.9996,6.9998 11.9996,8.9998 16.0006,8.9998 16.0006,4.9998 15.0006,4.9998 15.0006,4.0008 14.0006,4.0008 14.0006,-0.000199999999999534z M5.0006,6.4138L5.0006,7.9998 3.4136,7.9998z M7.0006,7.4138L7.0006,7.9998 6.4146,7.9998z" />
<GeometryDrawing Brush="#FF424242" Geometry="F1M1,14L6,14 6,13 1,13z M5,11L1,11 1,12 5,12z M1,10L7,10 7,9 1,9z M14,6L14,5 12,5 12,4 13,4 13,1 10,1 10,4 11,4 11,5 9,5 9,6 8,6 8,8 10,8 10,6 13,6 13,8 15,8 15,6z" />
<GeometryDrawing Brush="#FF00529C" Geometry="F1M5,3L2,3 4,1 8,1 8,2 8,3 8,5 6,7 6,4 3,7 1,7z" />
</DrawingGroup.Children>
</DrawingGroup>

20
ILSpy/Images/Save.xaml

@ -0,0 +1,20 @@ @@ -0,0 +1,20 @@
<!-- This file was generated by the AiToXaml tool.-->
<!-- Tool Version: 14.0.22307.0 -->
<Viewbox Width="16" Height="16" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<Rectangle Width="16" Height="16">
<Rectangle.Fill>
<DrawingBrush>
<DrawingBrush.Drawing>
<DrawingGroup>
<DrawingGroup.Children>
<GeometryDrawing Brush="#00FFFFFF" Geometry="F1M16,16L0,16 0,0 16,0z" />
<GeometryDrawing Brush="#FFF6F6F6" Geometry="F1M16,2L16,16 2.586,16 0,13.414 0,2C0,0.897,0.897,0,2,0L14,0C15.103,0,16,0.897,16,2" />
<GeometryDrawing Brush="#FFEFEFF0" Geometry="F1M4,10L4,15 6,15 6,12 8,12 8,15 12,15 12,10z M13,7L3,7 3,3 13,3z" />
<GeometryDrawing Brush="#FF00529C" Geometry="F1M13,3L3,3 3,7 13,7z M15,2L15,15 12,15 12,10 4,10 4,15 3,15 1,13 1,2C1,1.448,1.448,1,2,1L14,1C14.553,1,15,1.448,15,2 M6,12L8,12 8,15 6,15z" />
</DrawingGroup.Children>
</DrawingGroup>
</DrawingBrush.Drawing>
</DrawingBrush>
</Rectangle.Fill>
</Rectangle>
</Viewbox>

20
ILSpy/Images/ViewCode.xaml

@ -0,0 +1,20 @@ @@ -0,0 +1,20 @@
<!-- This file was generated by the AiToXaml tool.-->
<!-- Tool Version: 14.0.22307.0 -->
<Viewbox Width="16" Height="16" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<Rectangle Width="16" Height="16">
<Rectangle.Fill>
<DrawingBrush>
<DrawingBrush.Drawing>
<DrawingGroup>
<DrawingGroup.Children>
<GeometryDrawing Brush="#00FFFFFF" Geometry="F1M16,16L0,16 0,0 16,0z" />
<GeometryDrawing Brush="#FFF6F6F6" Geometry="F1M4.2327,2.3533L5.8787,4.0003 -0.000299999999999301,4.0003 -0.000299999999999301,7.0003 5.8787,7.0003 4.2327,8.6463 4.5857,8.9993 1.9997,8.9993 1.9997,12.0003 6.0007,12.0003 6.0007,15.0003 15.0007,15.0003 15.0007,12.0003 14.0007,12.0003 14.0007,8.9993 15.0007,8.9993 15.0007,6.0003 16.0007,6.0003 16.0007,3.0003 9.9997,3.0003 9.9997,3.8783 6.3527,0.232300000000001z M8.9997,8.1213L8.9997,8.9993 8.1207,8.9993z" />
<GeometryDrawing Brush="#FF424242" Geometry="F1M7,14L14,14 14,13 7,13z M13,10L3,10 3,11 13,11z M14,7L10,7 10,8 14,8z M15,5L11,5 11,4 15,4z" />
<GeometryDrawing Brush="#FF00529C" Geometry="F1M10.207,5.5L6.353,9.354 5.646,8.646 8.293,6 1,6 1,5 8.293,5 5.646,2.354 6.353,1.646z" />
</DrawingGroup.Children>
</DrawingGroup>
</DrawingBrush.Drawing>
</DrawingBrush>
</Rectangle.Fill>
</Rectangle>
</Viewbox>

3
ILSpy/TreeNodes/BaseTypesEntryNode.cs

@ -69,7 +69,8 @@ namespace ICSharpCode.ILSpy.TreeNodes @@ -69,7 +69,8 @@ namespace ICSharpCode.ILSpy.TreeNodes
public override object Text => this.Language.TypeToString(type, includeNamespace: true) + handle.ToSuffixString();
public override object Icon => isInterface ? Images.Interface : Images.Class;
public override object Icon =>
isInterface ? Images.GetIcon(Images.Interface) : Images.GetIcon(Images.Class);
protected override void LoadChildren()
{

2
ILSpy/TreeNodes/BaseTypesTreeNode.cs

@ -44,7 +44,7 @@ namespace ICSharpCode.ILSpy.TreeNodes @@ -44,7 +44,7 @@ namespace ICSharpCode.ILSpy.TreeNodes
public override object Text => "Base Types";
public override object Icon => Images.SuperTypes;
public override object Icon => Images.GetIcon(Images.SuperTypes);
protected override void LoadChildren()
{

2
ILSpy/TreeNodes/ModuleReferenceTreeNode.cs

@ -61,7 +61,7 @@ namespace ICSharpCode.ILSpy.TreeNodes @@ -61,7 +61,7 @@ namespace ICSharpCode.ILSpy.TreeNodes
get { return moduleName + ((EntityHandle)handle).ToSuffixString(); }
}
public override object Icon => Images.Library;
public override object Icon => Images.GetIcon(Images.Library);
public override void ActivateItem(System.Windows.RoutedEventArgs e)
{

2
ILSpy/TreeNodes/NamespaceTreeNode.cs

@ -45,7 +45,7 @@ namespace ICSharpCode.ILSpy.TreeNodes @@ -45,7 +45,7 @@ namespace ICSharpCode.ILSpy.TreeNodes
}
public override object Icon {
get { return Images.Namespace; }
get { return Images.GetIcon(Images.Namespace); }
}
public override FilterResult Filter(FilterSettings settings)

2
ILSpy/TreeNodes/ResourceNodes/CursorResourceEntryNode.cs

@ -61,7 +61,7 @@ namespace ICSharpCode.ILSpy.TreeNodes @@ -61,7 +61,7 @@ namespace ICSharpCode.ILSpy.TreeNodes
public override object Icon
{
get { return Images.ResourceImage; }
get { return Images.GetIcon(Images.ResourceImage); }
}
public override bool View(DecompilerTextView textView)

2
ILSpy/TreeNodes/ResourceNodes/IconResourceEntryNode.cs

@ -60,7 +60,7 @@ namespace ICSharpCode.ILSpy.TreeNodes @@ -60,7 +60,7 @@ namespace ICSharpCode.ILSpy.TreeNodes
public override object Icon
{
get { return Images.ResourceImage; }
get { return Images.GetIcon(Images.ResourceImage); }
}
public override bool View(DecompilerTextView textView)

2
ILSpy/TreeNodes/ResourceNodes/ImageListResourceEntryNode.cs

@ -60,7 +60,7 @@ namespace ICSharpCode.ILSpy.TreeNodes @@ -60,7 +60,7 @@ namespace ICSharpCode.ILSpy.TreeNodes
public override object Icon
{
get { return Images.ResourceImage; }
get { return Images.GetIcon(Images.ResourceImage); }
}
protected override void LoadChildren()

2
ILSpy/TreeNodes/ResourceNodes/ImageResourceEntryNode.cs

@ -67,7 +67,7 @@ namespace ICSharpCode.ILSpy.TreeNodes @@ -67,7 +67,7 @@ namespace ICSharpCode.ILSpy.TreeNodes
public override object Icon
{
get { return Images.ResourceImage; }
get { return Images.GetIcon(Images.ResourceImage); }
}
public override bool View(DecompilerTextView textView)

2
ILSpy/TreeNodes/ResourceNodes/ResourceEntryNode.cs

@ -39,7 +39,7 @@ namespace ICSharpCode.ILSpy.TreeNodes @@ -39,7 +39,7 @@ namespace ICSharpCode.ILSpy.TreeNodes
public override object Icon
{
get { return Images.Resource; }
get { return Images.GetIcon(Images.Resource); }
}
protected Stream Data

2
ILSpy/TreeNodes/ResourceNodes/ResourceTreeNode.cs

@ -54,7 +54,7 @@ namespace ICSharpCode.ILSpy.TreeNodes @@ -54,7 +54,7 @@ namespace ICSharpCode.ILSpy.TreeNodes
}
public override object Icon {
get { return Images.Resource; }
get { return Images.GetIcon(Images.Resource); }
}
public override FilterResult Filter(FilterSettings settings)

2
ILSpy/TreeNodes/ResourceNodes/ResourcesFileTreeNode.cs

@ -61,7 +61,7 @@ namespace ICSharpCode.ILSpy.TreeNodes @@ -61,7 +61,7 @@ namespace ICSharpCode.ILSpy.TreeNodes
}
public override object Icon {
get { return Images.ResourceResourcesFile; }
get { return Images.GetIcon(Images.ResourceResourcesFile); }
}
protected override void LoadChildren()

8
ILSpy/TreeNodes/ResourceNodes/XmlResourceNode.cs

@ -69,13 +69,13 @@ namespace ICSharpCode.ILSpy.Xaml @@ -69,13 +69,13 @@ namespace ICSharpCode.ILSpy.Xaml
{
string text = (string)Text;
if (text.EndsWith(".xml", StringComparison.OrdinalIgnoreCase))
return Images.ResourceXml;
return Images.GetIcon(Images.ResourceXml);
else if (text.EndsWith(".xsd", StringComparison.OrdinalIgnoreCase))
return Images.ResourceXsd;
return Images.GetIcon(Images.ResourceXsd);
else if (text.EndsWith(".xslt", StringComparison.OrdinalIgnoreCase))
return Images.ResourceXslt;
return Images.GetIcon(Images.ResourceXslt);
else
return Images.Resource;
return Images.GetIcon(Images.Resource);
}
}

Loading…
Cancel
Save