Skip to content

Commit

Permalink
Merge pull request #4 from smdn/releases/Smdn.Reflection.ReverseGener…
Browse files Browse the repository at this point in the history
…ating.ListApi.Core-1.1.1-1657403365

Release main/Smdn.Reflection.ReverseGenerating.ListApi.Core-1.1.1
  • Loading branch information
smdn authored Jul 9, 2022
2 parents c427f8c + aa71725 commit a9042d1
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
// Smdn.Reflection.ReverseGenerating.ListApi.Core.dll (Smdn.Reflection.ReverseGenerating.ListApi.Core-1.1.0)
// Smdn.Reflection.ReverseGenerating.ListApi.Core.dll (Smdn.Reflection.ReverseGenerating.ListApi.Core-1.1.1)
// Name: Smdn.Reflection.ReverseGenerating.ListApi.Core
// AssemblyVersion: 1.1.0.0
// InformationalVersion: 1.1.0+074a83ab64ee9e829c2f3835cf0c03af8af0f59d
// AssemblyVersion: 1.1.1.0
// InformationalVersion: 1.1.1+c427f8c147936a9aec90fa59918071264114150c
// TargetFramework: .NETCoreApp,Version=v6.0
// Configuration: Release

using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using Microsoft.Extensions.Logging;
using Smdn.Reflection.ReverseGenerating;
using Smdn.Reflection.ReverseGenerating.ListApi;

namespace Smdn.Reflection.ReverseGenerating.ListApi {
[Nullable(byte.MinValue)]
[NullableContext(1)]
public class ApiListWriter {
public ApiListWriter(TextWriter baseWriter, Assembly assembly, ApiListWriterOptions options) {}

Expand All @@ -24,7 +28,10 @@ public void WriteAssemblyInfoHeader() {}
public void WriteExportedTypes() {}
}

[Nullable(byte.MinValue)]
[NullableContext(1)]
public class ApiListWriterOptions : GeneratorOptions {
[NullableContext(byte.MinValue)]
public class WriterOptions {
public WriterOptions() {}

Expand All @@ -38,28 +45,38 @@ public ApiListWriterOptions() {}
}

public static class AssemblyExtensions {
public static TValue GetAssemblyMetadataAttributeValue<TAssemblyMetadataAttribute, TValue>(this Assembly assm) where TAssemblyMetadataAttribute : Attribute {}
[NullableContext(1)]
[return: MaybeNull] public static TValue GetAssemblyMetadataAttributeValue<TAssemblyMetadataAttribute, TValue>(this Assembly assm) where TAssemblyMetadataAttribute : Attribute {}
}

[Nullable(byte.MinValue)]
[NullableContext(1)]
public static class AssemblyLoader {
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>(FileInfo assemblyFile, bool loadIntoReflectionOnlyContext, TArg arg, Func<Assembly, TArg, TResult> actionWithLoadedAssembly, [Nullable(2)] out WeakReference context, [Nullable(2)] ILogger logger = null) {}
}

[Nullable(byte.MinValue)]
[NullableContext(1)]
public static class AttributeFilter {
public static readonly AttributeTypeFilter Default; // = "Smdn.Reflection.ReverseGenerating.AttributeTypeFilter"
}

public static class FrameworkMonikers {
public static bool TryGetMoniker(FrameworkName frameworkName, string osSpecifier, out string frameworkMoniker) {}
[NullableContext(2)]
public static bool TryGetMoniker([Nullable(1)] FrameworkName frameworkName, string osSpecifier, [NotNullWhen(true)] out string frameworkMoniker) {}
}

[Nullable(byte.MinValue)]
[NullableContext(1)]
public class MemberInfoComparer : IComparer<MemberInfo> {
public static readonly MemberInfoComparer Default; // = "Smdn.Reflection.ReverseGenerating.ListApi.MemberInfoComparer"
public static readonly MemberInfoComparer StaticMembersFirst; // = "Smdn.Reflection.ReverseGenerating.ListApi.MemberInfoComparer"

public MemberInfoComparer(int orderOfStaticMember, int orderOfInstanceMember) {}

[NullableContext(2)]
public int Compare(MemberInfo x, MemberInfo y) {}
[NullableContext(2)]
public int GetOrder(MemberInfo member) {}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
// Smdn.Reflection.ReverseGenerating.ListApi.Core.dll (Smdn.Reflection.ReverseGenerating.ListApi.Core-1.1.0)
// Smdn.Reflection.ReverseGenerating.ListApi.Core.dll (Smdn.Reflection.ReverseGenerating.ListApi.Core-1.1.1)
// Name: Smdn.Reflection.ReverseGenerating.ListApi.Core
// AssemblyVersion: 1.1.0.0
// InformationalVersion: 1.1.0+074a83ab64ee9e829c2f3835cf0c03af8af0f59d
// AssemblyVersion: 1.1.1.0
// InformationalVersion: 1.1.1+c427f8c147936a9aec90fa59918071264114150c
// TargetFramework: .NETCoreApp,Version=v3.1
// Configuration: Release

using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using Microsoft.Extensions.Logging;
using Smdn.Reflection.ReverseGenerating;
using Smdn.Reflection.ReverseGenerating.ListApi;

namespace Smdn.Reflection.ReverseGenerating.ListApi {
[Nullable(byte.MinValue)]
[NullableContext(1)]
public class ApiListWriter {
public ApiListWriter(TextWriter baseWriter, Assembly assembly, ApiListWriterOptions options) {}

Expand All @@ -24,7 +28,10 @@ public void WriteAssemblyInfoHeader() {}
public void WriteExportedTypes() {}
}

[Nullable(byte.MinValue)]
[NullableContext(1)]
public class ApiListWriterOptions : GeneratorOptions {
[NullableContext(byte.MinValue)]
public class WriterOptions {
public WriterOptions() {}

Expand All @@ -38,28 +45,38 @@ public ApiListWriterOptions() {}
}

public static class AssemblyExtensions {
public static TValue GetAssemblyMetadataAttributeValue<TAssemblyMetadataAttribute, TValue>(this Assembly assm) where TAssemblyMetadataAttribute : Attribute {}
[NullableContext(1)]
[return: MaybeNull] public static TValue GetAssemblyMetadataAttributeValue<TAssemblyMetadataAttribute, TValue>(this Assembly assm) where TAssemblyMetadataAttribute : Attribute {}
}

[Nullable(byte.MinValue)]
[NullableContext(1)]
public static class AssemblyLoader {
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>(FileInfo assemblyFile, bool loadIntoReflectionOnlyContext, TArg arg, Func<Assembly, TArg, TResult> actionWithLoadedAssembly, [Nullable(2)] out WeakReference context, [Nullable(2)] ILogger logger = null) {}
}

[Nullable(byte.MinValue)]
[NullableContext(1)]
public static class AttributeFilter {
public static readonly AttributeTypeFilter Default; // = "Smdn.Reflection.ReverseGenerating.AttributeTypeFilter"
}

public static class FrameworkMonikers {
public static bool TryGetMoniker(FrameworkName frameworkName, string osSpecifier, out string frameworkMoniker) {}
[NullableContext(2)]
public static bool TryGetMoniker([Nullable(1)] FrameworkName frameworkName, string osSpecifier, [NotNullWhen(true)] out string frameworkMoniker) {}
}

[Nullable(byte.MinValue)]
[NullableContext(1)]
public class MemberInfoComparer : IComparer<MemberInfo> {
public static readonly MemberInfoComparer Default; // = "Smdn.Reflection.ReverseGenerating.ListApi.MemberInfoComparer"
public static readonly MemberInfoComparer StaticMembersFirst; // = "Smdn.Reflection.ReverseGenerating.ListApi.MemberInfoComparer"

public MemberInfoComparer(int orderOfStaticMember, int orderOfInstanceMember) {}

[NullableContext(2)]
public int Compare(MemberInfo x, MemberInfo y) {}
[NullableContext(2)]
public int GetOrder(MemberInfo member) {}
}
}
Expand Down

0 comments on commit a9042d1

Please sign in to comment.