Releases: smdn/Smdn.Reflection.ReverseGenerating
Releases · smdn/Smdn.Reflection.ReverseGenerating
Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks version 1.5.0
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2024-12-14 add comment
- 2024-12-14 update assembly version
- 2024-12-14 add support for .NET 9
- 2024-12-14 drop target framework net6.0
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
deleted file mode 100644
index 22a7295..0000000
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net6.0.apilist.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.4.1)
-// Name: Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks
-// AssemblyVersion: 1.4.1.0
-// InformationalVersion: 1.4.1+ab57e3a1a2b0640497492ded79982ed017bc9d8d
-// TargetFramework: .NETCoreApp,Version=v6.0
-// Configuration: Release
-// Referenced assemblies:
-// Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-// Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-// Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
-// Smdn.Reflection.ReverseGenerating, Version=1.3.0.0, Culture=neutral
-// Smdn.Reflection.ReverseGenerating.ListApi.Core, Version=1.3.1.0, Culture=neutral
-// System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-// System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-// System.Text.Encoding.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-#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 GenerateAssemblyInfo { 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 GenerateReferencedAssemblies { get; set; }
- public bool GenerateStaticMembersFirst { get; set; }
- public bool GenerateTypeNameWithDeclaringTypeName { get; set; }
- public bool GenerateValueWithDefaultLiteral { get; set; }
- [Output]
- public ITaskItem[]? GeneratedFiles { get; }
- public bool ThrowIfForwardedTypesCouldNotLoaded { get; set; }
-
- public override bool Execute() {}
- }
-}
-// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.4.1.0.
-// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.3.1.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net8.0.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net8.0.apilist.cs
index c0fe0ff..52088cd 100644
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net8.0.apilist.cs
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net8.0.apilist.cs
@@ -1,46 +1,46 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.4.1)
+// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.5.0)
// Name: Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks
-// AssemblyVersion: 1.4.1.0
-// InformationalVersion: 1.4.1+ab57e3a1a2b0640497492ded79982ed017bc9d8d
+// AssemblyVersion: 1.5.0.0
+// InformationalVersion: 1.5.0+46795e683ad7589956c2248284abae8fee6923cb
// TargetFramework: .NETCoreApp,Version=v8.0
// Configuration: Release
// Referenced assemblies:
// Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
// Smdn.Reflection.ReverseGenerating, Version=1.3.0.0, Culture=neutral
// Smdn.Reflection.ReverseGenerating.ListApi.Core, Version=1.3.1.0, Culture=neutral
// System.Collections, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Text.Encoding.Extensions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
#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 GenerateAssemblyInfo { 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 GenerateReferencedAssemblies { get; set; }
public bool GenerateStaticMembersFirst { get; set; }
public bool GenerateTypeNameWithDeclaringTypeName { get; set; }
public bool GenerateValueWithDefaultLiteral { get; set; }
[Output]
public ITaskItem[]? GeneratedFiles { get; }
public bool ThrowIfForwardedTypesCouldNotLoaded { get; set; }
public override bool Execute() {}
}
}
-// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.4.1.0.
+// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.5.0.0.
// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.3.1.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
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 57a4ddf..a88873b 100644
--- a/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/GenerateMSBuildTargetsFile.targets
+++ b/src/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/GenerateMSBuildTargetsFile.targets
@@ -23,18 +23,14 @@ SPDX-License-Identifier: MIT
<!-- TODO: MSBuildRuntimeType == Full, Mono and otherwise -->
<GenerateMSBuildTargetsFileLines><![CDATA[
<Project>
- <ImportGroup Condition=" '%24(MSBuildRuntimeType)' == 'Core' and %24([System.Runtime.InteropServices.RuntimeInformation]::FrameworkDescription.StartsWith('.NET 6.')) ">
- <!-- .NET 6.x -->
- @(TaskFiles->WithMetadataValue('TargetFramework', 'net6.0')->'%(ImportLine)', '%0D%0A ')
- </ImportGroup>
- <ImportGroup Condition=" '%24(MSBuildRuntimeType)' == 'Core' and %24([System.Runtime.InteropServices.RuntimeInformation]::FrameworkDescription.StartsWith('.NET 7.')) ">
- <!-- .NET 7.x -->
- @(TaskFiles->WithMetadataValue('TargetFramework', 'net6.0')->'%(ImportLine)', '%0D%0A ')
- </ImportGroup>
<ImportGroup Condition=" '%24(MSBuildRuntimeType)' == 'Core' and %24([System.Runtime.InteropServices.RuntimeInformation]::FrameworkDescription.StartsWith('.NET 8.')) ">
<!-- .NET 8.x -->
@(TaskFiles->WithMetadataValue('TargetFramework', 'net8.0')->'%(ImportLine)', '%0D%0A ')
</ImportGroup>
+ <ImportGroup Condition=" '%24(MSBuildRuntimeType)' == 'Core' and %24([System.Runtime.InteropServices.RuntimeInformation]::FrameworkDescription.StartsWith('.NET 9.')) ">
+ <!-- .NET 9.x (use files that target .NET 8) -->
+ @(TaskFiles->WithMetadataValue('TargetFramework', 'net8.0')->'%(ImportLine)', '%0D%0A ')
+ </ImportGroup>
</Project>
]]></GenerateMSBuildTargetsFileLines>
</PropertyGroup>
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.M...
Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks version 1.4.1
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2024-03-30 update assembly version
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 c0c069c..22a7295 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,46 +1,46 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.4.0)
+// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.4.1)
// Name: Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks
-// AssemblyVersion: 1.4.0.0
-// InformationalVersion: 1.4.0+78f3fa29f3ae3518d1679e7201fc18b45d836481
+// AssemblyVersion: 1.4.1.0
+// InformationalVersion: 1.4.1+ab57e3a1a2b0640497492ded79982ed017bc9d8d
// TargetFramework: .NETCoreApp,Version=v6.0
// Configuration: Release
// Referenced assemblies:
// Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
// Smdn.Reflection.ReverseGenerating, Version=1.3.0.0, Culture=neutral
-// Smdn.Reflection.ReverseGenerating.ListApi.Core, Version=1.3.0.0, Culture=neutral
+// Smdn.Reflection.ReverseGenerating.ListApi.Core, Version=1.3.1.0, Culture=neutral
// System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Text.Encoding.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
#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 GenerateAssemblyInfo { 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 GenerateReferencedAssemblies { get; set; }
public bool GenerateStaticMembersFirst { get; set; }
public bool GenerateTypeNameWithDeclaringTypeName { get; set; }
public bool GenerateValueWithDefaultLiteral { get; set; }
[Output]
public ITaskItem[]? GeneratedFiles { get; }
public bool ThrowIfForwardedTypesCouldNotLoaded { get; set; }
public override bool Execute() {}
}
}
-// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.4.0.0.
-// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.3.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
+// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.4.1.0.
+// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.3.1.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net8.0.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net8.0.apilist.cs
index 1e94c91..c0fe0ff 100644
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net8.0.apilist.cs
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net8.0.apilist.cs
@@ -1,46 +1,46 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.4.0)
+// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.4.1)
// Name: Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks
-// AssemblyVersion: 1.4.0.0
-// InformationalVersion: 1.4.0+78f3fa29f3ae3518d1679e7201fc18b45d836481
+// AssemblyVersion: 1.4.1.0
+// InformationalVersion: 1.4.1+ab57e3a1a2b0640497492ded79982ed017bc9d8d
// TargetFramework: .NETCoreApp,Version=v8.0
// Configuration: Release
// Referenced assemblies:
// Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
// Smdn.Reflection.ReverseGenerating, Version=1.3.0.0, Culture=neutral
-// Smdn.Reflection.ReverseGenerating.ListApi.Core, Version=1.3.0.0, Culture=neutral
+// Smdn.Reflection.ReverseGenerating.ListApi.Core, Version=1.3.1.0, Culture=neutral
// System.Collections, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Text.Encoding.Extensions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
#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 GenerateAssemblyInfo { 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 GenerateReferencedAssemblies { get; set; }
public bool GenerateStaticMembersFirst { get; set; }
public bool GenerateTypeNameWithDeclaringTypeName { get; set; }
public bool GenerateValueWithDefaultLiteral { get; set; }
[Output]
public ITaskItem[]? GeneratedFiles { get; }
public bool ThrowIfForwardedTypesCouldNotLoaded { get; set; }
public override bool Execute() {}
}
}
-// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.4.0.0.
-// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.3.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
+// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.4.1.0.
+// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.3.1.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
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 f0740af..c54065c 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>net8.0;net6.0</TargetFrameworks>
<RootNamespace>Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks</RootNamespace>
- <VersionPrefix>1.4.0</VersionPrefix>
+ <VersionPrefix>1.4.1</VersionPrefix>
<VersionSuffix></VersionSuffix>
<RootNamespace/> <!-- empty the root namespace so that the namespace is determined only by the directory name, for code style rule IDE0030 -->
<Nullable>enable</Nullable>
Notes
Full Changelog: releases/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.4.0...releases/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.4.1
Smdn.Reflection.ReverseGenerating.ListApi.Core version 1.3.1
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 f498d41..76b7a57 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,99 +1,99 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.Core.dll (Smdn.Reflection.ReverseGenerating.ListApi.Core-1.3.0)
+// Smdn.Reflection.ReverseGenerating.ListApi.Core.dll (Smdn.Reflection.ReverseGenerating.ListApi.Core-1.3.1)
// Name: Smdn.Reflection.ReverseGenerating.ListApi.Core
-// AssemblyVersion: 1.3.0.0
-// InformationalVersion: 1.3.0+54328733b5796254153c4c81506d16c69c41f84c
+// AssemblyVersion: 1.3.1.0
+// InformationalVersion: 1.3.1+2045310a22e5222b2462fc1f376ef4522587ec1e
// TargetFramework: .NETCoreApp,Version=v6.0
// Configuration: Release
// Referenced assemblies:
// Microsoft.Extensions.DependencyModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
// Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
// Smdn.Fundamental.Reflection, Version=3.6.0.0, Culture=neutral
// Smdn.Reflection.ReverseGenerating, Version=1.3.0.0, Culture=neutral
// System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Linq, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Reflection.MetadataLoadContext, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
// System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Runtime.Loader, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
#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 ApiListWriter(TextWriter baseWriter, Assembly assembly, ApiListWriterOptions? options, ILogger? logger) {}
public TextWriter BaseWriter { get; }
[Obsolete("Use WriteHeader")]
public void WriteAssemblyInfoHeader() {}
public void WriteExportedTypes() {}
public void WriteFooter() {}
public void WriteHeader() {}
}
public class ApiListWriterOptions : GeneratorOptions {
public class WriterOptions {
public WriterOptions() {}
public bool OrderStaticMembersFirst { get; set; }
public bool ThrowIfForwardedTypesCouldNotLoaded { get; set; }
public bool WriteAssemblyInfo { get; set; }
public bool WriteEmbeddedResources { get; set; }
public bool WriteFooter { get; set; }
public bool WriteHeader { get; set; }
public bool WriteNullableAnnotationDirective { get; set; }
public bool WriteReferencedAssemblies { 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 sealed class AssemblyFileNotFoundException : FileNotFoundException {
public AssemblyFileNotFoundException() {}
public AssemblyFileNotFoundException(string? message) {}
public AssemblyFileNotFoundException(string? message, Exception? innerException) {}
public AssemblyFileNotFoundException(string? message, string? fileName, Exception? innerException) {}
}
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) {}
[return: MaybeNull] public static TResult UsingAssembly<TArg, TResult>(Stream assemblyStream, string componentAssemblyPath, 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) {}
}
}
-// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.3.1.0.
-// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.2.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
+// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.4.0.0.
+// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.3.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core-net8.0.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core-net8.0.apilist.cs
index 4e54680..2ec6d63 100644
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core-net8.0.apilist.cs
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core-net8.0.apilist.cs
@@ -1,99 +1,99 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.Core.dll (Smdn.Reflection.ReverseGenerating.ListApi.Core-1.3.0)
+// Smdn.Reflection.ReverseGenerating.ListApi.Core.dll (Smdn.Reflection.ReverseGenerating.ListApi.Core-1.3.1)
// Name: Smdn.Reflection.ReverseGenerating.ListApi.Core
-// AssemblyVersion: 1.3.0.0
-// InformationalVersion: 1.3.0+54328733b5796254153c4c81506d16c69c41f84c
+// AssemblyVersion: 1.3.1.0
+// InformationalVersion: 1.3.1+2045310a22e5222b2462fc1f376ef4522587ec1e
// TargetFramework: .NETCoreApp,Version=v8.0
// Configuration: Release
// Referenced assemblies:
// Microsoft.Extensions.DependencyModel, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
// Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
// Smdn.Fundamental.Reflection, Version=3.6.0.0, Culture=neutral
// Smdn.Reflection.ReverseGenerating, Version=1.3.0.0, Culture=neutral
// System.Collections, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Linq, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Reflection.Metadata, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Reflection.MetadataLoadContext, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
// System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Runtime.InteropServices, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Runtime.Loader, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
#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 ApiListWriter(TextWriter baseWriter, Assembly assembly, Ap...
Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks version 1.4.0
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2024-02-11 update assembly version
- 2024-02-11 remove property declaration that is no longer needed
- 2024-02-11 drop target framework netcoreapp3.1 and net5.0
- 2024-02-11 set option 'ThrowIfForwardedTypesCouldNotLoaded' to true by default
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 c1d4cfa..c0c069c 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,45 +1,46 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.3.2)
+// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.4.0)
// Name: Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks
-// AssemblyVersion: 1.3.2.0
-// InformationalVersion: 1.3.2+daebfb2f6d9c9523e7683bb2079085163a8f5c67
+// AssemblyVersion: 1.4.0.0
+// InformationalVersion: 1.4.0+78f3fa29f3ae3518d1679e7201fc18b45d836481
// TargetFramework: .NETCoreApp,Version=v6.0
// Configuration: Release
// Referenced assemblies:
// Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
-// Smdn.Reflection.ReverseGenerating, Version=1.2.0.0, Culture=neutral
-// Smdn.Reflection.ReverseGenerating.ListApi.Core, Version=1.2.0.0, Culture=neutral
+// Smdn.Reflection.ReverseGenerating, Version=1.3.0.0, Culture=neutral
+// Smdn.Reflection.ReverseGenerating.ListApi.Core, Version=1.3.0.0, Culture=neutral
// System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Text.Encoding.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
#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 GenerateAssemblyInfo { 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 GenerateReferencedAssemblies { get; set; }
public bool GenerateStaticMembersFirst { get; set; }
public bool GenerateTypeNameWithDeclaringTypeName { get; set; }
public bool GenerateValueWithDefaultLiteral { get; set; }
[Output]
public ITaskItem[]? GeneratedFiles { get; }
+ public bool ThrowIfForwardedTypesCouldNotLoaded { get; set; }
public override bool Execute() {}
}
}
-// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.3.2.0.
-// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.2.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
+// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.4.0.0.
+// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.3.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net8.0.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net8.0.apilist.cs
index f90f9e2..1e94c91 100644
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net8.0.apilist.cs
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net8.0.apilist.cs
@@ -1,45 +1,46 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.3.2)
+// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.4.0)
// Name: Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks
-// AssemblyVersion: 1.3.2.0
-// InformationalVersion: 1.3.2+daebfb2f6d9c9523e7683bb2079085163a8f5c67
+// AssemblyVersion: 1.4.0.0
+// InformationalVersion: 1.4.0+78f3fa29f3ae3518d1679e7201fc18b45d836481
// TargetFramework: .NETCoreApp,Version=v8.0
// Configuration: Release
// Referenced assemblies:
// Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
-// Smdn.Reflection.ReverseGenerating, Version=1.2.0.0, Culture=neutral
-// Smdn.Reflection.ReverseGenerating.ListApi.Core, Version=1.2.0.0, Culture=neutral
+// Smdn.Reflection.ReverseGenerating, Version=1.3.0.0, Culture=neutral
+// Smdn.Reflection.ReverseGenerating.ListApi.Core, Version=1.3.0.0, Culture=neutral
// System.Collections, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Text.Encoding.Extensions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
#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 GenerateAssemblyInfo { 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 GenerateReferencedAssemblies { get; set; }
public bool GenerateStaticMembersFirst { get; set; }
public bool GenerateTypeNameWithDeclaringTypeName { get; set; }
public bool GenerateValueWithDefaultLiteral { get; set; }
[Output]
public ITaskItem[]? GeneratedFiles { get; }
+ public bool ThrowIfForwardedTypesCouldNotLoaded { get; set; }
public override bool Execute() {}
}
}
-// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.3.2.0.
-// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.2.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
+// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.4.0.0.
+// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.3.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
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
deleted file mode 100644
index e9bed05..0000000
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-netcoreapp3.1.apilist.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.3.2)
-// Name: Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks
-// AssemblyVersion: 1.3.2.0
-// InformationalVersion: 1.3.2+daebfb2f6d9c9523e7683bb2079085163a8f5c67
-// TargetFramework: .NETCoreApp,Version=v3.1
-// Configuration: Release
-// Referenced assemblies:
-// Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-// Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-// Microsoft.Extensio...
Smdn.Reflection.ReverseGenerating.ListApi.Core version 1.3.0
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2024-02-11 add CompatibilitySuppressions.xml
- 2024-02-11 update assembly version
- 2024-02-11 bump Smdn.Reflection.ReverseGenerating up to 1.3.0
- 2024-02-11 remove target framework netcoreapp3.1
- 2024-02-11 refer the package Microsoft.Extensions.Logging.Abstractions instead of Microsoft.Extensions.Logging
- 2024-02-11 throw an exception or log the situation when forwarded types could not be loaded
- 2024-02-11 modify to treat the target framework as 'unknown' when the target framework cannot be obtained due to failure to load reference assembly
- 2024-02-11 add AssemblyFileNotFoundException so that the raising of an exception 'Could not load file or assembly <assembly-name>' caused by a reference assembly is known
- 2024-02-08 lower log level of 'dependency configuration could not be found'
- 2023-12-26 fix to ignore IsReadOnlyAttribute on methods and event accessors
- 2023-12-24 fix warning IDE0055: Fix formatting
- 2023-12-24 fix warning IDE0005: Using directive is unnecessary
- 2023-12-24 fix warning IDE1006: Naming rule violation
- 2023-12-24 bump project and build assets
- 2023-12-24 add target framework net8.0
- 2023-12-14 migrate .NET 7.0 to .NET 8.0
- 2023-05-23 disable trimming
- 2023-05-22 avoid multiple enumerations
- 2023-05-22 refactor and fix warning
- 2023-05-22 suppress warning CA1031
- 2023-05-22 suppress warning CA1032
- 2023-05-22 disable trimming
- 2023-05-22 suppress warning CA1502
- 2023-05-22 empty RootNamespace
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 05d37c2..f498d41 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,91 +1,99 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.Core.dll (Smdn.Reflection.ReverseGenerating.ListApi.Core-1.2.0)
+// Smdn.Reflection.ReverseGenerating.ListApi.Core.dll (Smdn.Reflection.ReverseGenerating.ListApi.Core-1.3.0)
// Name: Smdn.Reflection.ReverseGenerating.ListApi.Core
-// AssemblyVersion: 1.2.0.0
-// InformationalVersion: 1.2.0+4171114f874ee632b40586362e7979ce5871c0c7
+// AssemblyVersion: 1.3.0.0
+// InformationalVersion: 1.3.0+54328733b5796254153c4c81506d16c69c41f84c
// TargetFramework: .NETCoreApp,Version=v6.0
// Configuration: Release
// Referenced assemblies:
// Microsoft.Extensions.DependencyModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
// Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
-// Smdn.Fundamental.Reflection, Version=3.3.0.0, Culture=neutral
-// Smdn.Reflection.ReverseGenerating, Version=1.1.1.0, Culture=neutral
+// Smdn.Fundamental.Reflection, Version=3.6.0.0, Culture=neutral
+// Smdn.Reflection.ReverseGenerating, Version=1.3.0.0, Culture=neutral
// System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Linq, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Reflection.MetadataLoadContext, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
// System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Runtime.InteropServices, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Runtime.Loader, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
#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 ApiListWriter(TextWriter baseWriter, Assembly assembly, ApiListWriterOptions? options, ILogger? logger) {}
public TextWriter BaseWriter { get; }
[Obsolete("Use WriteHeader")]
public void WriteAssemblyInfoHeader() {}
public void WriteExportedTypes() {}
public void WriteFooter() {}
public void WriteHeader() {}
}
public class ApiListWriterOptions : GeneratorOptions {
public class WriterOptions {
public WriterOptions() {}
public bool OrderStaticMembersFirst { get; set; }
+ public bool ThrowIfForwardedTypesCouldNotLoaded { get; set; }
public bool WriteAssemblyInfo { get; set; }
public bool WriteEmbeddedResources { get; set; }
public bool WriteFooter { get; set; }
public bool WriteHeader { get; set; }
public bool WriteNullableAnnotationDirective { get; set; }
public bool WriteReferencedAssemblies { 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 sealed class AssemblyFileNotFoundException : FileNotFoundException {
+ public AssemblyFileNotFoundException() {}
+ public AssemblyFileNotFoundException(string? message) {}
+ public AssemblyFileNotFoundException(string? message, Exception? innerException) {}
+ public AssemblyFileNotFoundException(string? message, string? fileName, Exception? innerException) {}
+ }
+
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) {}
[return: MaybeNull] public static TResult UsingAssembly<TArg, TResult>(Stream assemblyStream, string componentAssemblyPath, 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 {
pu...
Smdn.Reflection.ReverseGenerating.ListApi version 1.3.0
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2024-02-11 fix warning CA1823
- 2024-02-11 update assembly version
- 2024-02-11 bump Smdn.Reflection.ReverseGenerating.ListApi.Core up to 1.3.0
- 2024-02-11 add log point
- 2024-02-11 modify to use ToolCommandName as a logger category name
- 2024-02-11 simplify parsing log level option
- 2024-02-11 improve log output using with ILogger to be flushed properly
- 2024-02-11 improve error message when the reference assembly could not be loaded
- 2024-02-11 modify to treat the target framework as 'unknown' when the target framework cannot be obtained due to failure to load reference assembly
- 2024-02-08 log DOTNET_ROLL_FORWARD envvar value
- 2024-02-08 suppress warning IDE0045
- 2024-02-06 delete TODO comment
- 2024-02-06 apply ExistingOnly constrants to the <input> argument
- 2024-02-06 bump System.CommandLine up to 2.0.0-beta4.22272.1
- 2023-12-24 fix warning SA1649
- 2023-12-24 fix warning SYSLIB1045: Use 'GeneratedRegexAttribute'
- 2023-12-24 fix warning IDE1006: Naming rule violation
- 2023-12-24 bump project and build assets
- 2023-12-24 add target framework net8.0
- 2023-05-23 avoid multiple enumerations
- 2023-05-23 simplify null check
- 2023-05-23 disable field declaration which is not used
- 2023-05-23 use the overload of String.Contains() which accepts StringComparison
- 2023-05-23 suppress warning CA1819
- 2023-05-23 suppress warning CA1724
- 2023-05-22 add standard ctor overloads
- 2023-05-22 remove unusing private field
- 2023-05-22 avoid null reference
- 2023-05-22 empty RootNamespace
Full changes
Full changes in this release:
diff --git a/src/Smdn.Reflection.ReverseGenerating.ListApi/Smdn.Reflection.ReverseGenerating.ListApi.Build/MSBuildExePath.cs b/src/Smdn.Reflection.ReverseGenerating.ListApi/Smdn.Reflection.ReverseGenerating.ListApi.Build/MSBuildExePath.cs
index 1935148..98d1f0e 100644
--- a/src/Smdn.Reflection.ReverseGenerating.ListApi/Smdn.Reflection.ReverseGenerating.ListApi.Build/MSBuildExePath.cs
+++ b/src/Smdn.Reflection.ReverseGenerating.ListApi/Smdn.Reflection.ReverseGenerating.ListApi.Build/MSBuildExePath.cs
@@ -13,7 +13,7 @@ using Smdn.OperatingSystem;
namespace Smdn.Reflection.ReverseGenerating.ListApi.Build;
-public static class MSBuildExePath {
+public static partial class MSBuildExePath {
private static string JoinPath(string path1, string path2)
{
#pragma warning disable SA1114
@@ -56,16 +56,27 @@ public static class MSBuildExePath {
}
#endif
- private static readonly Regex regexSdkBasePath = new(
- @"^\s*Base Path:\s+(?<base_path>.+)$",
+ private const string SdkBasePathRegexPattern = @"^\s*Base Path:\s+(?<base_path>.+)$";
+
+#if SYSTEM_TEXT_REGULAREXPRESSIONS_GENERATEDREGEXATTRIBUTE
+ [GeneratedRegex(SdkBasePathRegexPattern, RegexOptions.Multiline | RegexOptions.CultureInvariant | RegexOptions.Compiled)]
+ private static partial Regex GetRegexSdkBasePath();
+#else
+ private static readonly Regex RegexSdkBasePath = new(
+ SdkBasePathRegexPattern,
RegexOptions.Multiline | RegexOptions.CultureInvariant | RegexOptions.Compiled
);
+#endif
private static string? GetSdkBasePath(out string? sdkVersion)
{
sdkVersion = default;
- var match = regexSdkBasePath.Match(Shell.Execute("dotnet --info"));
+#if SYSTEM_TEXT_REGULAREXPRESSIONS_GENERATEDREGEXATTRIBUTE
+ var match = GetRegexSdkBasePath().Match(Shell.Execute("dotnet --info"));
+#else
+ var match = RegexSdkBasePath.Match(Shell.Execute("dotnet --info"));
+#endif
if (match.Success) {
var basePath = match.Groups["base_path"].Value.TrimEnd();
@@ -83,11 +94,7 @@ public static class MSBuildExePath {
#if true
sdkVersion = default;
- var sdkBasePath = GetSdkBasePath(out sdkVersion);
-
- if (sdkBasePath is null)
- throw new InvalidOperationException("could not get SDK base path");
-
+ var sdkBasePath = GetSdkBasePath(out sdkVersion) ?? throw new InvalidOperationException("could not get SDK base path");
var msbuildExePath = JoinPath(
sdkBasePath,
"MSBuild.dll" // .NET SDK always ships MSBuild executables with the extension 'dll'
diff --git a/src/Smdn.Reflection.ReverseGenerating.ListApi/Smdn.Reflection.ReverseGenerating.ListApi.Build/ProjectBuilder.cs b/src/Smdn.Reflection.ReverseGenerating.ListApi/Smdn.Reflection.ReverseGenerating.ListApi.Build/ProjectBuilder.cs
index 995132e..d9e5e7c 100644
--- a/src/Smdn.Reflection.ReverseGenerating.ListApi/Smdn.Reflection.ReverseGenerating.ListApi.Build/ProjectBuilder.cs
+++ b/src/Smdn.Reflection.ReverseGenerating.ListApi/Smdn.Reflection.ReverseGenerating.ListApi.Build/ProjectBuilder.cs
@@ -18,14 +18,18 @@ using Microsoft.Extensions.Logging;
namespace Smdn.Reflection.ReverseGenerating.ListApi.Build;
public static class ProjectBuilder {
+#pragma warning disable CA1724
public class Options {
+#pragma warning restore CA1724
public const string DefaultConfiguration = "Debug";
public string? Configuration { get; init; } = DefaultConfiguration;
public string? TargetFramework { get; init; } = null;
// public string? OS { get; init; }
public string? RuntimeIdentifier { get; init; } = null;
+#pragma warning disable CA1819
public string[]? TargetsToBuild { get; init; } = new[] { "Restore", "Build" };
+#pragma warning restore CA1819
public LoggerVerbosity LoggerVerbosity { get; init; } = LoggerVerbosity.Minimal;
}
@@ -67,7 +71,12 @@ public static class ProjectBuilder {
var proj = new Project(
projectFile: projectFile.FullName,
globalProperties: globalProps,
- toolsVersion: RuntimeInformation.FrameworkDescription.Contains(".NET Framework")
+ toolsVersion:
+#if SYSTEM_STRING_CONTAINS_STRING_STRINGCOMPARISON
+ RuntimeInformation.FrameworkDescription.Contains(".NET Framework", StringComparison.OrdinalIgnoreCase)
+#else
+ RuntimeInformation.FrameworkDescription.Contains(".NET Framework")
+#endif
? "4.0"
: "Current"
);
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 6a71676..0ec0875 100644
--- a/src/Smdn.Reflection.ReverseGenerating.ListApi/Smdn.Reflection.ReverseGenerating.ListApi.csproj
+++ b/src/Smdn.Reflection.ReverseGenerating.ListApi/Smdn.Reflection.ReverseGenerating.L...
Smdn.Reflection.ReverseGenerating version 1.3.0
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2024-02-11 update assembly version
- 2024-02-10 improve Generate[Property|Event]Declaration() to work in reflection-only context
- 2024-02-10 bump Smdn.Fundamental.Reflection up to 3.6.0
- 2024-02-10 improve to support 'ref readonly' fields
- 2024-02-10 split workaround classes into individual files
- 2024-02-10 reduce duplicate code
- 2024-02-10 add support for C# 11 'ref' fields
- 2024-02-09 disable NullabilityInfo workarounds for by-ref types on .NET 8.0 or greater
- 2024-02-08 improve formatting default value for enum or value type to support for reflection-only context
- 2024-02-08 improve CompilerGeneratedAttribute detection for event accessor methods to support for reflection-only context
- 2024-02-08 improve option OmitAttributeSuffix to support for reflection-only context
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 d3f7e7d..3ee4c42 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,134 +1,134 @@
-// Smdn.Reflection.ReverseGenerating.dll (Smdn.Reflection.ReverseGenerating-1.2.0)
+// Smdn.Reflection.ReverseGenerating.dll (Smdn.Reflection.ReverseGenerating-1.3.0)
// Name: Smdn.Reflection.ReverseGenerating
-// AssemblyVersion: 1.2.0.0
-// InformationalVersion: 1.2.0+ce6c623225b7a5aa5f272f2a960a28811e358e41
+// AssemblyVersion: 1.3.0.0
+// InformationalVersion: 1.3.0+1e9a9d918b8a2ba6fe994e2fa60ff5f7c5b2544e
// TargetFramework: .NETFramework,Version=v4.5
// Configuration: Release
// Referenced assemblies:
-// Smdn.Fundamental.Reflection, Version=3.5.0.0, Culture=neutral
+// Smdn.Fundamental.Reflection, Version=3.6.0.0, Culture=neutral
// System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
// mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
#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 OmitEnumUnderlyingTypeIfPossible { 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; ini...
Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks version 1.3.2
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2023-12-26 update assembly version
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 af9ac63..c1d4cfa 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,45 +1,45 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.3.1)
+// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.3.2)
// Name: Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks
-// AssemblyVersion: 1.3.1.0
-// InformationalVersion: 1.3.1+ce6c623225b7a5aa5f272f2a960a28811e358e41
+// AssemblyVersion: 1.3.2.0
+// InformationalVersion: 1.3.2+daebfb2f6d9c9523e7683bb2079085163a8f5c67
// TargetFramework: .NETCoreApp,Version=v6.0
// Configuration: Release
// Referenced assemblies:
// Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
// Smdn.Reflection.ReverseGenerating, Version=1.2.0.0, Culture=neutral
// Smdn.Reflection.ReverseGenerating.ListApi.Core, Version=1.2.0.0, Culture=neutral
// System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Text.Encoding.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
#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 GenerateAssemblyInfo { 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 GenerateReferencedAssemblies { 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() {}
}
}
-// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.3.1.0.
+// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.3.2.0.
// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.2.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net8.0.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net8.0.apilist.cs
index 51de402..f90f9e2 100644
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net8.0.apilist.cs
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net8.0.apilist.cs
@@ -1,45 +1,45 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.3.1)
+// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.3.2)
// Name: Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks
-// AssemblyVersion: 1.3.1.0
-// InformationalVersion: 1.3.1+ce6c623225b7a5aa5f272f2a960a28811e358e41
+// AssemblyVersion: 1.3.2.0
+// InformationalVersion: 1.3.2+daebfb2f6d9c9523e7683bb2079085163a8f5c67
// TargetFramework: .NETCoreApp,Version=v8.0
// Configuration: Release
// Referenced assemblies:
// Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
// Smdn.Reflection.ReverseGenerating, Version=1.2.0.0, Culture=neutral
// Smdn.Reflection.ReverseGenerating.ListApi.Core, Version=1.2.0.0, Culture=neutral
// System.Collections, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Text.Encoding.Extensions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
#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 GenerateAssemblyInfo { 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 GenerateReferencedAssemblies { 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() {}
}
}
-// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.3.1.0.
+// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.3.2.0.
// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.2.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
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 a284ce2..e9bed05 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,47 +1,47 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.3.1)
+// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.3.2)
// Name: Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks
-// AssemblyVersion: 1.3.1.0
-// InformationalVersion: 1.3.1+ce6c623225b7a5aa5f272f2a960a28811e358e41
+// AssemblyVersion: 1.3.2.0
+// InformationalVersion: 1.3.2+daebfb2f6d9c9523e7683bb2079085163a8f5c67
// TargetFramework: .NETCoreApp,Version=v3.1
// Configuration: Release
// Referenced assemblies:
// Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
// Smdn.Reflection.ReverseGenerating, Version=1.2.0.0, Culture=neutral
// Smdn.Reflection.ReverseGenerating.ListApi.Core, Version=1.2.0.0, Culture=neutral
// System.Collections, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.IO.FileSystem, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Runtime.Extensions, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Text.Encoding.Extensions, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
#nullable enable annotations
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace Smdn.Reflection.ReverseGeneratin...
Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks version 1.3.1
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2023-12-26 update assembly version
- 2023-12-24 bump project and build assets
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 59f8fe5..af9ac63 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,45 +1,45 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.3.0)
+// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.3.1)
// Name: Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks
-// AssemblyVersion: 1.3.0.0
-// InformationalVersion: 1.3.0+26ff166439449b3d7ec53cbaf3e1d66c2264a611
+// AssemblyVersion: 1.3.1.0
+// InformationalVersion: 1.3.1+ce6c623225b7a5aa5f272f2a960a28811e358e41
// TargetFramework: .NETCoreApp,Version=v6.0
// Configuration: Release
// Referenced assemblies:
// Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
-// Smdn.Reflection.ReverseGenerating, Version=1.1.6.0, Culture=neutral
+// Smdn.Reflection.ReverseGenerating, Version=1.2.0.0, Culture=neutral
// Smdn.Reflection.ReverseGenerating.ListApi.Core, Version=1.2.0.0, Culture=neutral
// System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Text.Encoding.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
#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 GenerateAssemblyInfo { 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 GenerateReferencedAssemblies { 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() {}
}
}
-// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.3.0.0.
+// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.3.1.0.
// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.2.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net8.0.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net8.0.apilist.cs
index 304b415..51de402 100644
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net8.0.apilist.cs
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks/Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-net8.0.apilist.cs
@@ -1,45 +1,45 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.3.0)
+// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.3.1)
// Name: Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks
-// AssemblyVersion: 1.3.0.0
-// InformationalVersion: 1.3.0+26ff166439449b3d7ec53cbaf3e1d66c2264a611
+// AssemblyVersion: 1.3.1.0
+// InformationalVersion: 1.3.1+ce6c623225b7a5aa5f272f2a960a28811e358e41
// TargetFramework: .NETCoreApp,Version=v8.0
// Configuration: Release
// Referenced assemblies:
// Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
-// Smdn.Reflection.ReverseGenerating, Version=1.1.6.0, Culture=neutral
+// Smdn.Reflection.ReverseGenerating, Version=1.2.0.0, Culture=neutral
// Smdn.Reflection.ReverseGenerating.ListApi.Core, Version=1.2.0.0, Culture=neutral
// System.Collections, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Text.Encoding.Extensions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
#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 GenerateAssemblyInfo { 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 GenerateReferencedAssemblies { 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() {}
}
}
-// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.3.0.0.
+// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.3.1.0.
// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.2.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
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 93a6863..a284ce2 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,47 +1,47 @@
-// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.3.0)
+// Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks.dll (Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks-1.3.1)
// Name: Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks
-// AssemblyVersion: 1.3.0.0
-// InformationalVersion: 1.3.0+26ff166439449b3d7ec53cbaf3e1d66c2264a611
+// AssemblyVersion: 1.3.1.0
+// InformationalVersion: 1.3.1+ce6c623225b7a5aa5f272f2a960a28811e358e41
// TargetFramework: .NETCoreApp,Version=v3.1
// Configuration: Release
// Referenced assemblies:
// Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
-// Smdn.Reflection.ReverseGenerating, Version=1.1.6.0, Culture=neutral
+// Smdn.Reflection.ReverseGenerating, Version=1.2.0.0, Culture=neutral
// Smdn.Reflection.ReverseGenerating.ListApi.Core, Version=1.2.0.0, Culture=neutral
// System.Collections, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.IO.FileSystem, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Runtime, Version=4.2.2.0, Culture=neutral, Publi...
Smdn.Reflection.ReverseGenerating version 1.2.0
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2023-12-26 update assembly version
- 2023-12-24 suppress warning CS0419
- 2023-12-24 fix warning IDE0055: Fix formatting
- 2023-12-24 fix warning IDE0005: Using directive is unnecessary
- 2023-12-24 fix warning IDE1006: Naming rule violation
- 2023-12-24 bump project and build assets
- 2023-12-24 add target framework net8.0
- 2023-12-24 add support for unsigned right shift operators
- 2023-12-24 add support for 'checked' operators
- 2023-12-24 add and improve support for readonly instance members
- 2023-12-14 migrate .NET 7.0 to .NET 8.0
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 0aff2da..d3f7e7d 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,134 +1,134 @@
-// Smdn.Reflection.ReverseGenerating.dll (Smdn.Reflection.ReverseGenerating-1.1.6)
+// Smdn.Reflection.ReverseGenerating.dll (Smdn.Reflection.ReverseGenerating-1.2.0)
// Name: Smdn.Reflection.ReverseGenerating
-// AssemblyVersion: 1.1.6.0
-// InformationalVersion: 1.1.6+407f242e4289093d014484d0f1940c407f03b605
+// AssemblyVersion: 1.2.0.0
+// InformationalVersion: 1.2.0+ce6c623225b7a5aa5f272f2a960a28811e358e41
// TargetFramework: .NETFramework,Version=v4.5
// Configuration: Release
// Referenced assemblies:
-// Smdn.Fundamental.Reflection, Version=3.3.2.0, Culture=neutral
+// Smdn.Fundamental.Reflection, Version=3.5.0.0, Culture=neutral
// System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
// mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
#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 OmitEnumUnderlyingTypeIfPossible { 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 ParameterDecl...