Skip to content

Smdn.Reflection.ReverseGenerating version 1.6.0

Choose a tag to compare

@smdn smdn released this 16 Nov 14:36
· 14 commits to main since this release
Immutable release. Only release title and notes can be modified.
ca784cc

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-net10.0.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net10.0.apilist.cs
index bf5436a..f008e20 100644
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net10.0.apilist.cs
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net10.0.apilist.cs
@@ -1,166 +1,166 @@
-// Smdn.Reflection.ReverseGenerating.dll (Smdn.Reflection.ReverseGenerating-1.5.1)
+// Smdn.Reflection.ReverseGenerating.dll (Smdn.Reflection.ReverseGenerating-1.6.0)
 //   Name: Smdn.Reflection.ReverseGenerating
-//   AssemblyVersion: 1.5.1.0
-//   InformationalVersion: 1.5.1+4587b48c0c51417cbc6cbf632d4b0299739a7a7c
+//   AssemblyVersion: 1.6.0.0
+//   InformationalVersion: 1.6.0+c8c08f9ec7709c04177c5917c58142dd566b02a3
 //   TargetFramework: .NETCoreApp,Version=v10.0
 //   Configuration: Release
 //   Metadata: RepositoryUrl=https://github.com/smdn/Smdn.Reflection.ReverseGenerating
 //   Metadata: RepositoryBranch=main
-//   Metadata: RepositoryCommit=4587b48c0c51417cbc6cbf632d4b0299739a7a7c
+//   Metadata: RepositoryCommit=c8c08f9ec7709c04177c5917c58142dd566b02a3
 //   Referenced assemblies:
 //     Smdn.Fundamental.Reflection, Version=3.10.1.0, Culture=neutral
 //     System.Collections, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 //     System.Collections.Immutable, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 //     System.Linq, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 //     System.Memory, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
 //     System.Runtime, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 //     System.Threading, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 #nullable enable annotations
 
 using System;
 using System.Collections.Generic;
 using System.Diagnostics.CodeAnalysis;
 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, NullabilityInfoContext? nullabilityInfoContext, bool typeWithNamespace = true, bool useDefaultLiteral = false) {}
     public static string FormatParameter(ParameterInfo p, NullabilityInfoContext? nullabilityInfoContext, object? nullabilityInfoContextLockObject, bool typeWithNamespace = true, bool useDefaultLiteral = false) {}
     public static string FormatParameter(ParameterInfo p, bool typeWithNamespace = true, bool useDefaultLiteral = false) {}
     public static string FormatParameterList(MethodBase m, NullabilityInfoContext? nullabilityInfoContext, bool typeWithNamespace = true, bool useDefaultLiteral = false) {}
     public static string FormatParameterList(MethodBase m, NullabilityInfoContext? nullabilityInfoContext, object? nullabilityInfoContextLockObject, bool typeWithNamespace = true, bool useDefaultLiteral = false) {}
     public static string FormatParameterList(MethodBase m, bool typeWithNamespace = true, bool useDefaultLiteral = false) {}
     public static string FormatParameterList(ParameterInfo[] parameterList, NullabilityInfoContext? nullabilityInfoContext, bool typeWithNamespace = true, bool useDefaultLiteral = false) {}
     public static string FormatParameterList(ParameterInfo[] parameterList, NullabilityInfoContext? nullabilityInfoContext, object? nullabilityInfoContextLockObject, 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, NullabilityInfoContext? nullabilityInfoContext, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
     public static string FormatTypeName(this EventInfo ev, NullabilityInfoContext? nullabilityInfoContext, object? nullabilityInfoContextLockObject, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
     public static string FormatTypeName(this EventInfo ev, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
     public static string FormatTypeName(this FieldInfo f, NullabilityInfoContext? nullabilityInfoContext, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
     public static string FormatTypeName(this FieldInfo f, NullabilityInfoContext? nullabilityInfoContext, object? nullabilityInfoContextLockObject, 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, NullabilityInfoContext? nullabilityInfoContext, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
     public static string FormatTypeName(this ParameterInfo p, NullabilityInfoContext? nullabilityInfoContext, object? nullabilityInfoContextLockObject, 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, NullabilityInfoContext? nullabilityInfoContext, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
     public static string FormatTypeName(this PropertyInfo p, NullabilityInfoContext? nullabilityInfoContext, object? nullabilityInfoContextLockObject, 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 FormatUnboundTypeName(this Type t, 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, [MaybeNullWhen(false)] out string? primitiveTypeName) {}
     public static IEnumerable<string> ToNamespaceList(Type t) {}
     public static IEnumerable<string> ToNamespaceList(Type t, bool translateLanguagePrimitiveTypes) {}
   }
 
   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) {}
     public static string GenerateExtensionDeclaration(Type extensionMarkerType, ParameterInfo extensionParameter, 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 GenerateParameterDeclaration(ParameterInfo parameter, 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 bool OmitInaccessibleMembersInNullStateAttribute { 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 NullabilityInfoContext? NullabilityInfoContext { get; set; }
       public object? NullabilityInfoContextLockObject { 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 DetectUnsafe { get; set; }
       public bool EnableRecordTypes { get; set; }
       public NullabilityInfoContext? NullabilityInfoContext { get; set; }
       public object? NullabilityInfoContextLockObject { get; set; }
       public bool OmitEndOfStatement { get; set; }
       public bool OmitEnumUnderlyingTypeIfPossible { get; set; }
       public bool OmitRecordImplicitInterface { 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() {}
   }
 }
-// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.8.0.0.
-// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.6.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
+// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.9.0.0.
+// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.6.2.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net11.0.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net11.0.apilist.cs
new file mode 100644
index 0000000..b265c76
--- /dev/null
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net11.0.apilist.cs
@@ -0,0 +1,166 @@
+// Smdn.Reflection.ReverseGenerating.dll (Smdn.Reflection.ReverseGenerating-1.6.0)
+//   Name: Smdn.Reflection.ReverseGenerating
+//   AssemblyVersion: 1.6.0.0
+//   InformationalVersion: 1.6.0+c8c08f9ec7709c04177c5917c58142dd566b02a3
+//   TargetFramework: .NETCoreApp,Version=v11.0
+//   Configuration: Release
+//   Metadata: RepositoryUrl=https://github.com/smdn/Smdn.Reflection.ReverseGenerating
+//   Metadata: RepositoryBranch=main
+//   Metadata: RepositoryCommit=c8c08f9ec7709c04177c5917c58142dd566b02a3
+//   Referenced assemblies:
+//     Smdn.Fundamental.Reflection, Version=3.10.1.0, Culture=neutral
+//     System.Collections, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+//     System.Collections.Immutable, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+//     System.Linq, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+//     System.Memory, Version=11.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
+//     System.Runtime, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+//     System.Threading, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+#nullable enable annotations
+
+using System;
+using System.Collections.Generic;
+using System.Diagnostics.CodeAnalysis;
+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, NullabilityInfoContext? nullabilityInfoContext, bool typeWithNamespace = true, bool useDefaultLiteral = false) {}
+    public static string FormatParameter(ParameterInfo p, NullabilityInfoContext? nullabilityInfoContext, object? nullabilityInfoContextLockObject, bool typeWithNamespace = true, bool useDefaultLiteral = false) {}
+    public static string FormatParameter(ParameterInfo p, bool typeWithNamespace = true, bool useDefaultLiteral = false) {}
+    public static string FormatParameterList(MethodBase m, NullabilityInfoContext? nullabilityInfoContext, bool typeWithNamespace = true, bool useDefaultLiteral = false) {}
+    public static string FormatParameterList(MethodBase m, NullabilityInfoContext? nullabilityInfoContext, object? nullabilityInfoContextLockObject, bool typeWithNamespace = true, bool useDefaultLiteral = false) {}
+    public static string FormatParameterList(MethodBase m, bool typeWithNamespace = true, bool useDefaultLiteral = false) {}
+    public static string FormatParameterList(ParameterInfo[] parameterList, NullabilityInfoContext? nullabilityInfoContext, bool typeWithNamespace = true, bool useDefaultLiteral = false) {}
+    public static string FormatParameterList(ParameterInfo[] parameterList, NullabilityInfoContext? nullabilityInfoContext, object? nullabilityInfoContextLockObject, 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, NullabilityInfoContext? nullabilityInfoContext, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
+    public static string FormatTypeName(this EventInfo ev, NullabilityInfoContext? nullabilityInfoContext, object? nullabilityInfoContextLockObject, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
+    public static string FormatTypeName(this EventInfo ev, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
+    public static string FormatTypeName(this FieldInfo f, NullabilityInfoContext? nullabilityInfoContext, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
+    public static string FormatTypeName(this FieldInfo f, NullabilityInfoContext? nullabilityInfoContext, object? nullabilityInfoContextLockObject, 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, NullabilityInfoContext? nullabilityInfoContext, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
+    public static string FormatTypeName(this ParameterInfo p, NullabilityInfoContext? nullabilityInfoContext, object? nullabilityInfoContextLockObject, 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, NullabilityInfoContext? nullabilityInfoContext, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
+    public static string FormatTypeName(this PropertyInfo p, NullabilityInfoContext? nullabilityInfoContext, object? nullabilityInfoContextLockObject, 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 FormatUnboundTypeName(this Type t, 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, [MaybeNullWhen(false)] out string? primitiveTypeName) {}
+    public static IEnumerable<string> ToNamespaceList(Type t) {}
+    public static IEnumerable<string> ToNamespaceList(Type t, bool translateLanguagePrimitiveTypes) {}
+  }
+
+  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) {}
+    public static string GenerateExtensionDeclaration(Type extensionMarkerType, ParameterInfo extensionParameter, 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 GenerateParameterDeclaration(ParameterInfo parameter, 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 bool OmitInaccessibleMembersInNullStateAttribute { 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 NullabilityInfoContext? NullabilityInfoContext { get; set; }
+      public object? NullabilityInfoContextLockObject { 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 DetectUnsafe { get; set; }
+      public bool EnableRecordTypes { get; set; }
+      public NullabilityInfoContext? NullabilityInfoContext { get; set; }
+      public object? NullabilityInfoContextLockObject { get; set; }
+      public bool OmitEndOfStatement { get; set; }
+      public bool OmitEnumUnderlyingTypeIfPossible { get; set; }
+      public bool OmitRecordImplicitInterface { 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() {}
+  }
+}
+// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.9.0.0.
+// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.6.2.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
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
deleted file mode 100644
index 0b34097..0000000
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net45.apilist.cs
+++ /dev/null
@@ -1,146 +0,0 @@
-// Smdn.Reflection.ReverseGenerating.dll (Smdn.Reflection.ReverseGenerating-1.5.1)
-//   Name: Smdn.Reflection.ReverseGenerating
-//   AssemblyVersion: 1.5.1.0
-//   InformationalVersion: 1.5.1+4587b48c0c51417cbc6cbf632d4b0299739a7a7c
-//   TargetFramework: .NETFramework,Version=v4.5
-//   Configuration: Release
-//   Metadata: RepositoryUrl=https://github.com/smdn/Smdn.Reflection.ReverseGenerating
-//   Metadata: RepositoryBranch=main
-//   Metadata: RepositoryCommit=4587b48c0c51417cbc6cbf632d4b0299739a7a7c
-//   Referenced assemblies:
-//     Smdn.Fundamental.Reflection, Version=3.10.1.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.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
-//     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 FormatUnboundTypeName(this Type t, 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 IEnumerable<string> ToNamespaceList(Type t, bool translateLanguagePrimitiveTypes) {}
-  }
-
-  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) {}
-    public static string GenerateExtensionDeclaration(Type extensionMarkerType, ParameterInfo extensionParameter, 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 GenerateParameterDeclaration(ParameterInfo parameter, 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 bool OmitInaccessibleMembersInNullStateAttribute { 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 DetectUnsafe { get; set; }
-      public bool EnableRecordTypes { get; set; }
-      public bool OmitEndOfStatement { get; set; }
-      public bool OmitEnumUnderlyingTypeIfPossible { get; set; }
-      public bool OmitRecordImplicitInterface { 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() {}
-  }
-}
-// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.8.0.0.
-// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.6.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net462.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net462.apilist.cs
new file mode 100644
index 0000000..689ddb6
--- /dev/null
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net462.apilist.cs
@@ -0,0 +1,146 @@
+// Smdn.Reflection.ReverseGenerating.dll (Smdn.Reflection.ReverseGenerating-1.6.0)
+//   Name: Smdn.Reflection.ReverseGenerating
+//   AssemblyVersion: 1.6.0.0
+//   InformationalVersion: 1.6.0+c8c08f9ec7709c04177c5917c58142dd566b02a3
+//   TargetFramework: .NETFramework,Version=v4.6.2
+//   Configuration: Release
+//   Metadata: RepositoryUrl=https://github.com/smdn/Smdn.Reflection.ReverseGenerating
+//   Metadata: RepositoryBranch=main
+//   Metadata: RepositoryCommit=c8c08f9ec7709c04177c5917c58142dd566b02a3
+//   Referenced assemblies:
+//     Smdn.Fundamental.Reflection, Version=3.10.1.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.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
+//     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 FormatUnboundTypeName(this Type t, 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 IEnumerable<string> ToNamespaceList(Type t, bool translateLanguagePrimitiveTypes) {}
+  }
+
+  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) {}
+    public static string GenerateExtensionDeclaration(Type extensionMarkerType, ParameterInfo extensionParameter, 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 GenerateParameterDeclaration(ParameterInfo parameter, 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 bool OmitInaccessibleMembersInNullStateAttribute { 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 DetectUnsafe { get; set; }
+      public bool EnableRecordTypes { get; set; }
+      public bool OmitEndOfStatement { get; set; }
+      public bool OmitEnumUnderlyingTypeIfPossible { get; set; }
+      public bool OmitRecordImplicitInterface { 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() {}
+  }
+}
+// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.9.0.0.
+// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.6.2.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
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 22cd8f9..58773d1 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,145 +1,145 @@
-// Smdn.Reflection.ReverseGenerating.dll (Smdn.Reflection.ReverseGenerating-1.5.1)
+// Smdn.Reflection.ReverseGenerating.dll (Smdn.Reflection.ReverseGenerating-1.6.0)
 //   Name: Smdn.Reflection.ReverseGenerating
-//   AssemblyVersion: 1.5.1.0
-//   InformationalVersion: 1.5.1+4587b48c0c51417cbc6cbf632d4b0299739a7a7c
+//   AssemblyVersion: 1.6.0.0
+//   InformationalVersion: 1.6.0+c8c08f9ec7709c04177c5917c58142dd566b02a3
 //   TargetFramework: .NETFramework,Version=v4.7
 //   Configuration: Release
 //   Metadata: RepositoryUrl=https://github.com/smdn/Smdn.Reflection.ReverseGenerating
 //   Metadata: RepositoryBranch=main
-//   Metadata: RepositoryCommit=4587b48c0c51417cbc6cbf632d4b0299739a7a7c
+//   Metadata: RepositoryCommit=c8c08f9ec7709c04177c5917c58142dd566b02a3
 //   Referenced assemblies:
 //     Smdn.Fundamental.Reflection, Version=3.10.1.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.Memory, Version=4.0.1.1, 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 FormatUnboundTypeName(this Type t, 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 IEnumerable<string> ToNamespaceList(Type t, bool translateLanguagePrimitiveTypes) {}
   }
 
   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) {}
     public static string GenerateExtensionDeclaration(Type extensionMarkerType, ParameterInfo extensionParameter, 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 GenerateParameterDeclaration(ParameterInfo parameter, 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 bool OmitInaccessibleMembersInNullStateAttribute { 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 DetectUnsafe { get; set; }
       public bool EnableRecordTypes { get; set; }
       public bool OmitEndOfStatement { get; set; }
       public bool OmitEnumUnderlyingTypeIfPossible { get; set; }
       public bool OmitRecordImplicitInterface { 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() {}
   }
 }
-// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.8.0.0.
-// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.6.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
+// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.9.0.0.
+// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.6.2.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net8.0.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net8.0.apilist.cs
deleted file mode 100644
index 1a98bce..0000000
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-net8.0.apilist.cs
+++ /dev/null
@@ -1,166 +0,0 @@
-// Smdn.Reflection.ReverseGenerating.dll (Smdn.Reflection.ReverseGenerating-1.5.1)
-//   Name: Smdn.Reflection.ReverseGenerating
-//   AssemblyVersion: 1.5.1.0
-//   InformationalVersion: 1.5.1+4587b48c0c51417cbc6cbf632d4b0299739a7a7c
-//   TargetFramework: .NETCoreApp,Version=v8.0
-//   Configuration: Release
-//   Metadata: RepositoryUrl=https://github.com/smdn/Smdn.Reflection.ReverseGenerating
-//   Metadata: RepositoryBranch=main
-//   Metadata: RepositoryCommit=4587b48c0c51417cbc6cbf632d4b0299739a7a7c
-//   Referenced assemblies:
-//     Smdn.Fundamental.Reflection, Version=3.10.1.0, Culture=neutral
-//     System.Collections, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-//     System.Collections.Immutable, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-//     System.Linq, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-//     System.Memory, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
-//     System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-//     System.Threading, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-#nullable enable annotations
-
-using System;
-using System.Collections.Generic;
-using System.Diagnostics.CodeAnalysis;
-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, NullabilityInfoContext? nullabilityInfoContext, bool typeWithNamespace = true, bool useDefaultLiteral = false) {}
-    public static string FormatParameter(ParameterInfo p, NullabilityInfoContext? nullabilityInfoContext, object? nullabilityInfoContextLockObject, bool typeWithNamespace = true, bool useDefaultLiteral = false) {}
-    public static string FormatParameter(ParameterInfo p, bool typeWithNamespace = true, bool useDefaultLiteral = false) {}
-    public static string FormatParameterList(MethodBase m, NullabilityInfoContext? nullabilityInfoContext, bool typeWithNamespace = true, bool useDefaultLiteral = false) {}
-    public static string FormatParameterList(MethodBase m, NullabilityInfoContext? nullabilityInfoContext, object? nullabilityInfoContextLockObject, bool typeWithNamespace = true, bool useDefaultLiteral = false) {}
-    public static string FormatParameterList(MethodBase m, bool typeWithNamespace = true, bool useDefaultLiteral = false) {}
-    public static string FormatParameterList(ParameterInfo[] parameterList, NullabilityInfoContext? nullabilityInfoContext, bool typeWithNamespace = true, bool useDefaultLiteral = false) {}
-    public static string FormatParameterList(ParameterInfo[] parameterList, NullabilityInfoContext? nullabilityInfoContext, object? nullabilityInfoContextLockObject, 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, NullabilityInfoContext? nullabilityInfoContext, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
-    public static string FormatTypeName(this EventInfo ev, NullabilityInfoContext? nullabilityInfoContext, object? nullabilityInfoContextLockObject, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
-    public static string FormatTypeName(this EventInfo ev, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
-    public static string FormatTypeName(this FieldInfo f, NullabilityInfoContext? nullabilityInfoContext, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
-    public static string FormatTypeName(this FieldInfo f, NullabilityInfoContext? nullabilityInfoContext, object? nullabilityInfoContextLockObject, 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, NullabilityInfoContext? nullabilityInfoContext, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
-    public static string FormatTypeName(this ParameterInfo p, NullabilityInfoContext? nullabilityInfoContext, object? nullabilityInfoContextLockObject, 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, NullabilityInfoContext? nullabilityInfoContext, bool typeWithNamespace = true, bool withDeclaringTypeName = true, bool translateLanguagePrimitiveType = true) {}
-    public static string FormatTypeName(this PropertyInfo p, NullabilityInfoContext? nullabilityInfoContext, object? nullabilityInfoContextLockObject, 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 FormatUnboundTypeName(this Type t, 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, [MaybeNullWhen(false)] out string? primitiveTypeName) {}
-    public static IEnumerable<string> ToNamespaceList(Type t) {}
-    public static IEnumerable<string> ToNamespaceList(Type t, bool translateLanguagePrimitiveTypes) {}
-  }
-
-  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) {}
-    public static string GenerateExtensionDeclaration(Type extensionMarkerType, ParameterInfo extensionParameter, 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 GenerateParameterDeclaration(ParameterInfo parameter, 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 bool OmitInaccessibleMembersInNullStateAttribute { 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 NullabilityInfoContext? NullabilityInfoContext { get; set; }
-      public object? NullabilityInfoContextLockObject { 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 DetectUnsafe { get; set; }
-      public bool EnableRecordTypes { get; set; }
-      public NullabilityInfoContext? NullabilityInfoContext { get; set; }
-      public object? NullabilityInfoContextLockObject { get; set; }
-      public bool OmitEndOfStatement { get; set; }
-      public bool OmitEnumUnderlyingTypeIfPossible { get; set; }
-      public bool OmitRecordImplicitInterface { 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() {}
-  }
-}
-// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.8.0.0.
-// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.6.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
diff --git a/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-netstandard2.0.apilist.cs b/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-netstandard2.0.apilist.cs
index 57878ed..64c491b 100644
--- a/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-netstandard2.0.apilist.cs
+++ b/doc/api-list/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating-netstandard2.0.apilist.cs
@@ -1,143 +1,143 @@
-// Smdn.Reflection.ReverseGenerating.dll (Smdn.Reflection.ReverseGenerating-1.5.1)
+// Smdn.Reflection.ReverseGenerating.dll (Smdn.Reflection.ReverseGenerating-1.6.0)
 //   Name: Smdn.Reflection.ReverseGenerating
-//   AssemblyVersion: 1.5.1.0
-//   InformationalVersion: 1.5.1+4587b48c0c51417cbc6cbf632d4b0299739a7a7c
+//   AssemblyVersion: 1.6.0.0
+//   InformationalVersion: 1.6.0+c8c08f9ec7709c04177c5917c58142dd566b02a3
 //   TargetFramework: .NETStandard,Version=v2.0
 //   Configuration: Release
 //   Metadata: RepositoryUrl=https://github.com/smdn/Smdn.Reflection.ReverseGenerating
 //   Metadata: RepositoryBranch=main
-//   Metadata: RepositoryCommit=4587b48c0c51417cbc6cbf632d4b0299739a7a7c
+//   Metadata: RepositoryCommit=c8c08f9ec7709c04177c5917c58142dd566b02a3
 //   Referenced assemblies:
 //     Smdn.Fundamental.Reflection, Version=3.10.1.0, Culture=neutral
 //     System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
 //     netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
 #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 FormatUnboundTypeName(this Type t, 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 IEnumerable<string> ToNamespaceList(Type t, bool translateLanguagePrimitiveTypes) {}
   }
 
   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) {}
     public static string GenerateExtensionDeclaration(Type extensionMarkerType, ParameterInfo extensionParameter, 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 GenerateParameterDeclaration(ParameterInfo parameter, 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 bool OmitInaccessibleMembersInNullStateAttribute { 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 DetectUnsafe { get; set; }
       public bool EnableRecordTypes { get; set; }
       public bool OmitEndOfStatement { get; set; }
       public bool OmitEnumUnderlyingTypeIfPossible { get; set; }
       public bool OmitRecordImplicitInterface { 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() {}
   }
 }
-// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.8.0.0.
-// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.6.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
+// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.9.0.0.
+// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.6.2.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)

Full changes

Full changes in this release:
diff --git a/src/Smdn.Reflection.ReverseGenerating/CompatibilitySuppressions.xml b/src/Smdn.Reflection.ReverseGenerating/CompatibilitySuppressions.xml
index 14d3db4..e99c143 100644
--- a/src/Smdn.Reflection.ReverseGenerating/CompatibilitySuppressions.xml
+++ b/src/Smdn.Reflection.ReverseGenerating/CompatibilitySuppressions.xml
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
 <!-- https://learn.microsoft.com/dotnet/fundamentals/package-validation/diagnostic-ids -->
 <Suppressions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <Suppression>
@@ -8,4 +8,8 @@
     <Right>lib/netstandard2.0/Smdn.Reflection.ReverseGenerating.dll</Right>
     <IsBaselineSuppression>true</IsBaselineSuppression>
   </Suppression>
+  <Suppression>
+    <DiagnosticId>PKV006</DiagnosticId>
+    <Target>.NETFramework,Version=v4.5</Target>
+  </Suppression>
 </Suppressions>
diff --git a/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating.Common.props b/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating.Common.props
index d474c37..02fc6be 100644
--- a/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating.Common.props
+++ b/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating.Common.props
@@ -1,12 +1,11 @@
-<!--
+<!--
 SPDX-FileCopyrightText: 2025 smdn <smdn@smdn.jp>
 SPDX-License-Identifier: MIT
 -->
 <Project>
   <PropertyGroup>
-    <VersionPrefix>1.5.1</VersionPrefix>
+    <VersionPrefix>1.6.0</VersionPrefix>
     <VersionSuffix></VersionSuffix>
-    <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
     <NoWarn>CS1591;$(NoWarn)</NoWarn> <!-- CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member' -->
     <EnableDefaultCompileItems>false</EnableDefaultCompileItems>
     <!-- AOT and trimming options -->
diff --git a/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating.csproj b/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating.csproj
index 545bc7d..e6c74cd 100644
--- a/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating.csproj
+++ b/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating.csproj
@@ -1,10 +1,10 @@
-<!--
+<!--
 SPDX-FileCopyrightText: 2020 smdn <smdn@smdn.jp>
 SPDX-License-Identifier: MIT
 -->
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <TargetFrameworks>net10.0;net8.0;net47;net45;netstandard2.0</TargetFrameworks>
+    <TargetFrameworks>net11.0;net10.0;net47;net462;netstandard2.0</TargetFrameworks>
   </PropertyGroup>
 
   <Import Project="Smdn.Reflection.ReverseGenerating.Common.props" />
diff --git a/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/CSharpFormatter.FormatTypeName.cs b/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/CSharpFormatter.FormatTypeName.cs
index f0d4ba9..e575d10 100644
--- a/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/CSharpFormatter.FormatTypeName.cs
+++ b/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/CSharpFormatter.FormatTypeName.cs
@@ -5,9 +5,7 @@ using System.Reflection;
 
 namespace Smdn.Reflection.ReverseGenerating;
 
-#pragma warning disable IDE0040
 static partial class CSharpFormatter {
-#pragma warning restore IDE0040
   public static string FormatTypeName(
     this Type t,
     ICustomAttributeProvider? attributeProvider = null,
diff --git a/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/CSharpFormatter.cs b/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/CSharpFormatter.cs
index 9fc4587..176143e 100644
--- a/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/CSharpFormatter.cs
+++ b/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/CSharpFormatter.cs
@@ -46,6 +46,10 @@ public static partial class CSharpFormatter /* ITypeFormatter */ {
 #endif
   PrimitiveTypes = new Dictionary<string, string>(StringComparer.Ordinal) {
 #pragma warning restore IDE0090
+
+#if !NET8_0_OR_GREATER
+#pragma warning disable IDE0370
+#endif
     { typeof(void).FullName!, "void" },
     { typeof(sbyte).FullName!, "sbyte" },
     { typeof(short).FullName!, "short" },
@@ -62,6 +66,8 @@ public static partial class CSharpFormatter /* ITypeFormatter */ {
     { typeof(string).FullName!, "string" },
     { typeof(object).FullName!, "object" },
     { typeof(bool).FullName!, "bool" },
+#pragma warning disable IDE0370
+
   }
 #if SYSTEM_COLLECTIONS_FROZEN_FROZENDICTIONARY
   .ToFrozenDictionary();
@@ -523,14 +529,12 @@ public static partial class CSharpFormatter /* ITypeFormatter */ {
 
     ret.Append(
       p.FormatTypeName(
-#pragma warning disable SA1114
 #if SYSTEM_REFLECTION_NULLABILITYINFOCONTEXT
         nullabilityInfoContext: nullabilityInfoContext,
         nullabilityInfoContextLockObject: nullabilityInfoContextLockObject,
 #endif
         typeWithNamespace: typeWithNamespace,
         withDeclaringTypeName: typeWithDeclaringTypeName
-#pragma warning restore SA1114
       )
     );
 
@@ -645,13 +649,11 @@ public static partial class CSharpFormatter /* ITypeFormatter */ {
     );
 
   internal readonly record struct ValueFormatOptions(
-#pragma warning disable SA1313
     bool TranslateLanguagePrimitiveType,
     bool TryFindConstantField,
     bool UseDefaultLiteral,
     bool WithNamespace,
     bool WithDeclaringTypeName
-#pragma warning restore SA1313
   ) {
     public static ValueFormatOptions FromGeneratorOptions(GeneratorOptions options, bool tryFindConstantField)
       => new(
@@ -702,11 +704,12 @@ public static partial class CSharpFormatter /* ITypeFormatter */ {
 #endif
 
     if (typeOfValue.TryGetNullableUnderlyingType(out var nullableUnderlyingType)) {
-      typeOfValue = nullableUnderlyingType
-#if !NULL_STATE_STATIC_ANALYSIS_ATTRIBUTES
-      !
+      typeOfValue =
+#if NULL_STATE_STATIC_ANALYSIS_ATTRIBUTES
+        nullableUnderlyingType;
+#else
+        nullableUnderlyingType!;
 #endif
-      ;
     }
 
     if (string.Equals(typeOfValue.FullName, typeof(bool).FullName, StringComparison.Ordinal)) {
diff --git a/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/CSharpMemberModifierFormatter.cs b/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/CSharpMemberModifierFormatter.cs
index f267117..5b9d165 100644
--- a/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/CSharpMemberModifierFormatter.cs
+++ b/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/CSharpMemberModifierFormatter.cs
@@ -192,8 +192,13 @@ internal static class CSharpMemberModifierFormatter {
   {
     if (p.ParameterType.IsPointer)
       return true;
+
+#if !NET8_0_OR_GREATER
+#pragma warning disable IDE0370
+#endif
     if (p.ParameterType.IsByRef && p.ParameterType.HasElementType && p.ParameterType.GetElementType()!.IsPointer)
       return true;
+#pragma warning restore IDE0370
 
     return false;
   }
diff --git a/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/CSharpTypeNameFormatter.NullabilityInfo.cs b/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/CSharpTypeNameFormatter.NullabilityInfo.cs
index caf466f..00cab98 100644
--- a/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/CSharpTypeNameFormatter.NullabilityInfo.cs
+++ b/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/CSharpTypeNameFormatter.NullabilityInfo.cs
@@ -2,15 +2,15 @@
 // SPDX-License-Identifier: MIT
 // cSpell:ignore retval
 #if SYSTEM_REFLECTION_NULLABILITYINFO
+#if DEBUG || !SYSTEM_TYPE_GETNULLABLEUNDERLYINGTYPE
 using System;
+#endif
 using System.Reflection;
 using System.Text;
 
 namespace Smdn.Reflection.ReverseGenerating;
 
-#pragma warning disable IDE0040
 static partial class CSharpTypeNameFormatter {
-#pragma warning restore IDE0040
 #if DEBUG
   private static void ThrowIfTypeIsCompoundType(Type type, string name)
   {
@@ -74,6 +74,9 @@ static partial class CSharpTypeNameFormatter {
     ThrowIfTypeIsCompoundType(type, nameof(type));
 #endif
 
+#if SYSTEM_TYPE_GETNULLABLEUNDERLYINGTYPE
+    _ = type.TryGetNullableUnderlyingType(out var nullableUnderlyingType);
+#else
     if (type.TryGetNullableUnderlyingType(out var nullableUnderlyingType)) {
       // The TryGetNullableUnderlyingType() and Nullable.GetUnderlyingType() may return different results for Nullable<T>.
       // This occurs because the comparison with typeof(Nullable<>) fails in a reflection-only context,
@@ -83,6 +86,7 @@ static partial class CSharpTypeNameFormatter {
       if (Nullable.GetUnderlyingType(type) is null)
         return Format(type, builder, options); // workaround
     }
+#endif
 
     if (
       CSharpFormatter.IsLanguagePrimitiveValueTupleType(type) ||
diff --git a/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/CSharpTypeNameFormatter.Type.cs b/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/CSharpTypeNameFormatter.Type.cs
index 5523010..dd30eee 100644
--- a/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/CSharpTypeNameFormatter.Type.cs
+++ b/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/CSharpTypeNameFormatter.Type.cs
@@ -7,9 +7,7 @@ using System.Text;
 
 namespace Smdn.Reflection.ReverseGenerating;
 
-#pragma warning disable IDE0040
 static partial class CSharpTypeNameFormatter {
-#pragma warning restore IDE0040
   private static StringBuilder Format(
     Type type,
     StringBuilder builder,
@@ -39,7 +37,6 @@ static partial class CSharpTypeNameFormatter {
       return Format(type.GetElementTypeOrThrow(), builder, options).Append('*');
 
     if (type.TryGetNullableUnderlyingType(out var nullableUnderlyingType)) {
-#pragma warning disable SA1114
       return Format(
 #if NULL_STATE_STATIC_ANALYSIS_ATTRIBUTES
         nullableUnderlyingType,
@@ -49,7 +46,6 @@ static partial class CSharpTypeNameFormatter {
         builder,
         options
       ).Append('?');
-#pragma warning restore SA1114
     }
 
     if (type.IsGenericParameter) {
diff --git a/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/Generator.Attributes.cs b/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/Generator.Attributes.cs
index dab70ef..92a6e66 100644
--- a/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/Generator.Attributes.cs
+++ b/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/Generator.Attributes.cs
@@ -12,9 +12,7 @@ using Smdn.Reflection.Attributes;
 
 namespace Smdn.Reflection.ReverseGenerating;
 
-#pragma warning disable IDE0040
 partial class Generator {
-#pragma warning restore IDE0040
   private enum AttributeTarget {
     Default,
     PropertyAccessorMethod,
@@ -167,25 +165,25 @@ partial class Generator {
             : args.Count == 0; // with no args for 'member'/'members'
 
           return (
-            name: isArgsEmpty ? null : ConvertAttributeName(attr),
-            args: isArgsEmpty ? null : string.Join(", ", args)
+            Name: isArgsEmpty ? null : ConvertAttributeName(attr),
+            Args: isArgsEmpty ? null : string.Join(", ", args)
           );
         }
         else {
           return (
-            name: ConvertAttributeName(attr),
-            args: string.Join(", ", ConvertAttributeArguments(attr, omitInaccessibleMembers: false))
+            Name: ConvertAttributeName(attr),
+            Args: string.Join(", ", ConvertAttributeArguments(attr, omitInaccessibleMembers: false))
           );
         }
       })
-      .Where(static a => a.name is not null);
+      .Where(static a => a.Name is not null);
 
     if (!attributes.Any())
       return Enumerable.Empty<string>();
 
     return attributeSectionFormat switch {
       AttributeSectionFormat.Discrete => attributes.Select(
-        a => attributeSectionPrefix + a.name + (string.IsNullOrEmpty(a.args) ? string.Empty : "(" + a.args + ")") + AttributeSectionSuffix
+        a => attributeSectionPrefix + a.Name + (string.IsNullOrEmpty(a.Args) ? string.Empty : "(" + a.Args + ")") + AttributeSectionSuffix
       ),
 
       AttributeSectionFormat.List => Enumerable.Repeat(
@@ -194,7 +192,7 @@ partial class Generator {
           string.Join(
             ", ",
             attributes.Select(
-              static a => string.IsNullOrEmpty(a.args) ? a.name : a.name + "(" + a.args + ")"
+              static a => string.IsNullOrEmpty(a.Args) ? a.Name : a.Name + "(" + a.Args + ")"
             )
           ),
           AttributeSectionSuffix
diff --git a/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/Generator.cs b/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/Generator.cs
index 11aa2f3..36239ba 100644
--- a/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/Generator.cs
+++ b/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection.ReverseGenerating/Generator.cs
@@ -530,13 +530,11 @@ public static partial class Generator {
     else {
       sb.Append(
         field.FormatTypeName(
-#pragma warning disable SA1114
 #if SYSTEM_REFLECTION_NULLABILITYINFOCONTEXT
           nullabilityInfoContext: memberOptions.NullabilityInfoContext,
           nullabilityInfoContextLockObject: memberOptions.NullabilityInfoContextLockObject,
 #endif
           typeWithNamespace: memberOptions.WithNamespace
-#pragma warning restore SA1114
         )
       );
     }
@@ -662,10 +660,9 @@ public static partial class Generator {
     var explicitInterfaceMethod = property
       .GetAccessors(true)
       .Select(
-        a => a.TryFindExplicitInterfaceMethod(
-          out var eim,
-          findOnlyPublicInterfaces: options.IgnorePrivateOrAssembly
-        )
+        // Set `findOnlyPublicInterfaces` to `false` to check whether the target member is an
+        // explicit implementation, regardless of whether the interface is public or non-public.
+        a => a.TryFindExplicitInterfaceMethod(out var eim, findOnlyPublicInterfaces: false)
           ? eim
           : null // Type.GetInterfaceMap() is not supported in reflection-only context
       )
@@ -673,13 +670,18 @@ public static partial class Generator {
 
     var explicitInterface = explicitInterfaceMethod?.DeclaringType;
 
+    if (options.IgnorePrivateOrAssembly) {
+      if (explicitInterface is null) {
         if (
-      explicitInterface is null &&
-      options.IgnorePrivateOrAssembly &&
           !property.IsLikelyExplicitInterfaceImplementation() &&
           property.GetAccessors(true).All(static a => a.IsPrivateOrAssembly())
         ) {
-      return null;
+          return null; // exclude non-public properties
+        }
+      }
+      else if (explicitInterface.IsPrivateOrAssembly()) {
+        return null; // exclude explicit implementations of non-public interface properties
+      }
     }
 
     var emitGetAccessor =
@@ -727,13 +729,11 @@ public static partial class Generator {
 
     sb.Append(
       property.FormatTypeName(
-#pragma warning disable SA1114
 #if SYSTEM_REFLECTION_NULLABILITYINFOCONTEXT
         nullabilityInfoContext: memberOptions.NullabilityInfoContext,
         nullabilityInfoContextLockObject: memberOptions.NullabilityInfoContextLockObject,
 #endif
         typeWithNamespace: memberOptions.WithNamespace
-#pragma warning restore SA1114
       )
     ).Append(' ');
 
@@ -774,7 +774,13 @@ public static partial class Generator {
             explicitInterface.FormatTypeName(typeWithNamespace: memberOptions.WithNamespace),
             ".",
 #if SYSTEM_STRING_CONCAT_READONLYSPAN_OF_CHAR
-            property.Name.AsSpan(property.Name.LastIndexOf('.') + 1)
+            property.Name.AsSpan(
+#if NET11_0_OR_GREATER
+              property.Name.LastIndexOf('.', StringComparison.Ordinal) + 1
+#else
+              property.Name.LastIndexOf('.') + 1
+#endif
+            )
 #else
             property.Name.Substring(property.Name.LastIndexOf('.') + 1)
 #endif
@@ -956,18 +962,28 @@ public static partial class Generator {
       GenerateDeclarationValidateTypeArgument(m.GetDeclaringTypeOrThrow(), nameof(m));
     }
     else {
+      // Set `findOnlyPublicInterfaces` to `false` to check whether the target member is an
+      // explicit implementation, regardless of whether the interface is public or non-public.
       var isExplicitInterfaceMethod = m.TryFindExplicitInterfaceMethod(
         out explicitInterfaceMethod,
-        findOnlyPublicInterfaces: options.IgnorePrivateOrAssembly
+        findOnlyPublicInterfaces: false
       );
 
+      if (options.IgnorePrivateOrAssembly) {
+        if (
+          explicitInterfaceMethod?.DeclaringType is { } explicitInterfaceType &&
+          explicitInterfaceType.IsPrivateOrAssembly()
+        ) {
+          return null; // exclude explicit implementations of non-public interface members
+        }
+
         if (
           !isExplicitInterfaceMethod &&
-        options.IgnorePrivateOrAssembly &&
           !m.IsLikelyExplicitInterfaceImplementation() &&
           m.IsPrivateOrAssembly()
         ) {
-        return null;
+          return null; // exclude non-public methods
+        }
       }
     }
 
@@ -998,13 +1014,11 @@ public static partial class Generator {
 
     try {
       methodReturnType = methodReturnParameter?.FormatTypeName(
-#pragma warning disable SA1114
 #if SYSTEM_REFLECTION_NULLABILITYINFOCONTEXT
         nullabilityInfoContext: formattingOptions.NullabilityInfoContext,
         nullabilityInfoContextLockObject: formattingOptions.NullabilityInfoContextLockObject,
 #endif
         typeWithNamespace: formattingOptions.FormatTypeWithNamespace
-#pragma warning restore SA1114
       );
 
       if (methodReturnParameter is not null) {
@@ -1310,10 +1324,9 @@ public static partial class Generator {
     var explicitInterfaceMethod = ev
       .GetMethods(true)
       .Select(
-        evm => evm.TryFindExplicitInterfaceMethod(
-          out var eim,
-          findOnlyPublicInterfaces: options.IgnorePrivateOrAssembly
-        )
+        // Set `findOnlyPublicInterfaces` to `false` to check whether the target member is an
+        // explicit implementation, regardless of whether the interface is public or non-public.
+        evm => evm.TryFindExplicitInterfaceMethod(out var eim, findOnlyPublicInterfaces: false)
           ? eim
           : null // Type.GetInterfaceMap() is not supported in reflection-only context
       )
@@ -1321,13 +1334,18 @@ public static partial class Generator {
 
     var explicitInterface = explicitInterfaceMethod?.DeclaringType;
 
+    if (options.IgnorePrivateOrAssembly) {
+      if (explicitInterface is null) {
         if (
-      explicitInterface is null &&
-      options.IgnorePrivateOrAssembly &&
           !ev.IsLikelyExplicitInterfaceImplementation() &&
           ev.GetMethods(true).All(static m => m.IsPrivateOrAssembly())
         ) {
-      return null;
+          return null; // exclude non-public events
+        }
+      }
+      else if (explicitInterface.IsPrivateOrAssembly()) {
+        return null; // exclude explicit implementations of non-public interface events
+      }
     }
 
     referencingNamespaces?.UnionWith(
@@ -1358,13 +1376,11 @@ public static partial class Generator {
       .Append("event ")
       .Append(
         ev.FormatTypeName(
-#pragma warning disable SA1114
 #if SYSTEM_REFLECTION_NULLABILITYINFOCONTEXT
           nullabilityInfoContext: memberOptions.NullabilityInfoContext,
           nullabilityInfoContextLockObject: memberOptions.NullabilityInfoContextLockObject,
 #endif
           typeWithNamespace: memberOptions.WithNamespace
-#pragma warning restore SA1114
         )
       )
       .Append(' ');
@@ -1385,7 +1401,13 @@ public static partial class Generator {
             explicitInterface.FormatTypeName(typeWithNamespace: memberOptions.WithNamespace),
             ".",
 #if SYSTEM_STRING_CONCAT_READONLYSPAN_OF_CHAR
-            ev.Name.AsSpan(ev.Name.LastIndexOf('.') + 1)
+            ev.Name.AsSpan(
+#if NET11_0_OR_GREATER
+              ev.Name.LastIndexOf('.', StringComparison.Ordinal) + 1
+#else
+              ev.Name.LastIndexOf('.') + 1
+#endif
+            )
 #else
             ev.Name.Substring(ev.Name.LastIndexOf('.') + 1)
 #endif
diff --git a/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection/StructLayoutCustomAttributeData.cs b/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection/StructLayoutCustomAttributeData.cs
index de16fdf..9879164 100644
--- a/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection/StructLayoutCustomAttributeData.cs
+++ b/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection/StructLayoutCustomAttributeData.cs
@@ -9,7 +9,12 @@ namespace Smdn.Reflection;
 
 internal sealed class StructLayoutCustomAttributeData : CustomAttributeData {
   private struct DefaultLayoutStruct { }
-  private static readonly StructLayoutAttribute DefaultStructLayoutAttribute = typeof(DefaultLayoutStruct).StructLayoutAttribute!;
+  private static readonly StructLayoutAttribute DefaultStructLayoutAttribute = typeof(DefaultLayoutStruct)
+#if NET8_0_OR_GREATER
+    .StructLayoutAttribute!;
+#else
+    .StructLayoutAttribute;
+#endif
 
   public StructLayoutCustomAttributeData(StructLayoutAttribute attr)
   {
@@ -67,7 +73,12 @@ internal sealed class StructLayoutCustomAttributeData : CustomAttributeData {
     binder: null,
     types: [typeof(LayoutKind)],
     modifiers: null
+#if NET8_0_OR_GREATER
   )!;
+#else
+  );
+#endif
+
   public override IList<CustomAttributeTypedArgument> ConstructorArguments { get; }
   public override IList<CustomAttributeNamedArgument> NamedArguments { get; }
 }
diff --git a/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection/TypeNullableUnderlyingTypeExtensions.cs b/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection/TypeNullableUnderlyingTypeExtensions.cs
index 2a43754..99a7b0f 100644
--- a/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection/TypeNullableUnderlyingTypeExtensions.cs
+++ b/src/Smdn.Reflection.ReverseGenerating/Smdn.Reflection/TypeNullableUnderlyingTypeExtensions.cs
@@ -29,6 +29,14 @@ internal static class TypeNullableUnderlyingTypeExtensions {
 
     nullableUnderlyingType = default;
 
+#if SYSTEM_TYPE_GETNULLABLEUNDERLYINGTYPE
+    if (t.IsGenericTypeDefinition)
+      return false; // not a constructed generic type
+
+    nullableUnderlyingType = t.GetNullableUnderlyingType();
+
+    return nullableUnderlyingType is not null;
+#else
     if (!t.IsValueType)
       return false; // not a struct
     if (!t.IsGenericType)
@@ -49,5 +57,6 @@ internal static class TypeNullableUnderlyingTypeExtensions {
     nullableUnderlyingType = genericArgs[0]; // T of System.Nullable<T>
 
     return true;
+#endif
   }
 }

Notes

What's Changed

Notable changes (may include changes not directly related)

  • Smdn.Reflection.ReverseGenerating: Reformat C# files by @github-actions[bot] in #93

Dependencies

  • Bump the smdn-workflows-dotnet group with 2 updates by @dependabot[bot] in #78
  • Bump actions/checkout from 6.0.2 to 7.0.0 in the github-actions-workflows group by @dependabot[bot] in #83
  • Bump smdn/workflows-dotnet/.github/workflows/test.yml from 1.9.2 to 1.10.1 by @dependabot[bot] in #87
  • Bump github/codeql-action/autobuild from 4.36.0 to 4.36.2 by @dependabot[bot] in #86
  • Bump github/codeql-action/analyze from 4.36.0 to 4.36.2 by @dependabot[bot] in #85
  • Bump github/codeql-action/init from 4.36.0 to 4.36.2 by @dependabot[bot] in #84

New Contributors

  • @github-actions[bot] made their first contribution in #93

Full Changelog: releases/Smdn.Reflection.ReverseGenerating-1.5.1...releases/Smdn.Reflection.ReverseGenerating-1.6.0