Browse Source

Split Baml Addin into library & addin projects

pull/3178/head
Christoph Wille 1 year ago
parent
commit
7c259a8895
  1. 2
      ICSharpCode.BamlDecompiler/Baml/BamlContext.cs
  2. 2
      ICSharpCode.BamlDecompiler/Baml/BamlDocument.cs
  3. 2
      ICSharpCode.BamlDecompiler/Baml/BamlNode.cs
  4. 2
      ICSharpCode.BamlDecompiler/Baml/BamlReader.cs
  5. 2
      ICSharpCode.BamlDecompiler/Baml/BamlRecords.cs
  6. 2
      ICSharpCode.BamlDecompiler/Baml/BamlWriter.cs
  7. 2
      ICSharpCode.BamlDecompiler/Baml/KnownMembers.cs
  8. 2
      ICSharpCode.BamlDecompiler/Baml/KnownThings.cs
  9. 2
      ICSharpCode.BamlDecompiler/Baml/KnownThings.g.cs
  10. 0
      ICSharpCode.BamlDecompiler/Baml/KnownThings.gen.cs
  11. 2
      ICSharpCode.BamlDecompiler/Baml/KnownTypes.cs
  12. 2
      ICSharpCode.BamlDecompiler/BamlConnectionId.cs
  13. 2
      ICSharpCode.BamlDecompiler/BamlDecompilationResult.cs
  14. 2
      ICSharpCode.BamlDecompiler/BamlDecompilerSettings.cs
  15. 4
      ICSharpCode.BamlDecompiler/BamlDecompilerTypeSystem.cs
  16. 4
      ICSharpCode.BamlDecompiler/BamlElement.cs
  17. 4
      ICSharpCode.BamlDecompiler/Handlers/Blocks/ConstructorParametersHandler.cs
  18. 4
      ICSharpCode.BamlDecompiler/Handlers/Blocks/DocumentHandler.cs
  19. 6
      ICSharpCode.BamlDecompiler/Handlers/Blocks/ElementHandler.cs
  20. 6
      ICSharpCode.BamlDecompiler/Handlers/Blocks/KeyElementStartHandler.cs
  21. 4
      ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyArrayHandler.cs
  22. 4
      ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyComplexHandler.cs
  23. 4
      ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyDictionaryHandler.cs
  24. 4
      ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyListHandler.cs
  25. 4
      ICSharpCode.BamlDecompiler/Handlers/Records/AssemblyInfoHandler.cs
  26. 4
      ICSharpCode.BamlDecompiler/Handlers/Records/AttributeInfoHandler.cs
  27. 4
      ICSharpCode.BamlDecompiler/Handlers/Records/ConnectionIdHandler.cs
  28. 6
      ICSharpCode.BamlDecompiler/Handlers/Records/ConstructorParameterTypeHandler.cs
  29. 4
      ICSharpCode.BamlDecompiler/Handlers/Records/ContentPropertyHandler.cs
  30. 4
      ICSharpCode.BamlDecompiler/Handlers/Records/DefAttributeHandler.cs
  31. 6
      ICSharpCode.BamlDecompiler/Handlers/Records/DefAttributeKeyStringHandler.cs
  32. 6
      ICSharpCode.BamlDecompiler/Handlers/Records/DefAttributeKeyTypeHandler.cs
  33. 4
      ICSharpCode.BamlDecompiler/Handlers/Records/DeferableContentStartHandler.cs
  34. 4
      ICSharpCode.BamlDecompiler/Handlers/Records/LineNumberAndPositionHandler.cs
  35. 4
      ICSharpCode.BamlDecompiler/Handlers/Records/LinePositionHandler.cs
  36. 4
      ICSharpCode.BamlDecompiler/Handlers/Records/LiteralContentHandler.cs
  37. 6
      ICSharpCode.BamlDecompiler/Handlers/Records/OptimizedStaticResourceHandler.cs
  38. 4
      ICSharpCode.BamlDecompiler/Handlers/Records/PIMappingHandler.cs
  39. 4
      ICSharpCode.BamlDecompiler/Handlers/Records/PresentationOptionsAttributeHandler.cs
  40. 6
      ICSharpCode.BamlDecompiler/Handlers/Records/PropertyCustomHandler.cs
  41. 6
      ICSharpCode.BamlDecompiler/Handlers/Records/PropertyHandler.cs
  42. 6
      ICSharpCode.BamlDecompiler/Handlers/Records/PropertyTypeReferenceHandler.cs
  43. 4
      ICSharpCode.BamlDecompiler/Handlers/Records/PropertyWithConverterHandler.cs
  44. 6
      ICSharpCode.BamlDecompiler/Handlers/Records/PropertyWithExtensionHandler.cs
  45. 6
      ICSharpCode.BamlDecompiler/Handlers/Records/PropertyWithStaticResourceIdHandler.cs
  46. 6
      ICSharpCode.BamlDecompiler/Handlers/Records/StaticResourceIdHandler.cs
  47. 6
      ICSharpCode.BamlDecompiler/Handlers/Records/StaticResourceStartHandler.cs
  48. 4
      ICSharpCode.BamlDecompiler/Handlers/Records/TextHandler.cs
  49. 4
      ICSharpCode.BamlDecompiler/Handlers/Records/TextWithConverterHandler.cs
  50. 4
      ICSharpCode.BamlDecompiler/Handlers/Records/TypeInfoHandler.cs
  51. 6
      ICSharpCode.BamlDecompiler/Handlers/Records/XmlnsPropertyHandler.cs
  52. 42
      ICSharpCode.BamlDecompiler/ICSharpCode.BamlDecompiler.csproj
  53. 4
      ICSharpCode.BamlDecompiler/IHandlers.cs
  54. 2
      ICSharpCode.BamlDecompiler/IRewritePass.cs
  55. 4
      ICSharpCode.BamlDecompiler/Rewrite/AttributeRewritePass.cs
  56. 4
      ICSharpCode.BamlDecompiler/Rewrite/ConnectionIdRewritePass.cs
  57. 2
      ICSharpCode.BamlDecompiler/Rewrite/DocumentRewritePass.cs
  58. 6
      ICSharpCode.BamlDecompiler/Rewrite/MarkupExtensionRewritePass.cs
  59. 4
      ICSharpCode.BamlDecompiler/Rewrite/XClassRewritePass.cs
  60. 2
      ICSharpCode.BamlDecompiler/Xaml/NamespaceMap.cs
  61. 2
      ICSharpCode.BamlDecompiler/Xaml/XamlExtension.cs
  62. 2
      ICSharpCode.BamlDecompiler/Xaml/XamlPathDeserializer.cs
  63. 2
      ICSharpCode.BamlDecompiler/Xaml/XamlProperty.cs
  64. 4
      ICSharpCode.BamlDecompiler/Xaml/XamlResourceKey.cs
  65. 2
      ICSharpCode.BamlDecompiler/Xaml/XamlType.cs
  66. 2
      ICSharpCode.BamlDecompiler/Xaml/XamlUtils.cs
  67. 6
      ICSharpCode.BamlDecompiler/XamlContext.cs
  68. 8
      ICSharpCode.BamlDecompiler/XamlDecompiler.cs
  69. 4
      ICSharpCode.BamlDecompiler/XmlnsDictionary.cs
  70. 1
      ILSpy.BamlDecompiler.Tests/BamlTestRunner.cs
  71. 1
      ILSpy.BamlDecompiler/BamlResourceEntryNode.cs
  72. 2
      ILSpy.BamlDecompiler/BamlResourceNodeFactory.cs
  73. 1
      ILSpy.BamlDecompiler/ILSpy.BamlDecompiler.csproj
  74. 6
      ILSpy.sln

2
ILSpy.BamlDecompiler/Baml/BamlContext.cs → ICSharpCode.BamlDecompiler/Baml/BamlContext.cs

@ -30,7 +30,7 @@ using ICSharpCode.Decompiler.TypeSystem;
using Metadata = ICSharpCode.Decompiler.Metadata; using Metadata = ICSharpCode.Decompiler.Metadata;
namespace ILSpy.BamlDecompiler.Baml namespace ICSharpCode.BamlDecompiler.Baml
{ {
internal class BamlContext internal class BamlContext
{ {

2
ILSpy.BamlDecompiler/Baml/BamlDocument.cs → ICSharpCode.BamlDecompiler/Baml/BamlDocument.cs

@ -22,7 +22,7 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace ILSpy.BamlDecompiler.Baml namespace ICSharpCode.BamlDecompiler.Baml
{ {
internal class BamlDocument : List<BamlRecord> internal class BamlDocument : List<BamlRecord>
{ {

2
ILSpy.BamlDecompiler/Baml/BamlNode.cs → ICSharpCode.BamlDecompiler/Baml/BamlNode.cs

@ -25,7 +25,7 @@ using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;
using System.Threading; using System.Threading;
namespace ILSpy.BamlDecompiler.Baml namespace ICSharpCode.BamlDecompiler.Baml
{ {
internal abstract class BamlNode internal abstract class BamlNode
{ {

2
ILSpy.BamlDecompiler/Baml/BamlReader.cs → ICSharpCode.BamlDecompiler/Baml/BamlReader.cs

@ -26,7 +26,7 @@ using System.IO;
using System.Text; using System.Text;
using System.Threading; using System.Threading;
namespace ILSpy.BamlDecompiler.Baml namespace ICSharpCode.BamlDecompiler.Baml
{ {
internal class BamlBinaryReader : BinaryReader internal class BamlBinaryReader : BinaryReader
{ {

2
ILSpy.BamlDecompiler/Baml/BamlRecords.cs → ICSharpCode.BamlDecompiler/Baml/BamlRecords.cs

@ -24,7 +24,7 @@ using System;
using System.Diagnostics; using System.Diagnostics;
using System.IO; using System.IO;
namespace ILSpy.BamlDecompiler.Baml namespace ICSharpCode.BamlDecompiler.Baml
{ {
internal enum BamlRecordType : byte internal enum BamlRecordType : byte
{ {

2
ILSpy.BamlDecompiler/Baml/BamlWriter.cs → ICSharpCode.BamlDecompiler/Baml/BamlWriter.cs

@ -24,7 +24,7 @@ using System.Collections.Generic;
using System.IO; using System.IO;
using System.Text; using System.Text;
namespace ILSpy.BamlDecompiler.Baml namespace ICSharpCode.BamlDecompiler.Baml
{ {
internal class BamlBinaryWriter : BinaryWriter internal class BamlBinaryWriter : BinaryWriter
{ {

2
ILSpy.BamlDecompiler/Baml/KnownMembers.cs → ICSharpCode.BamlDecompiler/Baml/KnownMembers.cs

@ -20,7 +20,7 @@
THE SOFTWARE. THE SOFTWARE.
*/ */
namespace ILSpy.BamlDecompiler.Baml namespace ICSharpCode.BamlDecompiler.Baml
{ {
// Auto generated. Do not modify. // Auto generated. Do not modify.

2
ILSpy.BamlDecompiler/Baml/KnownThings.cs → ICSharpCode.BamlDecompiler/Baml/KnownThings.cs

@ -27,7 +27,7 @@ using System.Linq;
using ICSharpCode.Decompiler.Metadata; using ICSharpCode.Decompiler.Metadata;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
namespace ILSpy.BamlDecompiler.Baml namespace ICSharpCode.BamlDecompiler.Baml
{ {
internal partial class KnownThings internal partial class KnownThings
{ {

2
ILSpy.BamlDecompiler/Baml/KnownThings.g.cs → ICSharpCode.BamlDecompiler/Baml/KnownThings.g.cs

@ -22,7 +22,7 @@
using System; using System;
namespace ILSpy.BamlDecompiler.Baml namespace ICSharpCode.BamlDecompiler.Baml
{ {
internal partial class KnownThings internal partial class KnownThings
{ {

0
ILSpy.BamlDecompiler/Baml/KnownThings.gen.cs → ICSharpCode.BamlDecompiler/Baml/KnownThings.gen.cs

2
ILSpy.BamlDecompiler/Baml/KnownTypes.cs → ICSharpCode.BamlDecompiler/Baml/KnownTypes.cs

@ -20,7 +20,7 @@
THE SOFTWARE. THE SOFTWARE.
*/ */
namespace ILSpy.BamlDecompiler.Baml namespace ICSharpCode.BamlDecompiler.Baml
{ {
// Auto generated. Do not modify. // Auto generated. Do not modify.

2
ILSpy.BamlDecompiler/BamlConnectionId.cs → ICSharpCode.BamlDecompiler/BamlConnectionId.cs

@ -22,7 +22,7 @@
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
namespace ILSpy.BamlDecompiler namespace ICSharpCode.BamlDecompiler
{ {
/// <summary> /// <summary>
/// Represents a field assignment of a XAML code-behind class. /// Represents a field assignment of a XAML code-behind class.

2
ILSpy.BamlDecompiler/BamlDecompilationResult.cs → ICSharpCode.BamlDecompiler/BamlDecompilationResult.cs

@ -23,7 +23,7 @@ using System.Xml.Linq;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
namespace ILSpy.BamlDecompiler namespace ICSharpCode.BamlDecompiler
{ {
public class BamlDecompilationResult public class BamlDecompilationResult
{ {

2
ILSpy.BamlDecompiler/BamlDecompilerSettings.cs → ICSharpCode.BamlDecompiler/BamlDecompilerSettings.cs

@ -19,7 +19,7 @@
using System.ComponentModel; using System.ComponentModel;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
namespace ILSpy.BamlDecompiler namespace ICSharpCode.BamlDecompiler
{ {
public class BamlDecompilerSettings : INotifyPropertyChanged public class BamlDecompilerSettings : INotifyPropertyChanged
{ {

4
ILSpy.BamlDecompiler/BamlDecompilerTypeSystem.cs → ICSharpCode.BamlDecompiler/BamlDecompilerTypeSystem.cs

@ -26,9 +26,9 @@ using ICSharpCode.Decompiler.TypeSystem;
using ICSharpCode.Decompiler.TypeSystem.Implementation; using ICSharpCode.Decompiler.TypeSystem.Implementation;
using ICSharpCode.Decompiler.Util; using ICSharpCode.Decompiler.Util;
namespace ILSpy.BamlDecompiler namespace ICSharpCode.BamlDecompiler
{ {
class BamlDecompilerTypeSystem : SimpleCompilation, IDecompilerTypeSystem public class BamlDecompilerTypeSystem : SimpleCompilation, IDecompilerTypeSystem
{ {
string[] defaultBamlReferences = new[] { string[] defaultBamlReferences = new[] {
"mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",

4
ILSpy.BamlDecompiler/BamlElement.cs → ICSharpCode.BamlDecompiler/BamlElement.cs

@ -23,9 +23,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Xml.Linq; using System.Xml.Linq;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
namespace ILSpy.BamlDecompiler namespace ICSharpCode.BamlDecompiler
{ {
internal readonly struct XamlNode internal readonly struct XamlNode
{ {

4
ILSpy.BamlDecompiler/Handlers/Blocks/ConstructorParametersHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Blocks/ConstructorParametersHandler.cs

@ -22,9 +22,9 @@
using System.Xml.Linq; using System.Xml.Linq;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class ConstructorParametersStartHandler : IHandler internal class ConstructorParametersStartHandler : IHandler
{ {

4
ILSpy.BamlDecompiler/Handlers/Blocks/DocumentHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Blocks/DocumentHandler.cs

@ -22,9 +22,9 @@
using System.Xml.Linq; using System.Xml.Linq;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class DocumentHandler : IHandler internal class DocumentHandler : IHandler
{ {

6
ILSpy.BamlDecompiler/Handlers/Blocks/ElementHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Blocks/ElementHandler.cs

@ -22,10 +22,10 @@
using System.Xml.Linq; using System.Xml.Linq;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
using ILSpy.BamlDecompiler.Xaml; using ICSharpCode.BamlDecompiler.Xaml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class ElementHandler : IHandler internal class ElementHandler : IHandler
{ {

6
ILSpy.BamlDecompiler/Handlers/Blocks/KeyElementStartHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Blocks/KeyElementStartHandler.cs

@ -22,10 +22,10 @@
using System.Xml.Linq; using System.Xml.Linq;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
using ILSpy.BamlDecompiler.Xaml; using ICSharpCode.BamlDecompiler.Xaml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class KeyElementStartHandler : ElementHandler, IHandler, IDeferHandler internal class KeyElementStartHandler : ElementHandler, IHandler, IDeferHandler
{ {

4
ILSpy.BamlDecompiler/Handlers/Blocks/PropertyArrayHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyArrayHandler.cs

@ -22,9 +22,9 @@
using System.Xml.Linq; using System.Xml.Linq;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class PropertyArrayHandler : IHandler internal class PropertyArrayHandler : IHandler
{ {

4
ILSpy.BamlDecompiler/Handlers/Blocks/PropertyComplexHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyComplexHandler.cs

@ -22,9 +22,9 @@
using System.Xml.Linq; using System.Xml.Linq;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class PropertyComplexHandler : IHandler internal class PropertyComplexHandler : IHandler
{ {

4
ILSpy.BamlDecompiler/Handlers/Blocks/PropertyDictionaryHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyDictionaryHandler.cs

@ -22,9 +22,9 @@
using System.Xml.Linq; using System.Xml.Linq;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class PropertyDictionaryHandler : IHandler internal class PropertyDictionaryHandler : IHandler
{ {

4
ILSpy.BamlDecompiler/Handlers/Blocks/PropertyListHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Blocks/PropertyListHandler.cs

@ -22,9 +22,9 @@
using System.Xml.Linq; using System.Xml.Linq;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class PropertyListHandler : IHandler internal class PropertyListHandler : IHandler
{ {

4
ILSpy.BamlDecompiler/Handlers/Records/AssemblyInfoHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Records/AssemblyInfoHandler.cs

@ -20,9 +20,9 @@
THE SOFTWARE. THE SOFTWARE.
*/ */
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class AssemblyInfoHandler : IHandler internal class AssemblyInfoHandler : IHandler
{ {

4
ILSpy.BamlDecompiler/Handlers/Records/AttributeInfoHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Records/AttributeInfoHandler.cs

@ -20,9 +20,9 @@
THE SOFTWARE. THE SOFTWARE.
*/ */
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class AttributeInfoHandler : IHandler internal class AttributeInfoHandler : IHandler
{ {

4
ILSpy.BamlDecompiler/Handlers/Records/ConnectionIdHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Records/ConnectionIdHandler.cs

@ -20,9 +20,9 @@
THE SOFTWARE. THE SOFTWARE.
*/ */
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class ConnectionIdHandler : IHandler internal class ConnectionIdHandler : IHandler
{ {

6
ILSpy.BamlDecompiler/Handlers/Records/ConstructorParameterTypeHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Records/ConstructorParameterTypeHandler.cs

@ -22,10 +22,10 @@
using System.Xml.Linq; using System.Xml.Linq;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
using ILSpy.BamlDecompiler.Xaml; using ICSharpCode.BamlDecompiler.Xaml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class ConstructorParameterTypeHandler : IHandler internal class ConstructorParameterTypeHandler : IHandler
{ {

4
ILSpy.BamlDecompiler/Handlers/Records/ContentPropertyHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Records/ContentPropertyHandler.cs

@ -20,9 +20,9 @@
THE SOFTWARE. THE SOFTWARE.
*/ */
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class ContentPropertyHandler : IHandler internal class ContentPropertyHandler : IHandler
{ {

4
ILSpy.BamlDecompiler/Handlers/Records/DefAttributeHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Records/DefAttributeHandler.cs

@ -22,9 +22,9 @@
using System.Xml.Linq; using System.Xml.Linq;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class DefAttributeHandler : IHandler internal class DefAttributeHandler : IHandler
{ {

6
ILSpy.BamlDecompiler/Handlers/Records/DefAttributeKeyStringHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Records/DefAttributeKeyStringHandler.cs

@ -22,10 +22,10 @@
using System.Xml.Linq; using System.Xml.Linq;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
using ILSpy.BamlDecompiler.Xaml; using ICSharpCode.BamlDecompiler.Xaml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class DefAttributeStringHandler : IHandler, IDeferHandler internal class DefAttributeStringHandler : IHandler, IDeferHandler
{ {

6
ILSpy.BamlDecompiler/Handlers/Records/DefAttributeKeyTypeHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Records/DefAttributeKeyTypeHandler.cs

@ -22,10 +22,10 @@
using System.Xml.Linq; using System.Xml.Linq;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
using ILSpy.BamlDecompiler.Xaml; using ICSharpCode.BamlDecompiler.Xaml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class DefAttributeTypeHandler : IHandler, IDeferHandler internal class DefAttributeTypeHandler : IHandler, IDeferHandler
{ {

4
ILSpy.BamlDecompiler/Handlers/Records/DeferableContentStartHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Records/DeferableContentStartHandler.cs

@ -22,9 +22,9 @@
using System.Diagnostics; using System.Diagnostics;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class DeferableContentStartHandler : IHandler internal class DeferableContentStartHandler : IHandler
{ {

4
ILSpy.BamlDecompiler/Handlers/Records/LineNumberAndPositionHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Records/LineNumberAndPositionHandler.cs

@ -20,9 +20,9 @@
THE SOFTWARE. THE SOFTWARE.
*/ */
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class LineNumberAndPositionHandler : IHandler internal class LineNumberAndPositionHandler : IHandler
{ {

4
ILSpy.BamlDecompiler/Handlers/Records/LinePositionHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Records/LinePositionHandler.cs

@ -20,9 +20,9 @@
THE SOFTWARE. THE SOFTWARE.
*/ */
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class LinePositionHandler : IHandler internal class LinePositionHandler : IHandler
{ {

4
ILSpy.BamlDecompiler/Handlers/Records/LiteralContentHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Records/LiteralContentHandler.cs

@ -22,9 +22,9 @@
using System.Xml.Linq; using System.Xml.Linq;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class LiteralContentHandler : IHandler internal class LiteralContentHandler : IHandler
{ {

6
ILSpy.BamlDecompiler/Handlers/Records/OptimizedStaticResourceHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Records/OptimizedStaticResourceHandler.cs

@ -22,10 +22,10 @@
using System.Xml.Linq; using System.Xml.Linq;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
using ILSpy.BamlDecompiler.Xaml; using ICSharpCode.BamlDecompiler.Xaml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class OptimizedStaticResourceHandler : IHandler, IDeferHandler internal class OptimizedStaticResourceHandler : IHandler, IDeferHandler
{ {

4
ILSpy.BamlDecompiler/Handlers/Records/PIMappingHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Records/PIMappingHandler.cs

@ -20,9 +20,9 @@
THE SOFTWARE. THE SOFTWARE.
*/ */
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class PIMappingHandler : IHandler internal class PIMappingHandler : IHandler
{ {

4
ILSpy.BamlDecompiler/Handlers/Records/PresentationOptionsAttributeHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Records/PresentationOptionsAttributeHandler.cs

@ -22,9 +22,9 @@
using System.Xml.Linq; using System.Xml.Linq;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class PresentationOptionsAttributeHandler : IHandler internal class PresentationOptionsAttributeHandler : IHandler
{ {

6
ILSpy.BamlDecompiler/Handlers/Records/PropertyCustomHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Records/PropertyCustomHandler.cs

@ -27,10 +27,10 @@ using System.IO;
using System.Text; using System.Text;
using System.Xml.Linq; using System.Xml.Linq;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
using ILSpy.BamlDecompiler.Xaml; using ICSharpCode.BamlDecompiler.Xaml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class PropertyCustomHandler : IHandler internal class PropertyCustomHandler : IHandler
{ {

6
ILSpy.BamlDecompiler/Handlers/Records/PropertyHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Records/PropertyHandler.cs

@ -22,10 +22,10 @@
using System.Xml.Linq; using System.Xml.Linq;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
using ILSpy.BamlDecompiler.Xaml; using ICSharpCode.BamlDecompiler.Xaml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class PropertyHandler : IHandler internal class PropertyHandler : IHandler
{ {

6
ILSpy.BamlDecompiler/Handlers/Records/PropertyTypeReferenceHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Records/PropertyTypeReferenceHandler.cs

@ -24,10 +24,10 @@ using System.Xml.Linq;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
using ILSpy.BamlDecompiler.Xaml; using ICSharpCode.BamlDecompiler.Xaml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class PropertyTypeReferenceHandler : IHandler internal class PropertyTypeReferenceHandler : IHandler
{ {

4
ILSpy.BamlDecompiler/Handlers/Records/PropertyWithConverterHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Records/PropertyWithConverterHandler.cs

@ -20,9 +20,9 @@
THE SOFTWARE. THE SOFTWARE.
*/ */
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class PropertyWithConverterHandler : PropertyHandler, IHandler internal class PropertyWithConverterHandler : PropertyHandler, IHandler
{ {

6
ILSpy.BamlDecompiler/Handlers/Records/PropertyWithExtensionHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Records/PropertyWithExtensionHandler.cs

@ -22,10 +22,10 @@
using System.Xml.Linq; using System.Xml.Linq;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
using ILSpy.BamlDecompiler.Xaml; using ICSharpCode.BamlDecompiler.Xaml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class PropertyWithExtensionHandler : IHandler internal class PropertyWithExtensionHandler : IHandler
{ {

6
ILSpy.BamlDecompiler/Handlers/Records/PropertyWithStaticResourceIdHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Records/PropertyWithStaticResourceIdHandler.cs

@ -23,10 +23,10 @@
using System; using System;
using System.Xml.Linq; using System.Xml.Linq;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
using ILSpy.BamlDecompiler.Xaml; using ICSharpCode.BamlDecompiler.Xaml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class PropertyWithStaticResourceIdHandler : IHandler internal class PropertyWithStaticResourceIdHandler : IHandler
{ {

6
ILSpy.BamlDecompiler/Handlers/Records/StaticResourceIdHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Records/StaticResourceIdHandler.cs

@ -18,10 +18,10 @@
using System; using System;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
using ILSpy.BamlDecompiler.Xaml; using ICSharpCode.BamlDecompiler.Xaml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
class StaticResourceIdHandler : IHandler class StaticResourceIdHandler : IHandler
{ {

6
ILSpy.BamlDecompiler/Handlers/Records/StaticResourceStartHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Records/StaticResourceStartHandler.cs

@ -20,10 +20,10 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Xml.Linq; using System.Xml.Linq;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
using ILSpy.BamlDecompiler.Xaml; using ICSharpCode.BamlDecompiler.Xaml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
class StaticResourceStartHandler : IHandler, IDeferHandler class StaticResourceStartHandler : IHandler, IDeferHandler
{ {

4
ILSpy.BamlDecompiler/Handlers/Records/TextHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Records/TextHandler.cs

@ -20,9 +20,9 @@
THE SOFTWARE. THE SOFTWARE.
*/ */
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class TextHandler : IHandler internal class TextHandler : IHandler
{ {

4
ILSpy.BamlDecompiler/Handlers/Records/TextWithConverterHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Records/TextWithConverterHandler.cs

@ -20,9 +20,9 @@
THE SOFTWARE. THE SOFTWARE.
*/ */
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class TextWithConverterHandler : TextHandler, IHandler internal class TextWithConverterHandler : TextHandler, IHandler
{ {

4
ILSpy.BamlDecompiler/Handlers/Records/TypeInfoHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Records/TypeInfoHandler.cs

@ -20,9 +20,9 @@
THE SOFTWARE. THE SOFTWARE.
*/ */
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class TypeInfoHandler : IHandler internal class TypeInfoHandler : IHandler
{ {

6
ILSpy.BamlDecompiler/Handlers/Records/XmlnsPropertyHandler.cs → ICSharpCode.BamlDecompiler/Handlers/Records/XmlnsPropertyHandler.cs

@ -28,10 +28,10 @@ using System.Xml.Linq;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
using ILSpy.BamlDecompiler.Xaml; using ICSharpCode.BamlDecompiler.Xaml;
namespace ILSpy.BamlDecompiler.Handlers namespace ICSharpCode.BamlDecompiler.Handlers
{ {
internal class XmlnsPropertyHandler : IHandler internal class XmlnsPropertyHandler : IHandler
{ {

42
ICSharpCode.BamlDecompiler/ICSharpCode.BamlDecompiler.csproj

@ -0,0 +1,42 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\ICSharpCode.Decompiler\ICSharpCode.Decompiler.snk</AssemblyOriginatorKeyFile>
<NeutralLanguage>en-US</NeutralLanguage>
<GenerateAssemblyVersionAttribute>False</GenerateAssemblyVersionAttribute>
<GenerateAssemblyFileVersionAttribute>False</GenerateAssemblyFileVersionAttribute>
<GenerateAssemblyInformationalVersionAttribute>False</GenerateAssemblyInformationalVersionAttribute>
</PropertyGroup>
<ItemGroup>
<Compile Remove="Properties\AssemblyInfo.template.cs" />
</ItemGroup>
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
<!-- Inject ILSpyUpdateAssemblyInfo as dependency of the GetPackageVersion
target so Pack uses the generated version when evaluating project references. -->
<PropertyGroup>
<GetPackageVersionDependsOn>
ILSpyUpdateAssemblyInfo;
$(GetPackageVersionDependsOn)
</GetPackageVersionDependsOn>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\ICSharpCode.Decompiler\ICSharpCode.Decompiler.csproj" />
</ItemGroup>
<Target Name="ILSpyUpdateAssemblyInfo" AfterTargets="ResolveProjectReferences">
<ReadLinesFromFile ContinueOnError="true" File="..\VERSION">
<Output TaskParameter="Lines" PropertyName="PackageVersion" />
</ReadLinesFromFile>
</Target>
</Project>

4
ILSpy.BamlDecompiler/IHandlers.cs → ICSharpCode.BamlDecompiler/IHandlers.cs

@ -24,9 +24,9 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
namespace ILSpy.BamlDecompiler namespace ICSharpCode.BamlDecompiler
{ {
internal interface IHandler internal interface IHandler
{ {

2
ILSpy.BamlDecompiler/IRewritePass.cs → ICSharpCode.BamlDecompiler/IRewritePass.cs

@ -22,7 +22,7 @@
using System.Xml.Linq; using System.Xml.Linq;
namespace ILSpy.BamlDecompiler namespace ICSharpCode.BamlDecompiler
{ {
internal interface IRewritePass internal interface IRewritePass
{ {

4
ILSpy.BamlDecompiler/Rewrite/AttributeRewritePass.cs → ICSharpCode.BamlDecompiler/Rewrite/AttributeRewritePass.cs

@ -23,9 +23,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Xml.Linq; using System.Xml.Linq;
using ILSpy.BamlDecompiler.Xaml; using ICSharpCode.BamlDecompiler.Xaml;
namespace ILSpy.BamlDecompiler.Rewrite namespace ICSharpCode.BamlDecompiler.Rewrite
{ {
internal class AttributeRewritePass : IRewritePass internal class AttributeRewritePass : IRewritePass
{ {

4
ILSpy.BamlDecompiler/Rewrite/ConnectionIdRewritePass.cs → ICSharpCode.BamlDecompiler/Rewrite/ConnectionIdRewritePass.cs

@ -27,9 +27,9 @@ using ICSharpCode.Decompiler.IL;
using ICSharpCode.Decompiler.IL.Transforms; using ICSharpCode.Decompiler.IL.Transforms;
using ICSharpCode.Decompiler.Util; using ICSharpCode.Decompiler.Util;
using ILSpy.BamlDecompiler.Xaml; using ICSharpCode.BamlDecompiler.Xaml;
namespace ILSpy.BamlDecompiler.Rewrite namespace ICSharpCode.BamlDecompiler.Rewrite
{ {
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;

2
ILSpy.BamlDecompiler/Rewrite/DocumentRewritePass.cs → ICSharpCode.BamlDecompiler/Rewrite/DocumentRewritePass.cs

@ -24,7 +24,7 @@ using System.Diagnostics;
using System.Linq; using System.Linq;
using System.Xml.Linq; using System.Xml.Linq;
namespace ILSpy.BamlDecompiler.Rewrite namespace ICSharpCode.BamlDecompiler.Rewrite
{ {
internal class DocumentRewritePass : IRewritePass internal class DocumentRewritePass : IRewritePass
{ {

6
ILSpy.BamlDecompiler/Rewrite/MarkupExtensionRewritePass.cs → ICSharpCode.BamlDecompiler/Rewrite/MarkupExtensionRewritePass.cs

@ -21,16 +21,14 @@
*/ */
using System.Collections.Generic; using System.Collections.Generic;
using System.DirectoryServices.ActiveDirectory;
using System.Linq; using System.Linq;
using System.Windows.Forms;
using System.Xml.Linq; using System.Xml.Linq;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
using ILSpy.BamlDecompiler.Xaml; using ICSharpCode.BamlDecompiler.Xaml;
namespace ILSpy.BamlDecompiler.Rewrite namespace ICSharpCode.BamlDecompiler.Rewrite
{ {
internal class MarkupExtensionRewritePass : IRewritePass internal class MarkupExtensionRewritePass : IRewritePass
{ {

4
ILSpy.BamlDecompiler/Rewrite/XClassRewritePass.cs → ICSharpCode.BamlDecompiler/Rewrite/XClassRewritePass.cs

@ -23,9 +23,9 @@
using System.Linq; using System.Linq;
using System.Xml.Linq; using System.Xml.Linq;
using ILSpy.BamlDecompiler.Xaml; using ICSharpCode.BamlDecompiler.Xaml;
namespace ILSpy.BamlDecompiler.Rewrite namespace ICSharpCode.BamlDecompiler.Rewrite
{ {
internal class XClassRewritePass : IRewritePass internal class XClassRewritePass : IRewritePass
{ {

2
ILSpy.BamlDecompiler/Xaml/NamespaceMap.cs → ICSharpCode.BamlDecompiler/Xaml/NamespaceMap.cs

@ -25,7 +25,7 @@ using System;
using ICSharpCode.Decompiler.Metadata; using ICSharpCode.Decompiler.Metadata;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
namespace ILSpy.BamlDecompiler.Xaml namespace ICSharpCode.BamlDecompiler.Xaml
{ {
internal class NamespaceMap internal class NamespaceMap
{ {

2
ILSpy.BamlDecompiler/Xaml/XamlExtension.cs → ICSharpCode.BamlDecompiler/Xaml/XamlExtension.cs

@ -24,7 +24,7 @@ using System.Collections.Generic;
using System.Text; using System.Text;
using System.Xml.Linq; using System.Xml.Linq;
namespace ILSpy.BamlDecompiler.Xaml namespace ICSharpCode.BamlDecompiler.Xaml
{ {
internal class XamlExtension internal class XamlExtension
{ {

2
ILSpy.BamlDecompiler/Xaml/XamlPathDeserializer.cs → ICSharpCode.BamlDecompiler/Xaml/XamlPathDeserializer.cs

@ -25,7 +25,7 @@ using System.Globalization;
using System.IO; using System.IO;
using System.Text; using System.Text;
namespace ILSpy.BamlDecompiler.Xaml namespace ICSharpCode.BamlDecompiler.Xaml
{ {
class XamlPathDeserializer class XamlPathDeserializer
{ {

2
ILSpy.BamlDecompiler/Xaml/XamlProperty.cs → ICSharpCode.BamlDecompiler/Xaml/XamlProperty.cs

@ -26,7 +26,7 @@ using System.Xml.Linq;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
namespace ILSpy.BamlDecompiler.Xaml namespace ICSharpCode.BamlDecompiler.Xaml
{ {
internal class XamlProperty internal class XamlProperty
{ {

4
ILSpy.BamlDecompiler/Xaml/XamlResourceKey.cs → ICSharpCode.BamlDecompiler/Xaml/XamlResourceKey.cs

@ -23,9 +23,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
namespace ILSpy.BamlDecompiler.Xaml namespace ICSharpCode.BamlDecompiler.Xaml
{ {
internal class XamlResourceKey internal class XamlResourceKey
{ {

2
ILSpy.BamlDecompiler/Xaml/XamlType.cs → ICSharpCode.BamlDecompiler/Xaml/XamlType.cs

@ -25,7 +25,7 @@ using System.Xml.Linq;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
namespace ILSpy.BamlDecompiler.Xaml namespace ICSharpCode.BamlDecompiler.Xaml
{ {
internal class XamlType internal class XamlType
{ {

2
ILSpy.BamlDecompiler/Xaml/XamlUtils.cs → ICSharpCode.BamlDecompiler/Xaml/XamlUtils.cs

@ -24,7 +24,7 @@ using System.IO;
using System.Text; using System.Text;
using System.Xml.Linq; using System.Xml.Linq;
namespace ILSpy.BamlDecompiler.Xaml namespace ICSharpCode.BamlDecompiler.Xaml
{ {
internal static class XamlUtils internal static class XamlUtils
{ {

6
ILSpy.BamlDecompiler/XamlContext.cs → ICSharpCode.BamlDecompiler/XamlContext.cs

@ -29,10 +29,10 @@ using System.Xml.Linq;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
using ILSpy.BamlDecompiler.Xaml; using ICSharpCode.BamlDecompiler.Xaml;
namespace ILSpy.BamlDecompiler namespace ICSharpCode.BamlDecompiler
{ {
internal class XamlContext internal class XamlContext
{ {

8
ILSpy.BamlDecompiler/XamlDecompiler.cs → ICSharpCode.BamlDecompiler/XamlDecompiler.cs

@ -31,10 +31,10 @@ using System.Xml.Linq;
using ICSharpCode.Decompiler.Metadata; using ICSharpCode.Decompiler.Metadata;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
using ILSpy.BamlDecompiler.Baml; using ICSharpCode.BamlDecompiler.Baml;
using ILSpy.BamlDecompiler.Rewrite; using ICSharpCode.BamlDecompiler.Rewrite;
namespace ILSpy.BamlDecompiler namespace ICSharpCode.BamlDecompiler
{ {
public class XamlDecompiler public class XamlDecompiler
{ {
@ -72,7 +72,7 @@ namespace ILSpy.BamlDecompiler
{ {
} }
internal XamlDecompiler(BamlDecompilerTypeSystem typeSystem, BamlDecompilerSettings settings) public XamlDecompiler(BamlDecompilerTypeSystem typeSystem, BamlDecompilerSettings settings)
{ {
this.typeSystem = typeSystem ?? throw new ArgumentNullException(nameof(typeSystem)); this.typeSystem = typeSystem ?? throw new ArgumentNullException(nameof(typeSystem));
this.settings = settings; this.settings = settings;

4
ILSpy.BamlDecompiler/XmlnsDictionary.cs → ICSharpCode.BamlDecompiler/XmlnsDictionary.cs

@ -25,9 +25,9 @@ using System.Collections.Generic;
using ICSharpCode.Decompiler.Metadata; using ICSharpCode.Decompiler.Metadata;
using ICSharpCode.Decompiler.TypeSystem; using ICSharpCode.Decompiler.TypeSystem;
using ILSpy.BamlDecompiler.Xaml; using ICSharpCode.BamlDecompiler.Xaml;
namespace ILSpy.BamlDecompiler namespace ICSharpCode.BamlDecompiler
{ {
internal class XmlnsScope : List<NamespaceMap> internal class XmlnsScope : List<NamespaceMap>
{ {

1
ILSpy.BamlDecompiler.Tests/BamlTestRunner.cs

@ -23,6 +23,7 @@ using System.Linq;
using System.Threading; using System.Threading;
using System.Xml.Linq; using System.Xml.Linq;
using ICSharpCode.BamlDecompiler;
using ICSharpCode.Decompiler.Metadata; using ICSharpCode.Decompiler.Metadata;
using ICSharpCode.Decompiler.Tests.Helpers; using ICSharpCode.Decompiler.Tests.Helpers;
using ICSharpCode.Decompiler.Util; using ICSharpCode.Decompiler.Util;

1
ILSpy.BamlDecompiler/BamlResourceEntryNode.cs

@ -23,6 +23,7 @@ using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using ICSharpCode.AvalonEdit.Highlighting; using ICSharpCode.AvalonEdit.Highlighting;
using ICSharpCode.BamlDecompiler;
using ICSharpCode.ILSpy; using ICSharpCode.ILSpy;
using ICSharpCode.ILSpy.TextView; using ICSharpCode.ILSpy.TextView;
using ICSharpCode.ILSpy.TreeNodes; using ICSharpCode.ILSpy.TreeNodes;

2
ILSpy.BamlDecompiler/BamlResourceNodeFactory.cs

@ -19,8 +19,8 @@
using System; using System;
using System.ComponentModel.Composition; using System.ComponentModel.Composition;
using System.IO; using System.IO;
using System.Linq;
using ICSharpCode.BamlDecompiler;
using ICSharpCode.Decompiler; using ICSharpCode.Decompiler;
using ICSharpCode.Decompiler.CSharp.ProjectDecompiler; using ICSharpCode.Decompiler.CSharp.ProjectDecompiler;
using ICSharpCode.Decompiler.Metadata; using ICSharpCode.Decompiler.Metadata;

1
ILSpy.BamlDecompiler/ILSpy.BamlDecompiler.csproj

@ -31,6 +31,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\ICSharpCode.BamlDecompiler\ICSharpCode.BamlDecompiler.csproj" />
<ProjectReference Include="..\ILSpy\ILSpy.csproj" /> <ProjectReference Include="..\ILSpy\ILSpy.csproj" />
<ProjectReference Include="..\ICSharpCode.Decompiler\ICSharpCode.Decompiler.csproj" /> <ProjectReference Include="..\ICSharpCode.Decompiler\ICSharpCode.Decompiler.csproj" />
<ProjectReference Include="..\SharpTreeView\ICSharpCode.TreeView.csproj" /> <ProjectReference Include="..\SharpTreeView\ICSharpCode.TreeView.csproj" />

6
ILSpy.sln

@ -36,6 +36,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ICSharpCode.Decompiler.Test
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ICSharpCode.ILSpyX", "ICSharpCode.ILSpyX\ICSharpCode.ILSpyX.csproj", "{F8EFCF9D-B9A3-4BA0-A1B2-B026A71DAC22}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ICSharpCode.ILSpyX", "ICSharpCode.ILSpyX\ICSharpCode.ILSpyX.csproj", "{F8EFCF9D-B9A3-4BA0-A1B2-B026A71DAC22}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ICSharpCode.BamlDecompiler", "ICSharpCode.BamlDecompiler\ICSharpCode.BamlDecompiler.csproj", "{81A30182-3378-4952-8880-F44822390040}"
EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU Debug|Any CPU = Debug|Any CPU
@ -94,6 +96,10 @@ Global
{F8EFCF9D-B9A3-4BA0-A1B2-B026A71DAC22}.Debug|Any CPU.Build.0 = Debug|Any CPU {F8EFCF9D-B9A3-4BA0-A1B2-B026A71DAC22}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F8EFCF9D-B9A3-4BA0-A1B2-B026A71DAC22}.Release|Any CPU.ActiveCfg = Release|Any CPU {F8EFCF9D-B9A3-4BA0-A1B2-B026A71DAC22}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F8EFCF9D-B9A3-4BA0-A1B2-B026A71DAC22}.Release|Any CPU.Build.0 = Release|Any CPU {F8EFCF9D-B9A3-4BA0-A1B2-B026A71DAC22}.Release|Any CPU.Build.0 = Release|Any CPU
{81A30182-3378-4952-8880-F44822390040}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{81A30182-3378-4952-8880-F44822390040}.Debug|Any CPU.Build.0 = Debug|Any CPU
{81A30182-3378-4952-8880-F44822390040}.Release|Any CPU.ActiveCfg = Release|Any CPU
{81A30182-3378-4952-8880-F44822390040}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE

Loading…
Cancel
Save