Skip to content

Releases: smdn/Smdn.Reflection.ReverseGenerating

Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks version 1.1.5

18 Dec 00:13
aa4ce90
Compare
Choose a tag to compare

Released package

Release notes

The full release notes are available at gist.

Change log

Change log in this release:

API changes

API changes in this release:
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net6.0.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net6.0.apilist.cs
index 33e0553..9c55e20 100644
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net6.0.apilist.cs
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net6.0.apilist.cs
@@ -1,31 +1,32 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.1.4)
+// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.1.5)
 //   Name: Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks
-//   AssemblyVersion: 1.1.4.0
-//   InformationalVersion: 1.1.4+474aa1799ff8a98167dc9760f2acafaa15b81d4c
+//   AssemblyVersion: 1.1.5.0
+//   InformationalVersion: 1.1.5+cb2486f3b59557763321714652e8d0095aad4d5c
 //   TargetFramework: .NETCoreApp,Version=v6.0
 //   Configuration: Release
 #nullable enable annotations
 
 using Microsoft.Build.Framework;
 using Microsoft.Build.Utilities;
 
 namespace Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks {
   public class GenerateApiList : Task {
     public GenerateApiList() {}
 
     [Required]
     public ITaskItem[]? Assemblies { get; set; }
     public bool GenerateAttributeWithNamedArguments { get; set; }
+    public bool GenerateEmbeddedResources { get; set; }
     public bool GenerateFullTypeName { get; set; }
     public bool GenerateLanguagePrimitiveType { get; set; }
     public string? GenerateMethodBody { get; set; }
     public bool GenerateNullableAnnotations { get; set; }
     public bool GenerateStaticMembersFirst { get; set; }
     public bool GenerateTypeNameWithDeclaringTypeName { get; set; }
     public bool GenerateValueWithDefaultLiteral { get; set; }
     [Output]
     public ITaskItem[]? GeneratedFiles { get; }
 
     public override bool Execute() {}
   }
 }
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-netcoreapp3.1.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-netcoreapp3.1.apilist.cs
index 4a16ee5..a012642 100644
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-netcoreapp3.1.apilist.cs
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-netcoreapp3.1.apilist.cs
@@ -1,31 +1,32 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.1.4)
+// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.1.5)
 //   Name: Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks
-//   AssemblyVersion: 1.1.4.0
-//   InformationalVersion: 1.1.4+474aa1799ff8a98167dc9760f2acafaa15b81d4c
+//   AssemblyVersion: 1.1.5.0
+//   InformationalVersion: 1.1.5+cb2486f3b59557763321714652e8d0095aad4d5c
 //   TargetFramework: .NETCoreApp,Version=v3.1
 //   Configuration: Release
 #nullable enable annotations
 
 using Microsoft.Build.Framework;
 using Microsoft.Build.Utilities;
 
 namespace Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks {
   public class GenerateApiList : Task {
     public GenerateApiList() {}
 
     [Required]
     public ITaskItem[]? Assemblies { get; set; }
     public bool GenerateAttributeWithNamedArguments { get; set; }
+    public bool GenerateEmbeddedResources { get; set; }
     public bool GenerateFullTypeName { get; set; }
     public bool GenerateLanguagePrimitiveType { get; set; }
     public string? GenerateMethodBody { get; set; }
     public bool GenerateNullableAnnotations { get; set; }
     public bool GenerateStaticMembersFirst { get; set; }
     public bool GenerateTypeNameWithDeclaringTypeName { get; set; }
     public bool GenerateValueWithDefaultLiteral { get; set; }
     [Output]
     public ITaskItem[]? GeneratedFiles { get; }
 
     public override bool Execute() {}
   }
 }

Full changes

Full changes in this release:
diff --git a/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.csproj b/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.csproj
index c9f0b3a..9b63fc4 100644
--- a/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.csproj
+++ b/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.csproj
@@ -6,7 +6,7 @@ SPDX-License-Identifier: MIT
   <PropertyGroup>
     <TargetFrameworks>net6.0;netcoreapp3.1</TargetFrameworks>
     <RootNamespace>Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks</RootNamespace>
-    <VersionPrefix>1.1.4</VersionPrefix>
+    <VersionPrefix>1.1.5</VersionPrefix>
     <VersionSuffix></VersionSuffix>
     <Nullable>enable</Nullable>
     <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
diff --git a/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/GenerateApiList.cs b/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/GenerateApiList.cs
index 9113656..004cd51 100644
--- a/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/GenerateApiList.cs
+++ b/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/GenerateApiList.cs
@@ -26,6 +26,7 @@ public class GenerateApiList : Task {
   public bool GenerateStaticMembersFirst { get; set; }
   public bool GenerateNullableAnnotations { get; set; } = true;
   public bool GenerateValueWithDefaultLiteral { get; set; } = true;
+  public bool GenerateEmbeddedResources { get; set; } = true;
 
   [Output]
   public ITaskItem[]? GeneratedFiles { get; private set; }
@@ -129,6 +130,7 @@ public class GenerateApiList : Task {
 
     options.Writer.WriteNullableAnnotationDirective = GenerateNullableAnnotations;
     options.Writer.OrderStaticMembersFirst          = GenerateStaticMembersFirst;
+    options.Writer.WriteEmbeddedResources           = GenerateEmbeddedResources;
 
     options.AttributeDeclaration.TypeFilter         = AttributeFilter.Default;
     options.AttributeDeclaration.WithNamedArguments = GenerateAttributeWithNamedArguments;

Notes

Full Changelog: releases/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.1.4...releases/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.1.5

Smdn.Reflection.ReverseGenerating.ListApi.Core version 1.1.3

18 Dec 00:07
0312060
Compare
Choose a tag to compare

Released package

Release notes

The full release notes are available at gist.

Change log

Change log in this release:

API changes

API changes in this release:
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core-net6.0.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core-net6.0.apilist.cs
index ff1b1a0..b85521e 100644
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core-net6.0.apilist.cs
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core-net6.0.apilist.cs
@@ -1,67 +1,68 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.Core.dll (Smdn.Reflection.ReverseGenerating.ListApi.Core-1.1.2.1)
+// Smdn.Reflection.ReverseGenerating.ListApi.Core.dll (Smdn.Reflection.ReverseGenerating.ListApi.Core-1.1.3)
 //   Name: Smdn.Reflection.ReverseGenerating.ListApi.Core
-//   AssemblyVersion: 1.1.2.1
-//   InformationalVersion: 1.1.2.1+59722f8c92dea887d08ff8f5e1066a73abebbcfd
+//   AssemblyVersion: 1.1.3.0
+//   InformationalVersion: 1.1.3+838f22ef3a8aec668070f1ca9e1e4688974dad9c
 //   TargetFramework: .NETCoreApp,Version=v6.0
 //   Configuration: Release
 #nullable enable annotations
 
 using System;
 using System.Collections.Generic;
 using System.Diagnostics.CodeAnalysis;
 using System.IO;
 using System.Reflection;
 using System.Runtime.Versioning;
 using Microsoft.Extensions.Logging;
 using Smdn.Reflection.ReverseGenerating;
 using Smdn.Reflection.ReverseGenerating.ListApi;
 
 namespace Smdn.Reflection.ReverseGenerating.ListApi {
   public class ApiListWriter {
     public ApiListWriter(TextWriter baseWriter, Assembly assembly, ApiListWriterOptions options) {}
 
     public TextWriter BaseWriter { get; }
 
     public void WriteAssemblyInfoHeader() {}
     public void WriteExportedTypes() {}
   }
 
   public class ApiListWriterOptions : GeneratorOptions {
     public class WriterOptions {
       public WriterOptions() {}
 
       public bool OrderStaticMembersFirst { get; set; }
+      public bool WriteEmbeddedResources { get; set; }
       public bool WriteNullableAnnotationDirective { get; set; }
     }
 
     public ApiListWriterOptions() {}
 
     public ApiListWriterOptions.WriterOptions Writer { get; }
   }
 
   public static class AssemblyExtensions {
     [return: MaybeNull] public static TValue GetAssemblyMetadataAttributeValue<TAssemblyMetadataAttribute, TValue>(this Assembly assm) where TAssemblyMetadataAttribute : Attribute {}
   }
 
   public static class AssemblyLoader {
     [return: MaybeNull] public static TResult UsingAssembly<TArg, TResult>(FileInfo assemblyFile, bool loadIntoReflectionOnlyContext, TArg arg, Func<Assembly, TArg, TResult> actionWithLoadedAssembly, out WeakReference? context, ILogger? logger = null) {}
   }
 
   public static class AttributeFilter {
     public static readonly AttributeTypeFilter Default; // = "Smdn.Reflection.ReverseGenerating.AttributeTypeFilter"
   }
 
   public static class FrameworkMonikers {
     public static bool TryGetMoniker(FrameworkName frameworkName, string? osSpecifier, [NotNullWhen(true)] out string? frameworkMoniker) {}
   }
 
   public class MemberInfoComparer : IComparer<MemberInfo> {
     public static readonly MemberInfoComparer Default; // = "Smdn.Reflection.ReverseGenerating.ListApi.MemberInfoComparer"
     public static readonly MemberInfoComparer StaticMembersFirst; // = "Smdn.Reflection.ReverseGenerating.ListApi.MemberInfoComparer"
 
     public MemberInfoComparer(int orderOfStaticMember, int orderOfInstanceMember) {}
 
     public int Compare(MemberInfo? x, MemberInfo? y) {}
     public int GetOrder(MemberInfo? member) {}
   }
 }
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core-net7.0.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core-net7.0.apilist.cs
new file mode 100644
index 0000000..432c457
--- /dev/null
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core-net7.0.apilist.cs
@@ -0,0 +1,68 @@
+// Smdn.Reflection.ReverseGenerating.ListApi.Core.dll (Smdn.Reflection.ReverseGenerating.ListApi.Core-1.1.3)
+//   Name: Smdn.Reflection.ReverseGenerating.ListApi.Core
+//   AssemblyVersion: 1.1.3.0
+//   InformationalVersion: 1.1.3+838f22ef3a8aec668070f1ca9e1e4688974dad9c
+//   TargetFramework: .NETCoreApp,Version=v7.0
+//   Configuration: Release
+#nullable enable annotations
+
+using System;
+using System.Collections.Generic;
+using System.Diagnostics.CodeAnalysis;
+using System.IO;
+using System.Reflection;
+using System.Runtime.Versioning;
+using Microsoft.Extensions.Logging;
+using Smdn.Reflection.ReverseGenerating;
+using Smdn.Reflection.ReverseGenerating.ListApi;
+
+namespace Smdn.Reflection.ReverseGenerating.ListApi {
+  public class ApiListWriter {
+    public ApiListWriter(TextWriter baseWriter, Assembly assembly, ApiListWriterOptions options) {}
+
+    public TextWriter BaseWriter { get; }
+
+    public void WriteAssemblyInfoHeader() {}
+    public void WriteExportedTypes() {}
+  }
+
+  public class ApiListWriterOptions : GeneratorOptions {
+    public class WriterOptions {
+      public WriterOptions() {}
+
+      public bool OrderStaticMembersFirst { get; set; }
+      public bool WriteEmbeddedResources { get; set; }
+      public bool WriteNullableAnnotationDirective { get; set; }
+    }
+
+    public ApiListWriterOptions() {}
+
+    public ApiListWriterOptions.WriterOptions Writer { get; }
+  }
+
+  public static class AssemblyExtensions {
+    [return: MaybeNull] public static TValue GetAssemblyMetadataAttributeValue<TAssemblyMetadataAttribute, TValue>(this Assembly assm) where TAssemblyMetadataAttribute : Attribute {}
+  }
+
+  public static class AssemblyLoader {
+    [return: MaybeNull] public static TResult UsingAssembly<TArg, TResult>(FileInfo assemblyFile, bool loadIntoReflectionOnlyContext, TArg arg, Func<Assembly, TArg, TResult> actionWithLoadedAssembly, out WeakReference? context, ILogger? logger = null) {}
+  }
+
+  public static class AttributeFilter {
+    public static readonly AttributeTypeFilter Default; // = "Smdn.Reflection.ReverseGenerating.AttributeTypeFilter"
+  }
+
+  public static class FrameworkMonikers {
+    public static bool TryGetMoniker(FrameworkName frameworkName, string? osSpecifier, [NotNullWhen(true)] out string? frameworkMoniker) {}
+  }
+
+  public class MemberInfoComparer : IComparer<MemberInfo> {
+    public static readonly MemberInfoComparer Default; // = "Smdn.Reflection.ReverseGenerating.ListApi.MemberInfoComparer"
+    public static readonly MemberInfoComparer StaticMembersFirst; // = "Smdn.Reflection.ReverseGenerating.ListApi.MemberInfoComparer"
+
+    public MemberInfoComparer(int orderOfStaticMember, int orderOfInstanceMember) {}
+
+    public int Compare(MemberInfo? x, MemberInfo? y) {}
+    public int GetOrder(MemberInfo? member) {}
+  }
+}
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core-netcoreapp3.1.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core-netcoreapp3.1.apilist.cs
index 742b730..66dbf6d 100644
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core-netcoreapp3.1.apilist.cs
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core-netcoreapp3.1.apilist.cs
@@ -1,67 +1,68 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.Core.dll (Smdn.Reflection.ReverseGenerating.ListApi.Core-1.1.2.1)
+// Smdn.Reflection.ReverseGenerating.ListApi.Core.dll (Smdn.Reflection.ReverseGenerating.ListApi.Core-1.1.3)
 //   Name: Smdn.Reflection.ReverseGenerating.ListApi.Core
-//   AssemblyVersion: 1.1.2.1
-//   InformationalVersion: 1.1.2.1+59722f8c92dea887d08ff8f5e1066a73abebbcfd
+//   AssemblyVersion: 1.1.3.0
+//   InformationalVersion: 1.1.3+838f22ef3a8aec668070f1ca9e1e4688974dad9c
 //   TargetFramework: .NETCoreApp,Version=v3.1
 //   Configuration: Release
 #nullable enable annotations
 
 using System;
 using System.Collections.Generic;
 using System.Diagnostics.CodeAnalysis;
 using System.IO;
 using System.Reflection;
 using System.Runtime.Versioning;
 using Microsoft.Extensions.Logging;
 using Smdn.Reflection.ReverseGenerating;
 using Smdn.Reflection.ReverseGenerating.ListApi;
 
 namespace Smdn.Reflection.ReverseGenerating.ListApi {
   public class ApiListWriter {
     public ApiListWriter(TextWriter baseWriter, Assembly assembly, ApiListWriterOptions options) {}
 
     public TextWriter BaseWriter { get; }
 
     public void WriteAssemblyInfoHeader() {}
     public void WriteExportedTypes() {}
   }
 
   public class ApiListWriterOptions : GeneratorOptions {
     public class WriterOptions {
       public WriterOptions() {}
 
       public bool OrderStaticMembersFirst { get; set; }
+      public bool WriteEmbeddedResources { get; set; }
       public bool WriteNullableAnnotationDirective { get; set; }
     }
 
     public ApiListWriterOptions() {}
 
     public ApiL...
Read more

Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks version 1.1.4

24 Jul 12:34
e148a09
Compare
Choose a tag to compare

Released package

Release notes

The full release notes are available at gist.

Change log

Change log in this release:

API changes

API changes in this release:
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net6.0.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net6.0.apilist.cs
index bda0586..33e0553 100644
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net6.0.apilist.cs
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net6.0.apilist.cs
@@ -1,31 +1,31 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.1.3)
+// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.1.4)
 //   Name: Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks
-//   AssemblyVersion: 1.1.3.0
-//   InformationalVersion: 1.1.3+497a769080ccdb57be20cd219d394d2bf077a085
+//   AssemblyVersion: 1.1.4.0
+//   InformationalVersion: 1.1.4+474aa1799ff8a98167dc9760f2acafaa15b81d4c
 //   TargetFramework: .NETCoreApp,Version=v6.0
 //   Configuration: Release
 #nullable enable annotations
 
 using Microsoft.Build.Framework;
 using Microsoft.Build.Utilities;
 
 namespace Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks {
   public class GenerateApiList : Task {
     public GenerateApiList() {}
 
     [Required]
     public ITaskItem[]? Assemblies { get; set; }
     public bool GenerateAttributeWithNamedArguments { get; set; }
     public bool GenerateFullTypeName { get; set; }
     public bool GenerateLanguagePrimitiveType { get; set; }
     public string? GenerateMethodBody { get; set; }
     public bool GenerateNullableAnnotations { get; set; }
     public bool GenerateStaticMembersFirst { get; set; }
     public bool GenerateTypeNameWithDeclaringTypeName { get; set; }
     public bool GenerateValueWithDefaultLiteral { get; set; }
     [Output]
     public ITaskItem[]? GeneratedFiles { get; }
 
     public override bool Execute() {}
   }
 }
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-netcoreapp3.1.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-netcoreapp3.1.apilist.cs
index 76298c6..4a16ee5 100644
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-netcoreapp3.1.apilist.cs
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-netcoreapp3.1.apilist.cs
@@ -1,31 +1,31 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.1.3)
+// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.1.4)
 //   Name: Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks
-//   AssemblyVersion: 1.1.3.0
-//   InformationalVersion: 1.1.3+497a769080ccdb57be20cd219d394d2bf077a085
+//   AssemblyVersion: 1.1.4.0
+//   InformationalVersion: 1.1.4+474aa1799ff8a98167dc9760f2acafaa15b81d4c
 //   TargetFramework: .NETCoreApp,Version=v3.1
 //   Configuration: Release
 #nullable enable annotations
 
 using Microsoft.Build.Framework;
 using Microsoft.Build.Utilities;
 
 namespace Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks {
   public class GenerateApiList : Task {
     public GenerateApiList() {}
 
     [Required]
     public ITaskItem[]? Assemblies { get; set; }
     public bool GenerateAttributeWithNamedArguments { get; set; }
     public bool GenerateFullTypeName { get; set; }
     public bool GenerateLanguagePrimitiveType { get; set; }
     public string? GenerateMethodBody { get; set; }
     public bool GenerateNullableAnnotations { get; set; }
     public bool GenerateStaticMembersFirst { get; set; }
     public bool GenerateTypeNameWithDeclaringTypeName { get; set; }
     public bool GenerateValueWithDefaultLiteral { get; set; }
     [Output]
     public ITaskItem[]? GeneratedFiles { get; }
 
     public override bool Execute() {}
   }
 }

Full changes

Full changes in this release:
diff --git a/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.csproj b/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.csproj
index 695808c..c9f0b3a 100644
--- a/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.csproj
+++ b/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.csproj
@@ -6,7 +6,7 @@ SPDX-License-Identifier: MIT
   <PropertyGroup>
     <TargetFrameworks>net6.0;netcoreapp3.1</TargetFrameworks>
     <RootNamespace>Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks</RootNamespace>
-    <VersionPrefix>1.1.3</VersionPrefix>
+    <VersionPrefix>1.1.4</VersionPrefix>
     <VersionSuffix></VersionSuffix>
     <Nullable>enable</Nullable>
     <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>

Full Changelog: releases/Smdn.Reflection.ReverseGenerating-1.1.4...releases/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.1.4

Smdn.Reflection.ReverseGenerating version 1.1.4

24 Jul 12:33
bd715f9
Compare
Choose a tag to compare

Released package

Release notes

The full release notes are available at gist.

Change log

Change log in this release:

API changes

API changes in this release:
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net45.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net45.apilist.cs
index bc58591..85046de 100644
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net45.apilist.cs
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net45.apilist.cs
@@ -1,125 +1,125 @@
-// Smdn.Reflection.ReverseGenerating.dll (Smdn.Reflection.ReverseGenerating-1.1.3)
+// Smdn.Reflection.ReverseGenerating.dll (Smdn.Reflection.ReverseGenerating-1.1.4)
 //   Name: Smdn.Reflection.ReverseGenerating
-//   AssemblyVersion: 1.1.3.0
-//   InformationalVersion: 1.1.3+f6167551bdfd2449c464509449137c454604db0f
+//   AssemblyVersion: 1.1.4.0
+//   InformationalVersion: 1.1.4+474aa1799ff8a98167dc9760f2acafaa15b81d4c
 //   TargetFramework: .NETFramework,Version=v4.5
 //   Configuration: Release
 #nullable enable annotations
 
 using System;
 using System.Collections.Generic;
 using System.Reflection;
 using Smdn.Reflection;
 using Smdn.Reflection.ReverseGenerating;
 
 namespace Smdn.Reflection.ReverseGenerating {
   public delegate bool AttributeTypeFilter(Type type, ICustomAttributeProvider attributeProvider);
 
   public enum AttributeSectionFormat : int {
     Discrete = 1,
     List = 0,
   }
 
   public enum MethodBodyOption : int {
     EmptyImplementation = 1,
     None = 0,
     ThrowNotImplementedException = 2,
     ThrowNull = 3,
   }
 
   public static class CSharpFormatter {
     public static string EscapeString(string s, bool escapeSingleQuote = false, bool escapeDoubleQuote = false) {}
     public static string FormatAccessibility(Accessibility accessibility) {}
     public static string FormatParameter(ParameterInfo p, bool typeWithNamespace = true, bool useDefaultLiteral = false) {}
     public static string FormatParameterList(MethodBase m, bool typeWithNamespace = true, bool useDefaultLiteral = false) {}
     public static string FormatParameterList(ParameterInfo[] parameterList, bool typeWithNamespace = true, bool useDefaultLiteral = false) {}
     public static string FormatSpecialNameMethod(MethodBase methodOrConstructor, out MethodSpecialName nameType) {}
     public static string FormatTypeName(this EventInfo ev, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
     public static string FormatTypeName(this FieldInfo f, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
     public static string FormatTypeName(this ParameterInfo p, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
     public static string FormatTypeName(this PropertyInfo p, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
     public static string FormatTypeName(this Type t, ICustomAttributeProvider? attributeProvider = null, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
     public static string FormatValueDeclaration(object? val, Type typeOfValue, bool typeWithNamespace = true, bool findConstantField = false, bool useDefaultLiteral = false) {}
     public static bool IsLanguagePrimitiveType(Type t, out string primitiveTypeName) {}
     public static IEnumerable<string> ToNamespaceList(Type t) {}
   }
 
   public static class Generator {
     public static IEnumerable<string> GenerateAttributeList(ICustomAttributeProvider attributeProvider, ISet<string>? referencingNamespaces, GeneratorOptions options) {}
     public static IEnumerable<string> GenerateExplicitBaseTypeAndInterfaces(Type t, ISet<string>? referencingNamespaces, GeneratorOptions options) {}
     [Obsolete("Use GenerateGenericParameterConstraintDeclaration instead.")]
     public static string GenerateGenericArgumentConstraintDeclaration(Type genericArgument, ISet<string>? referencingNamespaces, GeneratorOptions options) {}
     public static string GenerateGenericParameterConstraintDeclaration(Type genericParameter, ISet<string>? referencingNamespaces, GeneratorOptions options) {}
     public static string? GenerateMemberDeclaration(MemberInfo member, ISet<string>? referencingNamespaces, GeneratorOptions options) {}
     public static string GenerateTypeDeclaration(Type t, ISet<string>? referencingNamespaces, GeneratorOptions options) {}
     public static IEnumerable<string> GenerateTypeDeclarationWithExplicitBaseTypeAndInterfaces(Type t, ISet<string>? referencingNamespaces, GeneratorOptions options) {}
   }
 
   public class GeneratorOptions : ICloneable {
     public class AttributeDeclarationOptions {
       public AttributeDeclarationOptions() {}
 
       public AttributeSectionFormat AccessorFormat { get; set; }
       public AttributeSectionFormat AccessorParameterFormat { get; set; }
       public AttributeSectionFormat BackingFieldFormat { get; set; }
       public AttributeSectionFormat DelegateParameterFormat { get; set; }
       public AttributeSectionFormat GenericParameterFormat { get; set; }
       public AttributeSectionFormat MethodParameterFormat { get; set; }
       public bool OmitAttributeSuffix { get; set; }
       public AttributeTypeFilter? TypeFilter { get; set; }
       public bool WithDeclaringTypeName { get; set; }
       public bool WithNamedArguments { get; set; }
       public bool WithNamespace { get; set; }
     }
 
     public class MemberDeclarationOptions {
       public MemberDeclarationOptions() {}
 
       public MethodBodyOption AccessorBody { get; set; }
       public MethodBodyOption MethodBody { get; set; }
       public bool OmitEndOfStatement { get; set; }
       public bool WithAccessibility { get; set; }
       public bool WithDeclaringTypeName { get; set; }
       public bool WithEnumTypeName { get; set; }
       public bool WithNamespace { get; set; }
     }
 
     public class ParameterDeclarationOptions {
       public ParameterDeclarationOptions() {}
 
       public bool WithDeclaringTypeName { get; set; }
       public bool WithNamespace { get; set; }
     }
 
     public class TypeDeclarationOptions {
       public TypeDeclarationOptions() {}
 
       public bool OmitEndOfStatement { get; set; }
       public bool WithAccessibility { get; set; }
       public bool WithDeclaringTypeName { get; set; }
       public bool WithNamespace { get; set; }
     }
 
     public class ValueDeclarationOptions {
       public ValueDeclarationOptions() {}
 
       public bool UseDefaultLiteral { get; set; }
       public bool WithDeclaringTypeName { get; set; }
       public bool WithNamespace { get; set; }
     }
 
     public GeneratorOptions() {}
 
     public GeneratorOptions.AttributeDeclarationOptions AttributeDeclaration { get; init; }
     public bool IgnorePrivateOrAssembly { get; set; }
     public string? Indent { get; set; }
     public GeneratorOptions.MemberDeclarationOptions MemberDeclaration { get; init; }
     public GeneratorOptions.ParameterDeclarationOptions ParameterDeclaration { get; init; }
     public bool TranslateLanguagePrimitiveTypeDeclaration { get; set; }
     public GeneratorOptions.TypeDeclarationOptions TypeDeclaration { get; init; }
     public GeneratorOptions.ValueDeclarationOptions ValueDeclaration { get; init; }
 
     public virtual GeneratorOptions Clone() {}
     object ICloneable.Clone() {}
   }
 }
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net47.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net47.apilist.cs
index 84062b4..eb6e730 100644
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net47.apilist.cs
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net47.apilist.cs
@@ -1,125 +1,125 @@
-// Smdn.Reflection.ReverseGenerating.dll (Smdn.Reflection.ReverseGenerating-1.1.3)
+// Smdn.Reflection.ReverseGenerating.dll (Smdn.Reflection.ReverseGenerating-1.1.4)
 //   Name: Smdn.Reflection.ReverseGenerating
-//   AssemblyVersion: 1.1.3.0
-//   InformationalVersion: 1.1.3+f6167551bdfd2449c464509449137c454604db0f
+//   AssemblyVersion: 1.1.4.0
+//   InformationalVersion: 1.1.4+474aa1799ff8a98167dc9760f2acafaa15b81d4c
 //   TargetFramework: .NETFramework,Version=v4.7
 //   Configuration: Release
 #nullable enable annotations
 
 using System;
 using System.Collections.Generic;
 using System.Reflection;
 using Smdn.Reflection;
 using Smdn.Reflection.ReverseGenerating;
 
 namespace Smdn.Reflection.ReverseGenerating {
   public delegate bool AttributeTypeFilter(Type type, ICustomAttributeProvider attributeProvider);
 
   public enum AttributeSectionFormat : int {
     Discrete = 1,
     List = 0,
   }
 
   public enum Method...
Read more

Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks version 1.1.3

23 Jul 10:59
0d26994
Compare
Choose a tag to compare

Released package

Release notes

The full release notes are available at gist.

Change log

Change log in this release:

API changes

API changes in this release:
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net6.0.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net6.0.apilist.cs
index d76f5ef..bda0586 100644
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net6.0.apilist.cs
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net6.0.apilist.cs
@@ -1,31 +1,31 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.1.2.1)
+// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.1.3)
 //   Name: Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks
-//   AssemblyVersion: 1.1.2.1
-//   InformationalVersion: 1.1.2.1+59722f8c92dea887d08ff8f5e1066a73abebbcfd
+//   AssemblyVersion: 1.1.3.0
+//   InformationalVersion: 1.1.3+497a769080ccdb57be20cd219d394d2bf077a085
 //   TargetFramework: .NETCoreApp,Version=v6.0
 //   Configuration: Release
 #nullable enable annotations
 
 using Microsoft.Build.Framework;
 using Microsoft.Build.Utilities;
 
 namespace Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks {
   public class GenerateApiList : Task {
     public GenerateApiList() {}
 
     [Required]
     public ITaskItem[]? Assemblies { get; set; }
     public bool GenerateAttributeWithNamedArguments { get; set; }
     public bool GenerateFullTypeName { get; set; }
     public bool GenerateLanguagePrimitiveType { get; set; }
     public string? GenerateMethodBody { get; set; }
     public bool GenerateNullableAnnotations { get; set; }
     public bool GenerateStaticMembersFirst { get; set; }
     public bool GenerateTypeNameWithDeclaringTypeName { get; set; }
     public bool GenerateValueWithDefaultLiteral { get; set; }
     [Output]
     public ITaskItem[]? GeneratedFiles { get; }
 
     public override bool Execute() {}
   }
 }
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-netcoreapp3.1.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-netcoreapp3.1.apilist.cs
index f8afbe9..76298c6 100644
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-netcoreapp3.1.apilist.cs
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-netcoreapp3.1.apilist.cs
@@ -1,31 +1,31 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.1.2.1)
+// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.1.3)
 //   Name: Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks
-//   AssemblyVersion: 1.1.2.1
-//   InformationalVersion: 1.1.2.1+59722f8c92dea887d08ff8f5e1066a73abebbcfd
+//   AssemblyVersion: 1.1.3.0
+//   InformationalVersion: 1.1.3+497a769080ccdb57be20cd219d394d2bf077a085
 //   TargetFramework: .NETCoreApp,Version=v3.1
 //   Configuration: Release
 #nullable enable annotations
 
 using Microsoft.Build.Framework;
 using Microsoft.Build.Utilities;
 
 namespace Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks {
   public class GenerateApiList : Task {
     public GenerateApiList() {}
 
     [Required]
     public ITaskItem[]? Assemblies { get; set; }
     public bool GenerateAttributeWithNamedArguments { get; set; }
     public bool GenerateFullTypeName { get; set; }
     public bool GenerateLanguagePrimitiveType { get; set; }
     public string? GenerateMethodBody { get; set; }
     public bool GenerateNullableAnnotations { get; set; }
     public bool GenerateStaticMembersFirst { get; set; }
     public bool GenerateTypeNameWithDeclaringTypeName { get; set; }
     public bool GenerateValueWithDefaultLiteral { get; set; }
     [Output]
     public ITaskItem[]? GeneratedFiles { get; }
 
     public override bool Execute() {}
   }
 }

Full changes

Full changes in this release:
diff --git a/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/GenerateMSBuildTargetsFile.targets b/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/GenerateMSBuildTargetsFile.targets
index f00e3c9..d40dcfb 100644
--- a/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/GenerateMSBuildTargetsFile.targets
+++ b/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/GenerateMSBuildTargetsFile.targets
@@ -51,6 +51,7 @@ SPDX-License-Identifier: MIT
     />
 
     <ItemGroup>
+      <None Pack="true" Include="$(GenerateMSBuildTargetsFileOutputPath)" PackagePath="build" />
       <None Pack="true" Include="$(GenerateMSBuildTargetsFileOutputPath)" PackagePath="buildMultitargeting" />
     </ItemGroup>
   </Target>
diff --git a/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.csproj b/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.csproj
index d27e678..695808c 100644
--- a/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.csproj
+++ b/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.csproj
@@ -6,7 +6,7 @@ SPDX-License-Identifier: MIT
   <PropertyGroup>
     <TargetFrameworks>net6.0;netcoreapp3.1</TargetFrameworks>
     <RootNamespace>Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks</RootNamespace>
-    <VersionPrefix>1.1.2.1</VersionPrefix>
+    <VersionPrefix>1.1.3</VersionPrefix>
     <VersionSuffix></VersionSuffix>
     <Nullable>enable</Nullable>
     <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>

Full Changelog: releases/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.1.2.1...releases/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.1.3

Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks version 1.1.2.1

22 Jul 12:03
61db20c
Compare
Choose a tag to compare

Released package

Release notes

The full release notes are available at gist.

Change log

Change log in this release:

API changes

API changes in this release:
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net6.0.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net6.0.apilist.cs
index f2f58a8..d76f5ef 100644
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net6.0.apilist.cs
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net6.0.apilist.cs
@@ -1,31 +1,31 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.1.2)
+// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.1.2.1)
 //   Name: Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks
-//   AssemblyVersion: 1.1.2.0
-//   InformationalVersion: 1.1.2+2aea6159ebc902a97981020b839b6a5fd056489e
+//   AssemblyVersion: 1.1.2.1
+//   InformationalVersion: 1.1.2.1+59722f8c92dea887d08ff8f5e1066a73abebbcfd
 //   TargetFramework: .NETCoreApp,Version=v6.0
 //   Configuration: Release
 #nullable enable annotations
 
 using Microsoft.Build.Framework;
 using Microsoft.Build.Utilities;
 
 namespace Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks {
   public class GenerateApiList : Task {
     public GenerateApiList() {}
 
     [Required]
     public ITaskItem[]? Assemblies { get; set; }
     public bool GenerateAttributeWithNamedArguments { get; set; }
     public bool GenerateFullTypeName { get; set; }
     public bool GenerateLanguagePrimitiveType { get; set; }
     public string? GenerateMethodBody { get; set; }
     public bool GenerateNullableAnnotations { get; set; }
     public bool GenerateStaticMembersFirst { get; set; }
     public bool GenerateTypeNameWithDeclaringTypeName { get; set; }
     public bool GenerateValueWithDefaultLiteral { get; set; }
     [Output]
     public ITaskItem[]? GeneratedFiles { get; }
 
     public override bool Execute() {}
   }
 }
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-netcoreapp3.1.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-netcoreapp3.1.apilist.cs
index 9559e3a..f8afbe9 100644
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-netcoreapp3.1.apilist.cs
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-netcoreapp3.1.apilist.cs
@@ -1,31 +1,31 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.1.2)
+// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.1.2.1)
 //   Name: Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks
-//   AssemblyVersion: 1.1.2.0
-//   InformationalVersion: 1.1.2+2aea6159ebc902a97981020b839b6a5fd056489e
+//   AssemblyVersion: 1.1.2.1
+//   InformationalVersion: 1.1.2.1+59722f8c92dea887d08ff8f5e1066a73abebbcfd
 //   TargetFramework: .NETCoreApp,Version=v3.1
 //   Configuration: Release
 #nullable enable annotations
 
 using Microsoft.Build.Framework;
 using Microsoft.Build.Utilities;
 
 namespace Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks {
   public class GenerateApiList : Task {
     public GenerateApiList() {}
 
     [Required]
     public ITaskItem[]? Assemblies { get; set; }
     public bool GenerateAttributeWithNamedArguments { get; set; }
     public bool GenerateFullTypeName { get; set; }
     public bool GenerateLanguagePrimitiveType { get; set; }
     public string? GenerateMethodBody { get; set; }
     public bool GenerateNullableAnnotations { get; set; }
     public bool GenerateStaticMembersFirst { get; set; }
     public bool GenerateTypeNameWithDeclaringTypeName { get; set; }
     public bool GenerateValueWithDefaultLiteral { get; set; }
     [Output]
     public ITaskItem[]? GeneratedFiles { get; }
 
     public override bool Execute() {}
   }
 }

Full changes

Full changes in this release:
diff --git a/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.csproj b/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.csproj
index a4fb3f1..d27e678 100644
--- a/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.csproj
+++ b/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.csproj
@@ -6,7 +6,7 @@ SPDX-License-Identifier: MIT
   <PropertyGroup>
     <TargetFrameworks>net6.0;netcoreapp3.1</TargetFrameworks>
     <RootNamespace>Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks</RootNamespace>
-    <VersionPrefix>1.1.2</VersionPrefix>
+    <VersionPrefix>1.1.2.1</VersionPrefix>
     <VersionSuffix></VersionSuffix>
     <Nullable>enable</Nullable>
     <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>

Full Changelog: releases/Smdn.Reflection.ReverseGenerating.ListApi-1.1.0.1...releases/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.1.2.1

Smdn.Reflection.ReverseGenerating.ListApi.Core version 1.1.2.1

22 Jul 12:02
8c51bcd
Compare
Choose a tag to compare

Released package

Release notes

The full release notes are available at gist.

Change log

Change log in this release:

API changes

API changes in this release:
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core-net6.0.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core-net6.0.apilist.cs
index c372f0e..ff1b1a0 100644
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core-net6.0.apilist.cs
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core-net6.0.apilist.cs
@@ -1,67 +1,67 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.Core.dll (Smdn.Reflection.ReverseGenerating.ListApi.Core-1.1.2)
+// Smdn.Reflection.ReverseGenerating.ListApi.Core.dll (Smdn.Reflection.ReverseGenerating.ListApi.Core-1.1.2.1)
 //   Name: Smdn.Reflection.ReverseGenerating.ListApi.Core
-//   AssemblyVersion: 1.1.2.0
-//   InformationalVersion: 1.1.2+3059a983a624895dd6329f952eac8aad840a581f
+//   AssemblyVersion: 1.1.2.1
+//   InformationalVersion: 1.1.2.1+59722f8c92dea887d08ff8f5e1066a73abebbcfd
 //   TargetFramework: .NETCoreApp,Version=v6.0
 //   Configuration: Release
 #nullable enable annotations
 
 using System;
 using System.Collections.Generic;
 using System.Diagnostics.CodeAnalysis;
 using System.IO;
 using System.Reflection;
 using System.Runtime.Versioning;
 using Microsoft.Extensions.Logging;
 using Smdn.Reflection.ReverseGenerating;
 using Smdn.Reflection.ReverseGenerating.ListApi;
 
 namespace Smdn.Reflection.ReverseGenerating.ListApi {
   public class ApiListWriter {
     public ApiListWriter(TextWriter baseWriter, Assembly assembly, ApiListWriterOptions options) {}
 
     public TextWriter BaseWriter { get; }
 
     public void WriteAssemblyInfoHeader() {}
     public void WriteExportedTypes() {}
   }
 
   public class ApiListWriterOptions : GeneratorOptions {
     public class WriterOptions {
       public WriterOptions() {}
 
       public bool OrderStaticMembersFirst { get; set; }
       public bool WriteNullableAnnotationDirective { get; set; }
     }
 
     public ApiListWriterOptions() {}
 
     public ApiListWriterOptions.WriterOptions Writer { get; }
   }
 
   public static class AssemblyExtensions {
     [return: MaybeNull] public static TValue GetAssemblyMetadataAttributeValue<TAssemblyMetadataAttribute, TValue>(this Assembly assm) where TAssemblyMetadataAttribute : Attribute {}
   }
 
   public static class AssemblyLoader {
     [return: MaybeNull] public static TResult UsingAssembly<TArg, TResult>(FileInfo assemblyFile, bool loadIntoReflectionOnlyContext, TArg arg, Func<Assembly, TArg, TResult> actionWithLoadedAssembly, out WeakReference? context, ILogger? logger = null) {}
   }
 
   public static class AttributeFilter {
     public static readonly AttributeTypeFilter Default; // = "Smdn.Reflection.ReverseGenerating.AttributeTypeFilter"
   }
 
   public static class FrameworkMonikers {
     public static bool TryGetMoniker(FrameworkName frameworkName, string? osSpecifier, [NotNullWhen(true)] out string? frameworkMoniker) {}
   }
 
   public class MemberInfoComparer : IComparer<MemberInfo> {
     public static readonly MemberInfoComparer Default; // = "Smdn.Reflection.ReverseGenerating.ListApi.MemberInfoComparer"
     public static readonly MemberInfoComparer StaticMembersFirst; // = "Smdn.Reflection.ReverseGenerating.ListApi.MemberInfoComparer"
 
     public MemberInfoComparer(int orderOfStaticMember, int orderOfInstanceMember) {}
 
     public int Compare(MemberInfo? x, MemberInfo? y) {}
     public int GetOrder(MemberInfo? member) {}
   }
 }
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core-netcoreapp3.1.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core-netcoreapp3.1.apilist.cs
index 94de56d..742b730 100644
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core-netcoreapp3.1.apilist.cs
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core-netcoreapp3.1.apilist.cs
@@ -1,67 +1,67 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.Core.dll (Smdn.Reflection.ReverseGenerating.ListApi.Core-1.1.2)
+// Smdn.Reflection.ReverseGenerating.ListApi.Core.dll (Smdn.Reflection.ReverseGenerating.ListApi.Core-1.1.2.1)
 //   Name: Smdn.Reflection.ReverseGenerating.ListApi.Core
-//   AssemblyVersion: 1.1.2.0
-//   InformationalVersion: 1.1.2+3059a983a624895dd6329f952eac8aad840a581f
+//   AssemblyVersion: 1.1.2.1
+//   InformationalVersion: 1.1.2.1+59722f8c92dea887d08ff8f5e1066a73abebbcfd
 //   TargetFramework: .NETCoreApp,Version=v3.1
 //   Configuration: Release
 #nullable enable annotations
 
 using System;
 using System.Collections.Generic;
 using System.Diagnostics.CodeAnalysis;
 using System.IO;
 using System.Reflection;
 using System.Runtime.Versioning;
 using Microsoft.Extensions.Logging;
 using Smdn.Reflection.ReverseGenerating;
 using Smdn.Reflection.ReverseGenerating.ListApi;
 
 namespace Smdn.Reflection.ReverseGenerating.ListApi {
   public class ApiListWriter {
     public ApiListWriter(TextWriter baseWriter, Assembly assembly, ApiListWriterOptions options) {}
 
     public TextWriter BaseWriter { get; }
 
     public void WriteAssemblyInfoHeader() {}
     public void WriteExportedTypes() {}
   }
 
   public class ApiListWriterOptions : GeneratorOptions {
     public class WriterOptions {
       public WriterOptions() {}
 
       public bool OrderStaticMembersFirst { get; set; }
       public bool WriteNullableAnnotationDirective { get; set; }
     }
 
     public ApiListWriterOptions() {}
 
     public ApiListWriterOptions.WriterOptions Writer { get; }
   }
 
   public static class AssemblyExtensions {
     [return: MaybeNull] public static TValue GetAssemblyMetadataAttributeValue<TAssemblyMetadataAttribute, TValue>(this Assembly assm) where TAssemblyMetadataAttribute : Attribute {}
   }
 
   public static class AssemblyLoader {
     [return: MaybeNull] public static TResult UsingAssembly<TArg, TResult>(FileInfo assemblyFile, bool loadIntoReflectionOnlyContext, TArg arg, Func<Assembly, TArg, TResult> actionWithLoadedAssembly, out WeakReference? context, ILogger? logger = null) {}
   }
 
   public static class AttributeFilter {
     public static readonly AttributeTypeFilter Default; // = "Smdn.Reflection.ReverseGenerating.AttributeTypeFilter"
   }
 
   public static class FrameworkMonikers {
     public static bool TryGetMoniker(FrameworkName frameworkName, string? osSpecifier, [NotNullWhen(true)] out string? frameworkMoniker) {}
   }
 
   public class MemberInfoComparer : IComparer<MemberInfo> {
     public static readonly MemberInfoComparer Default; // = "Smdn.Reflection.ReverseGenerating.ListApi.MemberInfoComparer"
     public static readonly MemberInfoComparer StaticMembersFirst; // = "Smdn.Reflection.ReverseGenerating.ListApi.MemberInfoComparer"
 
     public MemberInfoComparer(int orderOfStaticMember, int orderOfInstanceMember) {}
 
     public int Compare(MemberInfo? x, MemberInfo? y) {}
     public int GetOrder(MemberInfo? member) {}
   }
 }

Full changes

Full changes in this release:
diff --git a/src/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core.csproj b/src/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core.csproj
index de3659d..1ee78c3 100644
--- a/src/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core.csproj
+++ b/src/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core.csproj
@@ -6,7 +6,7 @@ SPDX-License-Identifier: MIT
   <PropertyGroup>
     <TargetFrameworks>net6.0;netcoreapp3.1</TargetFrameworks>
     <RootNamespace>Smdn.Reflection.ReverseGenerating.ListApi.Core</RootNamespace>
-    <VersionPrefix>1.1.2</VersionPrefix>
+    <VersionPrefix>1.1.2.1</VersionPrefix>
     <VersionSuffix></VersionSuffix>
     <PackageValidationBaselineVersion>1.0.0</PackageValidationBaselineVersion>
     <Nullable>enable</Nullable>
diff --git a/src/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi/AttributeFilter.cs b/src/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi/AttributeFilter.cs
index 67d6afd..a4e1be3 100644
--- a/src/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi/AttributeFilter.cs
+++ b/src/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi/AttributeFilter.cs
@@ -1,7 +1,6 @@
 // SPDX-FileCopyrightText: 2021 smdn <smdn@smdn.jp>
 // SPDX-License-Identifier: MIT
 using System;
-using System.Linq;
 using System.Reflection;
 
 namespace Smdn.Reflection.ReverseGenerating.ListApi;

Full Changelog: https://github.com/smdn/Smdn.Reflection.ReverseGenerating/comp...

Read more

Smdn.Reflection.ReverseGenerating.ListApi version 1.1.0.1

22 Jul 12:02
1787540
Compare
Choose a tag to compare

Released package

Release notes

The full release notes are available at gist.

Change log

Change log in this release:

Full changes

Full changes in this release:
diff --git a/src/Smdn.Reflection.ReverseGenerating.ListApi/Smdn.Reflection.ReverseGenerating.ListApi.csproj b/src/Smdn.Reflection.ReverseGenerating.ListApi/Smdn.Reflection.ReverseGenerating.ListApi.csproj
index c4e9d4d..6a67fb6 100644
--- a/src/Smdn.Reflection.ReverseGenerating.ListApi/Smdn.Reflection.ReverseGenerating.ListApi.csproj
+++ b/src/Smdn.Reflection.ReverseGenerating.ListApi/Smdn.Reflection.ReverseGenerating.ListApi.csproj
@@ -9,7 +9,7 @@ SPDX-License-Identifier: MIT
     <TargetFrameworks>net6.0<!-- ;net472 --></TargetFrameworks>
     <AssemblyName>Smdn.Reflection.ReverseGenerating.ListApi</AssemblyName>
     <ToolCommandName>list-api</ToolCommandName>
-    <VersionPrefix>1.1.0</VersionPrefix>
+    <VersionPrefix>1.1.0.1</VersionPrefix>
     <VersionSuffix></VersionSuffix>
     <Nullable>enable</Nullable>
     <EnableFeature_BuildProjectFile Condition=" '$(Configuration)' != 'Release' ">true</EnableFeature_BuildProjectFile>

Full Changelog: releases/Smdn.Reflection.ReverseGenerating.ListApi.Core-1.1.2.1...releases/Smdn.Reflection.ReverseGenerating.ListApi-1.1.0.1

Smdn.Reflection.ReverseGenerating version 1.1.3

22 Jul 11:51
bb59f6d
Compare
Choose a tag to compare

Released package

Release notes

The full release notes are available at gist.

Change log

Change log in this release:

API changes

API changes in this release:
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net45.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net45.apilist.cs
index 7044626..bc58591 100644
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net45.apilist.cs
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net45.apilist.cs
@@ -1,123 +1,125 @@
-// Smdn.Reflection.ReverseGenerating.dll (Smdn.Reflection.ReverseGenerating-1.1.2)
+// Smdn.Reflection.ReverseGenerating.dll (Smdn.Reflection.ReverseGenerating-1.1.3)
 //   Name: Smdn.Reflection.ReverseGenerating
-//   AssemblyVersion: 1.1.2.0
-//   InformationalVersion: 1.1.2+775287448dc58ab1c9fb7f0618d8c8bb6de9e775
+//   AssemblyVersion: 1.1.3.0
+//   InformationalVersion: 1.1.3+f6167551bdfd2449c464509449137c454604db0f
 //   TargetFramework: .NETFramework,Version=v4.5
 //   Configuration: Release
 #nullable enable annotations
 
 using System;
 using System.Collections.Generic;
 using System.Reflection;
 using Smdn.Reflection;
 using Smdn.Reflection.ReverseGenerating;
 
 namespace Smdn.Reflection.ReverseGenerating {
   public delegate bool AttributeTypeFilter(Type type, ICustomAttributeProvider attributeProvider);
 
   public enum AttributeSectionFormat : int {
     Discrete = 1,
     List = 0,
   }
 
   public enum MethodBodyOption : int {
     EmptyImplementation = 1,
     None = 0,
     ThrowNotImplementedException = 2,
     ThrowNull = 3,
   }
 
   public static class CSharpFormatter {
     public static string EscapeString(string s, bool escapeSingleQuote = false, bool escapeDoubleQuote = false) {}
     public static string FormatAccessibility(Accessibility accessibility) {}
     public static string FormatParameter(ParameterInfo p, bool typeWithNamespace = true, bool useDefaultLiteral = false) {}
     public static string FormatParameterList(MethodBase m, bool typeWithNamespace = true, bool useDefaultLiteral = false) {}
     public static string FormatParameterList(ParameterInfo[] parameterList, bool typeWithNamespace = true, bool useDefaultLiteral = false) {}
     public static string FormatSpecialNameMethod(MethodBase methodOrConstructor, out MethodSpecialName nameType) {}
     public static string FormatTypeName(this EventInfo ev, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
     public static string FormatTypeName(this FieldInfo f, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
     public static string FormatTypeName(this ParameterInfo p, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
     public static string FormatTypeName(this PropertyInfo p, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
     public static string FormatTypeName(this Type t, ICustomAttributeProvider? attributeProvider = null, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
     public static string FormatValueDeclaration(object? val, Type typeOfValue, bool typeWithNamespace = true, bool findConstantField = false, bool useDefaultLiteral = false) {}
     public static bool IsLanguagePrimitiveType(Type t, out string primitiveTypeName) {}
     public static IEnumerable<string> ToNamespaceList(Type t) {}
   }
 
   public static class Generator {
     public static IEnumerable<string> GenerateAttributeList(ICustomAttributeProvider attributeProvider, ISet<string>? referencingNamespaces, GeneratorOptions options) {}
     public static IEnumerable<string> GenerateExplicitBaseTypeAndInterfaces(Type t, ISet<string>? referencingNamespaces, GeneratorOptions options) {}
+    [Obsolete("Use GenerateGenericParameterConstraintDeclaration instead.")]
     public static string GenerateGenericArgumentConstraintDeclaration(Type genericArgument, ISet<string>? referencingNamespaces, GeneratorOptions options) {}
+    public static string GenerateGenericParameterConstraintDeclaration(Type genericParameter, ISet<string>? referencingNamespaces, GeneratorOptions options) {}
     public static string? GenerateMemberDeclaration(MemberInfo member, ISet<string>? referencingNamespaces, GeneratorOptions options) {}
     public static string GenerateTypeDeclaration(Type t, ISet<string>? referencingNamespaces, GeneratorOptions options) {}
     public static IEnumerable<string> GenerateTypeDeclarationWithExplicitBaseTypeAndInterfaces(Type t, ISet<string>? referencingNamespaces, GeneratorOptions options) {}
   }
 
   public class GeneratorOptions : ICloneable {
     public class AttributeDeclarationOptions {
       public AttributeDeclarationOptions() {}
 
       public AttributeSectionFormat AccessorFormat { get; set; }
       public AttributeSectionFormat AccessorParameterFormat { get; set; }
       public AttributeSectionFormat BackingFieldFormat { get; set; }
       public AttributeSectionFormat DelegateParameterFormat { get; set; }
       public AttributeSectionFormat GenericParameterFormat { get; set; }
       public AttributeSectionFormat MethodParameterFormat { get; set; }
       public bool OmitAttributeSuffix { get; set; }
       public AttributeTypeFilter? TypeFilter { get; set; }
       public bool WithDeclaringTypeName { get; set; }
       public bool WithNamedArguments { get; set; }
       public bool WithNamespace { get; set; }
     }
 
     public class MemberDeclarationOptions {
       public MemberDeclarationOptions() {}
 
       public MethodBodyOption AccessorBody { get; set; }
       public MethodBodyOption MethodBody { get; set; }
       public bool OmitEndOfStatement { get; set; }
       public bool WithAccessibility { get; set; }
       public bool WithDeclaringTypeName { get; set; }
       public bool WithEnumTypeName { get; set; }
       public bool WithNamespace { get; set; }
     }
 
     public class ParameterDeclarationOptions {
       public ParameterDeclarationOptions() {}
 
       public bool WithDeclaringTypeName { get; set; }
       public bool WithNamespace { get; set; }
     }
 
     public class TypeDeclarationOptions {
       public TypeDeclarationOptions() {}
 
       public bool OmitEndOfStatement { get; set; }
       public bool WithAccessibility { get; set; }
       public bool WithDeclaringTypeName { get; set; }
       public bool WithNamespace { get; set; }
     }
 
     public class ValueDeclarationOptions {
       public ValueDeclarationOptions() {}
 
       public bool UseDefaultLiteral { get; set; }
       public bool WithDeclaringTypeName { get; set; }
       public bool WithNamespace { get; set; }
     }
 
     public GeneratorOptions() {}
 
     public GeneratorOptions.AttributeDeclarationOptions AttributeDeclaration { get; init; }
     public bool IgnorePrivateOrAssembly { get; set; }
     public string? Indent { get; set; }
     public GeneratorOptions.MemberDeclarationOptions MemberDeclaration { get; init; }
     public GeneratorOptions.ParameterDeclarationOptions ParameterDeclaration { get; init; }
     public bool TranslateLanguagePrimitiveTypeDeclaration { get; set; }
     public GeneratorOptions.TypeDeclarationOptions TypeDeclaration { get; init; }
     public GeneratorOptions.ValueDeclarationOptions ValueDeclaration { get; init; }
 
     public virtual GeneratorOptions Clone() {}
     object ICloneable.Clone() {}
   }
 }
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net47.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net47.apilist.cs
index c5584e3..84062b4 100644
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net47.apilist.cs
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net47.apilist.cs
@@ -1,123 +1,125 @@
-// Smdn.Reflection.ReverseGenerating.dll (Smdn.Reflection.ReverseGenerating-1.1.2)
+// Smdn.Reflection.ReverseGenerating.dll (Smdn.Reflection.ReverseGenerating-1.1.3)
 //   Name: Smdn.Reflection.ReverseGenerating
-//   AssemblyVersion: 1.1.2.0
-//   InformationalVersion: 1.1.2+775287448dc58ab1c9fb7f0618d8c8bb6de9e775
+//   A...
Read more

Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks version 1.1.2

20 Jul 09:30
fa64342
Compare
Choose a tag to compare

Released package

Release notes

The full release notes are available at gist.

Change log

Change log in this release:

API changes

API changes in this release:
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net6.0.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net6.0.apilist.cs
index cf0e594..f2f58a8 100644
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net6.0.apilist.cs
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net6.0.apilist.cs
@@ -1,31 +1,31 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.1.1)
+// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.1.2)
 //   Name: Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks
-//   AssemblyVersion: 1.1.1.0
-//   InformationalVersion: 1.1.1+eb4f4a6e529b87faf061f136793c18a560867f3b
+//   AssemblyVersion: 1.1.2.0
+//   InformationalVersion: 1.1.2+2aea6159ebc902a97981020b839b6a5fd056489e
 //   TargetFramework: .NETCoreApp,Version=v6.0
 //   Configuration: Release
 #nullable enable annotations
 
 using Microsoft.Build.Framework;
 using Microsoft.Build.Utilities;
 
 namespace Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks {
   public class GenerateApiList : Task {
     public GenerateApiList() {}
 
     [Required]
     public ITaskItem[]? Assemblies { get; set; }
     public bool GenerateAttributeWithNamedArguments { get; set; }
     public bool GenerateFullTypeName { get; set; }
     public bool GenerateLanguagePrimitiveType { get; set; }
     public string? GenerateMethodBody { get; set; }
     public bool GenerateNullableAnnotations { get; set; }
     public bool GenerateStaticMembersFirst { get; set; }
     public bool GenerateTypeNameWithDeclaringTypeName { get; set; }
     public bool GenerateValueWithDefaultLiteral { get; set; }
     [Output]
     public ITaskItem[]? GeneratedFiles { get; }
 
     public override bool Execute() {}
   }
 }
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-netcoreapp3.1.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-netcoreapp3.1.apilist.cs
index 65b4fcc..9559e3a 100644
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-netcoreapp3.1.apilist.cs
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-netcoreapp3.1.apilist.cs
@@ -1,31 +1,31 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.1.1)
+// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.1.2)
 //   Name: Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks
-//   AssemblyVersion: 1.1.1.0
-//   InformationalVersion: 1.1.1+eb4f4a6e529b87faf061f136793c18a560867f3b
+//   AssemblyVersion: 1.1.2.0
+//   InformationalVersion: 1.1.2+2aea6159ebc902a97981020b839b6a5fd056489e
 //   TargetFramework: .NETCoreApp,Version=v3.1
 //   Configuration: Release
 #nullable enable annotations
 
 using Microsoft.Build.Framework;
 using Microsoft.Build.Utilities;
 
 namespace Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks {
   public class GenerateApiList : Task {
     public GenerateApiList() {}
 
     [Required]
     public ITaskItem[]? Assemblies { get; set; }
     public bool GenerateAttributeWithNamedArguments { get; set; }
     public bool GenerateFullTypeName { get; set; }
     public bool GenerateLanguagePrimitiveType { get; set; }
     public string? GenerateMethodBody { get; set; }
     public bool GenerateNullableAnnotations { get; set; }
     public bool GenerateStaticMembersFirst { get; set; }
     public bool GenerateTypeNameWithDeclaringTypeName { get; set; }
     public bool GenerateValueWithDefaultLiteral { get; set; }
     [Output]
     public ITaskItem[]? GeneratedFiles { get; }
 
     public override bool Execute() {}
   }
 }

Full changes

Full changes in this release:
diff --git a/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Directory.Build.targets b/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Directory.Build.targets
index 1a8f8a4..268af64 100644
--- a/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Directory.Build.targets
+++ b/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Directory.Build.targets
@@ -6,5 +6,6 @@ SPDX-License-Identifier: MIT
   <ImportGroup>
     <Import Project="$(MSBuildThisFileDirectory)..\Directory.Build.targets" />
     <Import Project="$(MSBuildThisFileDirectory)UsingExportedTasks.targets" />
+    <Import Project="$(MSBuildThisFileDirectory)ReadmeFile.targets" />
   </ImportGroup>
 </Project>
diff --git a/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/ReadmeFile.targets b/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/ReadmeFile.targets
new file mode 100644
index 0000000..7020fb3
--- /dev/null
+++ b/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/ReadmeFile.targets
@@ -0,0 +1,90 @@
+<!--
+SPDX-FileCopyrightText: 2022 smdn <smdn@smdn.jp>
+SPDX-License-Identifier: MIT
+-->
+<Project>
+  <PropertyGroup>
+    <PackageReadmeFile>README.md</PackageReadmeFile>
+    <NupkgReadmeFileOutputPath>$(OutputPath)$(PackageReadmeFile)</NupkgReadmeFileOutputPath>
+  </PropertyGroup>
+
+  <ItemGroup>
+    <None Include="$(NupkgReadmeFileOutputPath)" Pack="true" PackagePath="$(PackageReadmeFile)" />
+  </ItemGroup>
+
+  <!-- overrides the target GenerateNupkgReadmeFile from Smdn.MSBuild.ProjectAssets.Library -->
+  <Target
+    Name="GenerateNupkgReadmeFile"
+    BeforeTargets="GenerateNuspec"
+  >
+    <ItemGroup>
+      <CoreAssemblyOutputs Include="$(OutputPath)**\Smdn*.dll"/>
+    </ItemGroup>
+
+    <GetCoreAssemblyInformationsFromLoadedAssembly AssemblyNames="%(CoreAssemblyOutputs.Filename)" Condition="'$(UseExportedTasksFromOutputAssembly)' == 'true'">
+      <Output TaskParameter="AssemblyInformations" ItemName="CoreAssemblyInformations" />
+    </GetCoreAssemblyInformationsFromLoadedAssembly>
+
+    <ItemGroup>
+      <_NupkgReadmeLines Include="# $(AssemblyName)" />
+      <_NupkgReadmeLines Include="$(Description)" />
+      <_NupkgReadmeLines Include="## Included tasks" />
+      <_NupkgReadmeLines Include="This package contains the following MSBuild tasks." />
+      <_NupkgReadmeLines Include="- `%(ExportTaskNames.Identity)`" />
+      <_NupkgReadmeLines Include="## Included assemblies" />
+      <_NupkgReadmeLines Include="This package contains the following assemblies." />
+      <_NupkgReadmeLines Include="- %(CoreAssemblyInformations.Identity) %(CoreAssemblyInformations.InformationalVersion)" />
+    </ItemGroup>
+
+    <WriteLinesToFile
+      File="$(NupkgReadmeFileOutputPath)"
+      Lines="@(_NupkgReadmeLines)"
+      Overwrite="true"
+    />
+  </Target>
+
+  <UsingTask
+    TaskName="GetCoreAssemblyInformationsFromLoadedAssembly"
+    TaskFactory="RoslynCodeTaskFactory"
+    AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll"
+  >
+    <ParameterGroup>
+      <AssemblyNames ParameterType="Microsoft.Build.Framework.ITaskItem[]" Required="true" />
+      <AssemblyInformations ParameterType="Microsoft.Build.Framework.ITaskItem[]" Output="true" />
+    </ParameterGroup>
+    <Task>
+      <Using Namespace="System" />
+      <Using Namespace="System.Linq" />
+      <Using Namespace="System.Reflection" />
+      <Using Namespace="System.Runtime.Versioning" />
+      <Code Type="Fragment" Language="cs"><![CDATA[
+        AssemblyInformations = AssemblyNames
+          .Select(item =>
+            AppDomain
+              .CurrentDomain
+              .GetAssemblies()
+              .First(assm => assm.GetName().Name == item.ItemSpec)
+          )
+          .Select(static assm =>
+            (
+              Name: assm.GetName().Name,
+              InformationalVersion: assm.GetCustomAttribute<AssemblyInformationalVersionAttribute>().InformationalVersion,
+              TargetFramework: assm.GetCustomAttribute<TargetFrameworkAttribute>().FrameworkName
+            )
+          )
+          .Distinct()
+          .OrderBy(static info => info.Name)
+          .Select(static info =>
+            new TaskItem(
+              info.Name,
+              new Dictionary<string, string>() {
+                { nameof(info.Info...
Read more