Skip to content

Commit

Permalink
Merge pull request #41 from smdn/releases/Smdn.Reflection.ReverseGene…
Browse files Browse the repository at this point in the history
…rating.ListApi.Core-1.3.0-1707644478

Release main/Smdn.Reflection.ReverseGenerating.ListApi.Core-1.3.0
  • Loading branch information
smdn authored Feb 11, 2024
2 parents 5432873 + bd6b01a commit da5f8bc
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 114 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
// Smdn.Reflection.ReverseGenerating.ListApi.Core.dll (Smdn.Reflection.ReverseGenerating.ListApi.Core-1.2.0)
// Smdn.Reflection.ReverseGenerating.ListApi.Core.dll (Smdn.Reflection.ReverseGenerating.ListApi.Core-1.3.0)
// Name: Smdn.Reflection.ReverseGenerating.ListApi.Core
// AssemblyVersion: 1.2.0.0
// InformationalVersion: 1.2.0+4171114f874ee632b40586362e7979ce5871c0c7
// AssemblyVersion: 1.3.0.0
// InformationalVersion: 1.3.0+54328733b5796254153c4c81506d16c69c41f84c
// TargetFramework: .NETCoreApp,Version=v6.0
// Configuration: Release
// Referenced assemblies:
// Microsoft.Extensions.DependencyModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
// Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
// Smdn.Fundamental.Reflection, Version=3.3.0.0, Culture=neutral
// Smdn.Reflection.ReverseGenerating, Version=1.1.1.0, Culture=neutral
// Smdn.Fundamental.Reflection, Version=3.6.0.0, Culture=neutral
// Smdn.Reflection.ReverseGenerating, Version=1.3.0.0, Culture=neutral
// System.Collections, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Linq, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Expand Down Expand Up @@ -47,6 +47,7 @@ public class WriterOptions {
public WriterOptions() {}

public bool OrderStaticMembersFirst { get; set; }
public bool ThrowIfForwardedTypesCouldNotLoaded { get; set; }
public bool WriteAssemblyInfo { get; set; }
public bool WriteEmbeddedResources { get; set; }
public bool WriteFooter { get; set; }
Expand All @@ -64,6 +65,13 @@ public static class AssemblyExtensions {
[return: MaybeNull] public static TValue GetAssemblyMetadataAttributeValue<TAssemblyMetadataAttribute, TValue>(this Assembly assm) where TAssemblyMetadataAttribute : Attribute {}
}

public sealed class AssemblyFileNotFoundException : FileNotFoundException {
public AssemblyFileNotFoundException() {}
public AssemblyFileNotFoundException(string? message) {}
public AssemblyFileNotFoundException(string? message, Exception? innerException) {}
public AssemblyFileNotFoundException(string? message, string? fileName, Exception? innerException) {}
}

public static class AssemblyLoader {
[return: MaybeNull] public static TResult UsingAssembly<TArg, TResult>(FileInfo assemblyFile, bool loadIntoReflectionOnlyContext, TArg arg, Func<Assembly, TArg, TResult>? actionWithLoadedAssembly, out WeakReference? context, ILogger? logger = null) {}
[return: MaybeNull] public static TResult UsingAssembly<TArg, TResult>(Stream assemblyStream, string componentAssemblyPath, bool loadIntoReflectionOnlyContext, TArg arg, Func<Assembly, TArg, TResult> actionWithLoadedAssembly, out WeakReference? context, ILogger? logger = null) {}
Expand All @@ -87,5 +95,5 @@ public int Compare(MemberInfo? x, MemberInfo? y) {}
public int GetOrder(MemberInfo? member) {}
}
}
// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.2.1.0.
// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.3.1.0.
// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.2.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
// Smdn.Reflection.ReverseGenerating.ListApi.Core.dll (Smdn.Reflection.ReverseGenerating.ListApi.Core-1.2.0)
// Smdn.Reflection.ReverseGenerating.ListApi.Core.dll (Smdn.Reflection.ReverseGenerating.ListApi.Core-1.3.0)
// Name: Smdn.Reflection.ReverseGenerating.ListApi.Core
// AssemblyVersion: 1.2.0.0
// InformationalVersion: 1.2.0+4171114f874ee632b40586362e7979ce5871c0c7
// TargetFramework: .NETCoreApp,Version=v7.0
// AssemblyVersion: 1.3.0.0
// InformationalVersion: 1.3.0+54328733b5796254153c4c81506d16c69c41f84c
// TargetFramework: .NETCoreApp,Version=v8.0
// Configuration: Release
// Referenced assemblies:
// Microsoft.Extensions.DependencyModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
// Microsoft.Extensions.DependencyModel, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
// Microsoft.Extensions.Logging.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
// Smdn.Fundamental.Reflection, Version=3.3.0.0, Culture=neutral
// Smdn.Reflection.ReverseGenerating, Version=1.1.1.0, Culture=neutral
// System.Collections, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Linq, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Reflection.MetadataLoadContext, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
// System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Runtime.InteropServices, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Runtime.Loader, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// Smdn.Fundamental.Reflection, Version=3.6.0.0, Culture=neutral
// Smdn.Reflection.ReverseGenerating, Version=1.3.0.0, Culture=neutral
// System.Collections, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Linq, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Reflection.Metadata, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Reflection.MetadataLoadContext, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
// System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Runtime.InteropServices, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// System.Runtime.Loader, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
#nullable enable annotations

using System;
Expand Down Expand Up @@ -47,6 +47,7 @@ public class WriterOptions {
public WriterOptions() {}

public bool OrderStaticMembersFirst { get; set; }
public bool ThrowIfForwardedTypesCouldNotLoaded { get; set; }
public bool WriteAssemblyInfo { get; set; }
public bool WriteEmbeddedResources { get; set; }
public bool WriteFooter { get; set; }
Expand All @@ -64,6 +65,13 @@ public static class AssemblyExtensions {
[return: MaybeNull] public static TValue GetAssemblyMetadataAttributeValue<TAssemblyMetadataAttribute, TValue>(this Assembly assm) where TAssemblyMetadataAttribute : Attribute {}
}

public sealed class AssemblyFileNotFoundException : FileNotFoundException {
public AssemblyFileNotFoundException() {}
public AssemblyFileNotFoundException(string? message) {}
public AssemblyFileNotFoundException(string? message, Exception? innerException) {}
public AssemblyFileNotFoundException(string? message, string? fileName, Exception? innerException) {}
}

public static class AssemblyLoader {
[return: MaybeNull] public static TResult UsingAssembly<TArg, TResult>(FileInfo assemblyFile, bool loadIntoReflectionOnlyContext, TArg arg, Func<Assembly, TArg, TResult>? actionWithLoadedAssembly, out WeakReference? context, ILogger? logger = null) {}
[return: MaybeNull] public static TResult UsingAssembly<TArg, TResult>(Stream assemblyStream, string componentAssemblyPath, bool loadIntoReflectionOnlyContext, TArg arg, Func<Assembly, TArg, TResult> actionWithLoadedAssembly, out WeakReference? context, ILogger? logger = null) {}
Expand All @@ -87,5 +95,5 @@ public int Compare(MemberInfo? x, MemberInfo? y) {}
public int GetOrder(MemberInfo? member) {}
}
}
// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.2.1.0.
// API list generated by Smdn.Reflection.ReverseGenerating.ListApi.MSBuild.Tasks v1.3.1.0.
// Smdn.Reflection.ReverseGenerating.ListApi.Core v1.2.0.0 (https://github.com/smdn/Smdn.Reflection.ReverseGenerating)

This file was deleted.

0 comments on commit da5f8bc

Please sign in to comment.