Releases: smdn/Smdn.Fundamentals
Smdn.Fundamental.Encoding.OctetEncoding version 3.0.1
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2022-05-04 update assembly version
- 2022-05-04 expand target frameworks
- 2022-05-04 improve switching implementation
- 2022-01-02 define PackageTags
- 2022-01-02 refactor assembly attributes and package properties
- 2021-12-12 enable package validation and define PackageValidationBaselineVersion
- 2021-12-11 use file-scoped namespace declaration
- 2021-12-10 follow the code analyzer rules
API changes
API changes in this release:
diff --git a/doc/api-list/Smdn.Fundamental.Encoding.OctetEncoding/Smdn.Fundamental.Encoding.OctetEncoding-net45.apilist.cs b/doc/api-list/Smdn.Fundamental.Encoding.OctetEncoding/Smdn.Fundamental.Encoding.OctetEncoding-net45.apilist.cs
index 6e2576b7..222cb704 100644
--- a/doc/api-list/Smdn.Fundamental.Encoding.OctetEncoding/Smdn.Fundamental.Encoding.OctetEncoding-net45.apilist.cs
+++ b/doc/api-list/Smdn.Fundamental.Encoding.OctetEncoding/Smdn.Fundamental.Encoding.OctetEncoding-net45.apilist.cs
@@ -1,26 +1,26 @@
-// Smdn.Fundamental.Encoding.OctetEncoding.dll (Smdn.Fundamental.Encoding.OctetEncoding-3.0.0 (net45))
+// Smdn.Fundamental.Encoding.OctetEncoding.dll (Smdn.Fundamental.Encoding.OctetEncoding-3.0.1)
// Name: Smdn.Fundamental.Encoding.OctetEncoding
-// AssemblyVersion: 3.0.0.0
-// InformationalVersion: 3.0.0 (net45)
+// AssemblyVersion: 3.0.1.0
+// InformationalVersion: 3.0.1+a8efaa66645cdba0dfd996d21cad4994bb5fd86b
// TargetFramework: .NETFramework,Version=v4.5
// Configuration: Release
using System.Text;
namespace Smdn.Text.Encodings {
[TypeForwardedFrom("Smdn, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null")]
public class OctetEncoding : Encoding {
public static readonly Encoding EightBits; // = "Smdn.Text.Encodings.OctetEncoding"
public static readonly Encoding SevenBits; // = "Smdn.Text.Encodings.OctetEncoding"
public OctetEncoding(int bits) {}
public override int GetByteCount(char[] chars, int index, int count) {}
public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex) {}
public override int GetCharCount(byte[] bytes, int index, int count) {}
public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex) {}
public override int GetMaxByteCount(int charCount) {}
public override int GetMaxCharCount(int byteCount) {}
}
}
diff --git a/doc/api-list/Smdn.Fundamental.Encoding.OctetEncoding/Smdn.Fundamental.Encoding.OctetEncoding-net46.apilist.cs b/doc/api-list/Smdn.Fundamental.Encoding.OctetEncoding/Smdn.Fundamental.Encoding.OctetEncoding-net46.apilist.cs
new file mode 100644
index 00000000..2109da68
--- /dev/null
+++ b/doc/api-list/Smdn.Fundamental.Encoding.OctetEncoding/Smdn.Fundamental.Encoding.OctetEncoding-net46.apilist.cs
@@ -0,0 +1,27 @@
+// Smdn.Fundamental.Encoding.OctetEncoding.dll (Smdn.Fundamental.Encoding.OctetEncoding-3.0.1)
+// Name: Smdn.Fundamental.Encoding.OctetEncoding
+// AssemblyVersion: 3.0.1.0
+// InformationalVersion: 3.0.1+a8efaa66645cdba0dfd996d21cad4994bb5fd86b
+// TargetFramework: .NETFramework,Version=v4.6
+// Configuration: Release
+
+using System.Text;
+
+namespace Smdn.Text.Encodings {
+ [TypeForwardedFrom("Smdn, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null")]
+ public class OctetEncoding : Encoding {
+ public static readonly Encoding EightBits; // = "Smdn.Text.Encodings.OctetEncoding"
+ public static readonly Encoding SevenBits; // = "Smdn.Text.Encodings.OctetEncoding"
+
+ public OctetEncoding(int bits) {}
+ public OctetEncoding(int bits, EncoderFallback encoderFallback, DecoderFallback decoderFallback) {}
+
+ public override int GetByteCount(char[] chars, int index, int count) {}
+ public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex) {}
+ public override int GetCharCount(byte[] bytes, int index, int count) {}
+ public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex) {}
+ public override int GetMaxByteCount(int charCount) {}
+ public override int GetMaxCharCount(int byteCount) {}
+ }
+}
+
diff --git a/doc/api-list/Smdn.Fundamental.Encoding.OctetEncoding/Smdn.Fundamental.Encoding.OctetEncoding-net6.0.apilist.cs b/doc/api-list/Smdn.Fundamental.Encoding.OctetEncoding/Smdn.Fundamental.Encoding.OctetEncoding-net6.0.apilist.cs
new file mode 100644
index 00000000..e9cee945
--- /dev/null
+++ b/doc/api-list/Smdn.Fundamental.Encoding.OctetEncoding/Smdn.Fundamental.Encoding.OctetEncoding-net6.0.apilist.cs
@@ -0,0 +1,27 @@
+// Smdn.Fundamental.Encoding.OctetEncoding.dll (Smdn.Fundamental.Encoding.OctetEncoding-3.0.1)
+// Name: Smdn.Fundamental.Encoding.OctetEncoding
+// AssemblyVersion: 3.0.1.0
+// InformationalVersion: 3.0.1+a8efaa66645cdba0dfd996d21cad4994bb5fd86b
+// TargetFramework: .NETCoreApp,Version=v6.0
+// Configuration: Release
+
+using System.Text;
+
+namespace Smdn.Text.Encodings {
+ [TypeForwardedFrom("Smdn, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null")]
+ public class OctetEncoding : Encoding {
+ public static readonly Encoding EightBits; // = "Smdn.Text.Encodings.OctetEncoding"
+ public static readonly Encoding SevenBits; // = "Smdn.Text.Encodings.OctetEncoding"
+
+ public OctetEncoding(int bits) {}
+ public OctetEncoding(int bits, EncoderFallback encoderFallback, DecoderFallback decoderFallback) {}
+
+ public override int GetByteCount(char[] chars, int index, int count) {}
+ public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex) {}
+ public override int GetCharCount(byte[] bytes, int index, int count) {}
+ public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex) {}
+ public override int GetMaxByteCount(int charCount) {}
+ public override int GetMaxCharCount(int byteCount) {}
+ }
+}
+
diff --git a/doc/api-list/Smdn.Fundamental.Encoding.OctetEncoding/Smdn.Fundamental.Encoding.OctetEncoding-netstandard1.3.apilist.cs b/doc/api-list/Smdn.Fundamental.Encoding.OctetEncoding/Smdn.Fundamental.Encoding.OctetEncoding-netstandard1.3.apilist.cs
new file mode 100644
index 00000000..8ac2a8f7
--- /dev/null
+++ b/doc/api-list/Smdn.Fundamental.Encoding.OctetEncoding/Smdn.Fundamental.Encoding.OctetEncoding-netstandard1.3.apilist.cs
@@ -0,0 +1,27 @@
+// Smdn.Fundamental.Encoding.OctetEncoding.dll (Smdn.Fundamental.Encoding.OctetEncoding-3.0.1)
+// Name: Smdn.Fundamental.Encoding.OctetEncoding
+// AssemblyVersion: 3.0.1.0
+// InformationalVersion: 3.0.1+a8efaa66645cdba0dfd996d21cad4994bb5fd86b
+// TargetFramework: .NETStandard,Version=v1.3
+// Configuration: Release
+
+using System.Text;
+
+namespace Smdn.Text.Encodings {
+ [TypeForwardedFrom("Smdn, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null")]
+ public class OctetEncoding : Encoding {
+ public static readonly Encoding EightBits; // = "Smdn.Text.Encodings.OctetEncoding"
+ public static readonly Encoding SevenBits; // = "Smdn.Text.Encodings.OctetEncoding"
+
+ public OctetEncoding(int bits) {}
+ public OctetEncoding(int bits, EncoderFallback encoderFallback, DecoderFallback decoderFallback) {}
+
+ public override int GetByteCount(char[] chars, int index, int count) {}
+ public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex) {}
+ public override int GetCharCount(byte[] bytes, int index, int count) {}
+ public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex) {}
+ public override int GetMaxByteCount(int charCount) {}
+ public override int GetMaxCharCount(int byteCount) {}
+ }
+}
+
diff --git a/doc/api-list/Smdn.Fundamental.Encoding.OctetEncoding/Smdn.Fundamental.Encoding.OctetEncoding-netstandard1.6.apilist.cs b/doc/api-list/Smdn.Fundamental.Encoding.OctetEncoding/Smdn.Fundamental.Encoding.OctetEncoding-netstandard1.6.apilist.cs
index 5c32a8c4..eb629e36 100644
--- a/doc/api-list/Smdn.Fundamental.Encoding.OctetEncoding/Smdn.Fundamental.Encoding.OctetEncoding-netstandard1.6.apilist.cs
+++ b/doc/api-list/Smdn.Fundamental.Encoding.OctetEncoding/Smdn.Fundamental.Encoding.OctetEncoding-netstandard1.6.apilist.cs
@@ -1,27 +1,27 @@
-// Smdn.Fundamental.Encoding.OctetEncoding.dll (Smdn.Fundamental.Encoding.OctetEncoding-3.0.0 (netstandard1.6))
+// Smdn.Fundamental.Encoding.OctetEncoding.dll (Smdn.Fundamental.Encoding.OctetEncoding-3.0.1)
// Name: Smdn.Fundamental.Encoding.OctetEncoding
-// AssemblyVersion: 3.0.0.0
-// InformationalVersion: 3.0.0 (netstandard1.6)
+// AssemblyVersion: 3.0.1.0
+// InformationalVersion: 3.0.1+a8efaa66645cdba0dfd996d21cad4994bb5fd86b
// TargetFramework: .NETStandard,Version=v1.6
// Configuration: Release
using System.Te...
Smdn.Fundamental.Shim version 3.1.3
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2022-04-29 update assembly version
- 2022-04-29 expand target frameworks
- 2022-04-14 remove unnecessary using statement
API changes
API changes in this release:
diff --git a/doc/api-list/Smdn.Fundamental.Shim/Smdn.Fundamental.Shim-net45.apilist.cs b/doc/api-list/Smdn.Fundamental.Shim/Smdn.Fundamental.Shim-net45.apilist.cs
index fadc30c8..3babf926 100644
--- a/doc/api-list/Smdn.Fundamental.Shim/Smdn.Fundamental.Shim-net45.apilist.cs
+++ b/doc/api-list/Smdn.Fundamental.Shim/Smdn.Fundamental.Shim-net45.apilist.cs
@@ -1,93 +1,93 @@
-// Smdn.Fundamental.Shim.dll (Smdn.Fundamental.Shim-3.1.2)
+// Smdn.Fundamental.Shim.dll (Smdn.Fundamental.Shim-3.1.3)
// Name: Smdn.Fundamental.Shim
-// AssemblyVersion: 3.1.2.0
-// InformationalVersion: 3.1.2+583e46c2622be1c7334f84e2c1d79c58b2d5a596
+// AssemblyVersion: 3.1.3.0
+// InformationalVersion: 3.1.3+776c90f65c448c72e1f3c8c16c24fe988b1af46a
// TargetFramework: .NETFramework,Version=v4.5
// Configuration: Release
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace Smdn {
public static class ArrayShim {
public static TOutput[] ConvertAll<TInput, TOutput>(this TInput[] array, Converter<TInput, TOutput> converter) {}
public static TOutput[] ConvertAll<TInput, TOutput>(this TInput[] array, Func<TInput, TOutput> converter) {}
public static T[] Empty<T>() {}
}
public static class BitOperationsShim {
public static bool IsPow2(int @value) {}
public static bool IsPow2(long @value) {}
public static bool IsPow2(uint @value) {}
public static bool IsPow2(ulong @value) {}
public static int LeadingZeroCount(uint @value) {}
public static int LeadingZeroCount(ulong @value) {}
public static int Log2(uint @value) {}
public static int Log2(ulong @value) {}
public static int PopCount(uint @value) {}
public static int PopCount(ulong @value) {}
public static int TrailingZeroCount(uint @value) {}
public static int TrailingZeroCount(ulong @value) {}
}
public static class MathShim {
public static byte Clamp(byte @value, byte min, byte max) {}
public static decimal Clamp(decimal @value, decimal min, decimal max) {}
public static double Clamp(double @value, double min, double max) {}
public static float Clamp(float @value, float min, float max) {}
public static int Clamp(int @value, int min, int max) {}
public static long Clamp(long @value, long min, long max) {}
public static sbyte Clamp(sbyte @value, sbyte min, sbyte max) {}
public static short Clamp(short @value, short min, short max) {}
public static uint Clamp(uint @value, uint min, uint max) {}
public static ulong Clamp(ulong @value, ulong min, ulong max) {}
public static ushort Clamp(ushort @value, ushort min, ushort max) {}
public static (byte Quotient, byte Remainder) DivRem(byte left, byte right) {}
public static (int Quotient, int Remainder) DivRem(int left, int right) {}
public static (long Quotient, long Remainder) DivRem(long left, long right) {}
public static (sbyte Quotient, sbyte Remainder) DivRem(sbyte left, sbyte right) {}
public static (short Quotient, short Remainder) DivRem(short left, short right) {}
public static (uint Quotient, uint Remainder) DivRem(uint left, uint right) {}
public static (ulong Quotient, ulong Remainder) DivRem(ulong left, ulong right) {}
public static (ushort Quotient, ushort Remainder) DivRem(ushort left, ushort right) {}
public static int DivRem(int a, int b, out int result) {}
public static long DivRem(long a, long b, out long result) {}
}
public static class StringShim {
public static string Construct(ReadOnlySpan<char> s) {}
public static bool EndsWith(this string str, char @value) {}
public static bool StartsWith(this string str, char @value) {}
}
}
namespace Smdn.IO {
public static class BinaryReaderExtensions {
public static void Close(this BinaryReader reader) {}
}
public static class BinaryWriterExtensions {
public static void Close(this BinaryWriter writer) {}
}
public static class TextReaderShim {
public static void Close(this TextReader reader) {}
}
public static class TextWriterExtensions {
public static void Close(this TextWriter writer) {}
}
}
namespace Smdn.Threading {
public static class ValueTaskShim {
public static ValueTask CompletedTask { get; }
public static ValueTask FromCanceled(CancellationToken cancellationToken) {}
public static ValueTask<TResult> FromCanceled<TResult>(CancellationToken cancellationToken) {}
public static ValueTask<TResult> FromResult<TResult>(TResult result) {}
}
}
diff --git a/doc/api-list/Smdn.Fundamental.Shim/Smdn.Fundamental.Shim-net5.0.apilist.cs b/doc/api-list/Smdn.Fundamental.Shim/Smdn.Fundamental.Shim-net5.0.apilist.cs
index 2dbe7def..cc40693a 100644
--- a/doc/api-list/Smdn.Fundamental.Shim/Smdn.Fundamental.Shim-net5.0.apilist.cs
+++ b/doc/api-list/Smdn.Fundamental.Shim/Smdn.Fundamental.Shim-net5.0.apilist.cs
@@ -1,93 +1,93 @@
-// Smdn.Fundamental.Shim.dll (Smdn.Fundamental.Shim-3.1.2)
+// Smdn.Fundamental.Shim.dll (Smdn.Fundamental.Shim-3.1.3)
// Name: Smdn.Fundamental.Shim
-// AssemblyVersion: 3.1.2.0
-// InformationalVersion: 3.1.2+583e46c2622be1c7334f84e2c1d79c58b2d5a596
+// AssemblyVersion: 3.1.3.0
+// InformationalVersion: 3.1.3+776c90f65c448c72e1f3c8c16c24fe988b1af46a
// TargetFramework: .NETCoreApp,Version=v5.0
// Configuration: Release
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace Smdn {
public static class ArrayShim {
public static TOutput[] ConvertAll<TInput, TOutput>(this TInput[] array, Converter<TInput, TOutput> converter) {}
public static TOutput[] ConvertAll<TInput, TOutput>(this TInput[] array, Func<TInput, TOutput> converter) {}
public static T[] Empty<T>() {}
}
public static class BitOperationsShim {
public static bool IsPow2(int @value) {}
public static bool IsPow2(long @value) {}
public static bool IsPow2(uint @value) {}
public static bool IsPow2(ulong @value) {}
public static int LeadingZeroCount(uint @value) {}
public static int LeadingZeroCount(ulong @value) {}
public static int Log2(uint @value) {}
public static int Log2(ulong @value) {}
public static int PopCount(uint @value) {}
public static int PopCount(ulong @value) {}
public static int TrailingZeroCount(uint @value) {}
public static int TrailingZeroCount(ulong @value) {}
}
public static class MathShim {
public static byte Clamp(byte @value, byte min, byte max) {}
public static decimal Clamp(decimal @value, decimal min, decimal max) {}
public static double Clamp(double @value, double min, double max) {}
public static float Clamp(float @value, float min, float max) {}
public static int Clamp(int @value, int min, int max) {}
public static long Clamp(long @value, long min, long max) {}
public static sbyte Clamp(sbyte @value, sbyte min, sbyte max) {}
public static short Clamp(short @value, short min, short max) {}
public static uint Clamp(uint @value, uint min, uint max) {}
public static ulong Clamp(ulong @value, ulong min, ulong max) {}
public static ushort Clamp(ushort @value, ushort min, ushort max) {}
public static (byte Quotient, byte Remainder) DivRem(byte left, byte right) {}
public static (int Quotient, int Remainder) DivRem(int left, int right) {}
public static (long Quotient, long Remainder) DivRem(long left, long right) {}
public static (sbyte Quotient, sbyte Remainder) DivRem(sbyte left, sbyte right) {}
public static (short Quotient, short Remainder) DivRem(short left, short right) {}
public static (uint Quotient, uint Remainder) DivRem(uint left, uint right) {}
public static (ulong Quotient, ulong Remainder) DivRem(ulong left, ulong right) {}
public static (ushort Quotient, ushort Remainder) DivRem(ushort left, ushort right) {}
public static int DivRem(int a, int b, out int result) {}
public static long DivRem(long a, long b, out long result) {}
}
public static class StringShim {
public static string Construct(ReadOnlySpan<char> s) {}
public static bool EndsWith(this string str, char @value) {}
public static bool StartsWith(this string str, char @value) {}
}
}
namespace Smdn.IO {
public static class BinaryReaderExtensions {
public static void Close(this BinaryReader reader) {}
}
public static class BinaryWriterExtensions {
public static void Close(this BinaryWriter writer) {}
}
public static class TextReaderShim {
public static void Close(this TextReader reader) {}
}
public static class TextWriterExtensions {
public static void Close(this TextWriter writer) {}
}
}
namespace Smdn.Threading {
public static class ValueTaskShim {
public static ValueTask CompletedTask { get; }
public static ValueTask FromCanceled(CancellationToken cancellationToken) {}
public static ValueTask<TResult> FromCanceled<TResult>(CancellationToken cancellationToken) {}
public sta...
Smdn.MSBuild.DefineConstants.NETSdkApi version 1.3.0
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2022-04-28 update package version
- 2022-04-28 add support for generating symbols for API groups
- 2022-04-28 update comment format
- 2022-04-28 add description
Full Changelog: releases/Smdn.Fundamental.MimeType-3.1.0...releases/Smdn.MSBuild.DefineConstants.NETSdkApi-1.3.0
Smdn.MSBuild.DefineConstants.NETSdkApi version 1.2.4
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2022-04-25 update package version
- 2022-04-25 add entries
Full Changelog: releases/Smdn.Test.NUnit.Utils-1.0.0...releases/Smdn.MSBuild.DefineConstants.NETSdkApi-1.2.4
Smdn.Fundamental.MimeType version 3.1.0
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2022-04-25 fix typo
- 2022-04-25 move MimeTypeStringExtensions to namespace Smdn.Formats.Mime
- 2022-04-25 move files to new namespace directory
- 2022-04-25 update assembly version
- 2022-04-25 expand target frameworks
- 2022-04-25 append SupportedOSPlatformAttribute
- 2022-04-25 use Span instead
- 2022-04-25 add MimeType.Is
- 2022-04-24 add comment
- 2022-04-24 add MimeType.Is
- 2022-04-24 define constants for top-level types
- 2022-04-24 enable nullability annotations on assembly level
- 2022-04-24 add well-know mime types
- 2022-04-24 add mime types registered by RFC2046
- 2022-04-24 add comment
- 2022-04-24 append package tags
- 2022-04-24 add MimeType.CreateModelType/CreateFontType
- 2022-04-24 add comment
- 2022-04-24 [mark MimeType.Equals[IgnoreCase]/TypeEquals[IgnoreCase]/SubTypeEqualsIgnoreCase as obsolete](4eac841)
- 2022-04-24 limit max characters of input string on parsing
- 2022-04-23 implement IFormattable/ISpanFormattable
- 2022-04-23 add TODO comment
- 2022-04-23 simplify this reference
- 2022-04-23 implement IParseable and ISpanParseable
- 2022-04-23 add MimeTypeStringExtensions and reorganize implementations of parsing
- 2022-04-22 use StringComparison.OrdinalIgnoreCase as a default comparison type
- 2022-04-22 split implementations into individual files
- 2022-04-22 annotate nullabilities
- 2022-04-22 simplify
- 2022-04-22 annotate nullabilities
- 2022-04-22 use switch expressions
- 2022-04-22 add MimeType.Equals/TypeEquals/SubTypeEquals(string|MimeType, StringComparison)
- 2022-04-22 add MimeType.Equals/TypeEquals/SubTypeEquals(ReadOnlySpan, StringComparison)
- 2022-04-22 delete set accessor
- 2022-04-03 commonize package references for the package provided APIs
API changes
API changes in this release:
diff --git a/doc/api-list/Smdn.Fundamental.MimeType/Smdn.Fundamental.MimeType-net45.apilist.cs b/doc/api-list/Smdn.Fundamental.MimeType/Smdn.Fundamental.MimeType-net45.apilist.cs
index 6ab971d3..8a2f6e6a 100644
--- a/doc/api-list/Smdn.Fundamental.MimeType/Smdn.Fundamental.MimeType-net45.apilist.cs
+++ b/doc/api-list/Smdn.Fundamental.MimeType/Smdn.Fundamental.MimeType-net45.apilist.cs
@@ -1,67 +1,168 @@
-// Smdn.Fundamental.MimeType.dll (Smdn.Fundamental.MimeType-3.0.2)
+// Smdn.Fundamental.MimeType.dll (Smdn.Fundamental.MimeType-3.1.0)
// Name: Smdn.Fundamental.MimeType
-// AssemblyVersion: 3.0.2.0
-// InformationalVersion: 3.0.2+53f78e8e599784381721a51f463d3202aeade3d8
+// AssemblyVersion: 3.1.0.0
+// InformationalVersion: 3.1.0+73609d14a9c7ae47c72f6d32f87ad6ebc0a2d166
// TargetFramework: .NETFramework,Version=v4.5
// Configuration: Release
using System;
using System.Collections.Generic;
+using System.Runtime.CompilerServices;
using Smdn;
namespace Smdn {
+ [Nullable(byte.MinValue)]
+ [NullableContext(1)]
[TypeForwardedFrom("Smdn, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null")]
public class MimeType :
IEquatable<MimeType>,
- IEquatable<string>
+ IEquatable<string>,
+ IFormattable
{
public static readonly MimeType ApplicationOctetStream; // = "application/octet-stream"
+ public static readonly MimeType ApplicationXWwwFormUrlEncoded; // = "application/x-www-form-urlencoded"
public static readonly MimeType MessageExternalBody; // = "message/external-body"
public static readonly MimeType MessagePartial; // = "message/partial"
public static readonly MimeType MessageRfc822; // = "message/rfc822"
public static readonly MimeType MultipartAlternative; // = "multipart/alternative"
+ public static readonly MimeType MultipartDigest; // = "multipart/digest"
+ public static readonly MimeType MultipartFormData; // = "multipart/form-data"
public static readonly MimeType MultipartMixed; // = "multipart/mixed"
+ public static readonly MimeType MultipartParallel; // = "multipart/parallel"
+ public static readonly MimeType TextHtml; // = "text/html"
public static readonly MimeType TextPlain; // = "text/plain"
+ public static readonly MimeType TextRtf; // = "text/rtf"
- public MimeType((string type, string subType) mimeType) {}
+ public MimeType([Nullable] (string type, string subType) mimeType) {}
public MimeType(string mimeType) {}
public MimeType(string type, string subType) {}
+ public bool IsApplication { get; }
+ public bool IsApplicationOctetStream { get; }
+ public bool IsApplicationXWwwFormUrlEncoded { get; }
+ public bool IsAudio { get; }
+ public bool IsFont { get; }
+ public bool IsImage { get; }
+ public bool IsMessage { get; }
+ public bool IsMessageExternalBody { get; }
+ public bool IsMessagePartial { get; }
+ public bool IsMessageRfc822 { get; }
+ public bool IsModel { get; }
+ public bool IsMultipart { get; }
+ public bool IsMultipartAlternative { get; }
+ public bool IsMultipartDigest { get; }
+ public bool IsMultipartFormData { get; }
+ public bool IsMultipartMixed { get; }
+ public bool IsMultipartParallel { get; }
+ public bool IsText { get; }
+ public bool IsTextHtml { get; }
+ public bool IsTextPlain { get; }
+ public bool IsVideo { get; }
public string SubType { get; }
public string Type { get; }
public static MimeType CreateApplicationType(string subtype) {}
public static MimeType CreateAudioType(string subtype) {}
+ public static MimeType CreateFontType(string subtype) {}
public static MimeType CreateImageType(string subtype) {}
+ public static MimeType CreateModelType(string subtype) {}
public static MimeType CreateMultipartType(string subtype) {}
public static MimeType CreateTextType(string subtype) {}
public static MimeType CreateVideoType(string subtype) {}
public void Deconstruct(out string type, out string subType) {}
+ [Obsolete("Use `Equals(MimeType, StringComparison)` instead. This method will be changed to perform case-insensitive comparison in the future release.")]
+ [NullableContext(2)]
public bool Equals(MimeType other) {}
+ [NullableContext(2)]
+ public bool Equals(MimeType other, StringComparison comparisonType) {}
+ [NullableContext(byte.MinValue)]
+ public bool Equals(ReadOnlySpan<char> other, StringComparison comparisonType = StringComparison....
Smdn.Fundamental.Exception version 3.0.3
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2022-04-25 update assembly version
- 2022-04-25 expand target frameworks
API changes
API changes in this release:
diff --git a/doc/api-list/Smdn.Fundamental.Exception/Smdn.Fundamental.Exception-net45.apilist.cs b/doc/api-list/Smdn.Fundamental.Exception/Smdn.Fundamental.Exception-net45.apilist.cs
index 30b77cc1..b88741d8 100644
--- a/doc/api-list/Smdn.Fundamental.Exception/Smdn.Fundamental.Exception-net45.apilist.cs
+++ b/doc/api-list/Smdn.Fundamental.Exception/Smdn.Fundamental.Exception-net45.apilist.cs
@@ -1,46 +1,46 @@
-// Smdn.Fundamental.Exception.dll (Smdn.Fundamental.Exception-3.0.2)
+// Smdn.Fundamental.Exception.dll (Smdn.Fundamental.Exception-3.0.3)
// Name: Smdn.Fundamental.Exception
-// AssemblyVersion: 3.0.2.0
-// InformationalVersion: 3.0.2+ca9595af421c26474f7e6fe593fc9def4ab21784
+// AssemblyVersion: 3.0.3.0
+// InformationalVersion: 3.0.3+501637c48b59b5e1527398dfc5b219db6419f3fb
// TargetFramework: .NETFramework,Version=v4.5
// Configuration: Release
using System;
using System.IO;
namespace Smdn {
[TypeForwardedFrom("Smdn, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null")]
public static class ExceptionUtils {
public static ArgumentException CreateAllItemsOfArgumentMustBeNonNull(string paramName) {}
public static ArgumentException CreateArgumentAttemptToAccessBeyondEndOfArray(string paramName, Array array, long offsetValue, long countValue) {}
public static ArgumentException CreateArgumentAttemptToAccessBeyondEndOfCollection<T>(string paramName, IReadOnlyCollection<T> collection, long offsetValue, long countValue) {}
public static ArgumentOutOfRangeException CreateArgumentMustBeGreaterThan(object minValue, string paramName, object actualValue) {}
public static ArgumentOutOfRangeException CreateArgumentMustBeGreaterThanOrEqualTo(object minValue, string paramName, object actualValue) {}
public static ArgumentOutOfRangeException CreateArgumentMustBeInRange(object rangeFrom, object rangeTo, string paramName, object actualValue) {}
public static ArgumentOutOfRangeException CreateArgumentMustBeLessThan(object maxValue, string paramName, object actualValue) {}
public static ArgumentOutOfRangeException CreateArgumentMustBeLessThanOrEqualTo(object maxValue, string paramName, object actualValue) {}
public static ArgumentException CreateArgumentMustBeMultipleOf(int n, string paramName) {}
public static ArgumentException CreateArgumentMustBeNonEmptyArray(string paramName) {}
public static ArgumentException CreateArgumentMustBeNonEmptyCollection(string paramName) {}
public static ArgumentException CreateArgumentMustBeNonEmptyString(string paramName) {}
public static ArgumentOutOfRangeException CreateArgumentMustBeNonZeroPositive(string paramName, object actualValue) {}
public static ArgumentException CreateArgumentMustBeReadableStream(string paramName) {}
public static ArgumentException CreateArgumentMustBeSeekableStream(string paramName) {}
public static ArgumentException CreateArgumentMustBeValidEnumValue<TEnum>(string paramName, TEnum invalidValue) where TEnum : Enum {}
public static ArgumentException CreateArgumentMustBeValidEnumValue<TEnum>(string paramName, TEnum invalidValue, string additionalMessage) where TEnum : Enum {}
public static ArgumentException CreateArgumentMustBeValidIAsyncResult(string paramName) {}
public static ArgumentException CreateArgumentMustBeWritableStream(string paramName) {}
public static ArgumentOutOfRangeException CreateArgumentMustBeZeroOrPositive(string paramName, object actualValue) {}
public static ArgumentException CreateArgumentMustHaveLengthAtLeast(string paramName, int length) {}
public static ArgumentException CreateArgumentMustHaveLengthExact(string paramName, int length) {}
public static ArgumentException CreateArgumentXMustBeLessThanOrEqualToY(object actualValueX, string paramNameX, object actualValueY, string paramNameY) {}
public static ArgumentException CreateArgumentXMustBeLessThanY(object actualValueX, string paramNameX, object actualValueY, string paramNameY) {}
public static IOException CreateIOAttemptToSeekBeforeStartOfStream() {}
public static NotSupportedException CreateNotSupportedEnumValue<TEnum>(TEnum unsupportedValue) where TEnum : Enum {}
public static NotSupportedException CreateNotSupportedReadingStream() {}
public static NotSupportedException CreateNotSupportedSeekingStream() {}
public static NotSupportedException CreateNotSupportedSettingStreamLength() {}
public static NotSupportedException CreateNotSupportedWritingStream() {}
}
}
diff --git a/doc/api-list/Smdn.Fundamental.Exception/Smdn.Fundamental.Exception-net5.0.apilist.cs b/doc/api-list/Smdn.Fundamental.Exception/Smdn.Fundamental.Exception-net5.0.apilist.cs
index af0ebeb8..e12be6fb 100644
--- a/doc/api-list/Smdn.Fundamental.Exception/Smdn.Fundamental.Exception-net5.0.apilist.cs
+++ b/doc/api-list/Smdn.Fundamental.Exception/Smdn.Fundamental.Exception-net5.0.apilist.cs
@@ -1,46 +1,46 @@
-// Smdn.Fundamental.Exception.dll (Smdn.Fundamental.Exception-3.0.2)
+// Smdn.Fundamental.Exception.dll (Smdn.Fundamental.Exception-3.0.3)
// Name: Smdn.Fundamental.Exception
-// AssemblyVersion: 3.0.2.0
-// InformationalVersion: 3.0.2+ca9595af421c26474f7e6fe593fc9def4ab21784
+// AssemblyVersion: 3.0.3.0
+// InformationalVersion: 3.0.3+501637c48b59b5e1527398dfc5b219db6419f3fb
// TargetFramework: .NETCoreApp,Version=v5.0
// Configuration: Release
using System;
using System.IO;
namespace Smdn {
[TypeForwardedFrom("Smdn, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null")]
public static class ExceptionUtils {
public static ArgumentException CreateAllItemsOfArgumentMustBeNonNull(string paramName) {}
public static ArgumentException CreateArgumentAttemptToAccessBeyondEndOfArray(string paramName, Array array, long offsetValue, long countValue) {}
public static ArgumentException CreateArgumentAttemptToAccessBeyondEndOfCollection<T>(string paramName, IReadOnlyCollection<T> collection, long offsetValue, long countValue) {}
public static ArgumentOutOfRangeException CreateArgumentMustBeGreaterThan(object minValue, string paramName, object actualValue) {}
public static ArgumentOutOfRangeException CreateArgumentMustBeGreaterThanOrEqualTo(object minValue, string paramName, object actualValue) {}
public static ArgumentOutOfRangeException CreateArgumentMustBeInRange(object rangeFrom, object rangeTo, string paramName, object actualValue) {}
public static ArgumentOutOfRangeException CreateArgumentMustBeLessThan(object maxValue, string paramName, object actualValue) {}
public static ArgumentOutOfRangeException CreateArgumentMustBeLessThanOrEqualTo(object maxValue, string paramName, object actualValue) {}
public static ArgumentException CreateArgumentMustBeMultipleOf(int n, string paramName) {}
public static ArgumentException CreateArgumentMustBeNonEmptyArray(string paramName) {}
public static ArgumentException CreateArgumentMustBeNonEmptyCollection(string paramName) {}
public static ArgumentException CreateArgumentMustBeNonEmptyString(string paramName) {}
public static ArgumentOutOfRangeException CreateArgumentMustBeNonZeroPositive(string paramName, object actualValue) {}
public static ArgumentException CreateArgumentMustBeReadableStream(string paramName) {}
public static ArgumentException CreateArgumentMustBeSeekableStream(string paramName) {}
public static ArgumentException CreateArgumentMustBeValidEnumValue<TEnum>(string paramName, TEnum invalidValue) where TEnum : Enum {}
public static ArgumentException CreateArgumentMustBeValidEnumValue<TEnum>(string paramName, TEnum invalidValue, string additionalMessage) where TEnum : Enum {}
public static ArgumentException CreateArgumentMustBeValidIAsyncResult(string paramName) {}
public static ArgumentException CreateArgumentMustBeWritableStream(string paramName) {}
public static ArgumentOutOfRangeException CreateArgumentMustBeZeroOrPositive(string paramName, object actualValue) {}
public static ArgumentException CreateArgumentMustHaveLengthAtLeast(string paramName, int length) {}
public static ArgumentException CreateArgumentMustHaveLengthExact(string paramName, int length) {}
public static ArgumentException CreateArgumentXMustBeLessThanOrEqualToY(object actualValueX, string paramNameX, object actualValueY, string paramNameY) {}
public static ArgumentException CreateArgumentXMustBeLessThanY(object actualValueX, string paramNameX, object actualValueY, string paramNameY) {}
public static IOException CreateIOAttemptToSeekBeforeStartOfStream() {}
public static NotSupportedException CreateNotSupportedEnumValue<TEnum>(TEnum unsupportedValue) where TEnum : Enum {}
public static NotSupportedException CreateNotSupportedReadingStream() {}
public static NotSupportedException CreateNotSupportedSeekingStream() {}
public static NotSupportedException CreateNotSupportedSettingStreamLength() {}
public static NotSupportedException CreateNotSupportedWritingStream() {}
}
}
diff --git a/doc/api-list/Smdn.Fundamental.Exception/Smdn.Fundamental.Exception-net6.0.apilist.cs b/doc/api-list/Smdn.Fundamental.Exception/Smdn.Fundamental.Exception-net6.0.api...
Smdn.Test.NUnit.Utils version 1.0.0
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2022-04-18 bump Smdn.MSBuild.DefineConstants.NETSdkApi up to 1.2.3
- 2022-04-18 move to namespace Smdn.Test.NUnit.Assertion
- 2022-04-18 move file to namespace directory Smdn.Test.NUnit.Assertion
- 2022-04-18 disable constraints
- 2022-04-18 move to namespace Smdn.Test.NUnit.Assertion
- 2022-04-18 move files to new namespace directory
- 2022-04-18 reorganize IsSerializable
- 2022-04-18 rename file
- 2022-04-17 simplify
- 2022-04-17 reorganize Elapses/NotElapse/ElapsesInRange and add async version
- 2022-04-17 inherit NUnit.Framework.Assert
- 2022-04-17 make Assert non-nested public class
- 2022-04-17 rename file
- 2022-04-17 pass the FileInfo/DirectoryInfo to supplied action
- 2022-04-15 add UsingCurrentDirectoryAsync
- 2022-04-15 use Encoding.Latin1 if available
- 2022-04-15 change readonly fields to readonly properties
- 2022-04-15 rename TestUtils.Encodings to Encodings
- 2022-04-15 rename file
- 2022-04-15 delete TestUtils.Repeat
- 2022-04-15 use ExceptionDispatchInfo to rethrow caught exception
- 2022-04-15 modify not to use prefix
- 2022-04-15 add UsingDirectoryAsync
- 2022-04-15 use expression body
- 2022-04-15 use local method instead
- 2022-04-15 rename UsingCurrentDirectory
- 2022-04-15 split IOUtils out from NUnitTestUtils
- 2022-04-15 drop target framework netstandard1.x
- 2022-04-15 create assembly Smdn.Test.NUnit.Utils from project Smdn.Test.NUnit
API changes
API changes in this release:
diff --git a/doc/api-list/Smdn.Test.NUnit.Utils/Smdn.Test.NUnit.Utils-net45.apilist.cs b/doc/api-list/Smdn.Test.NUnit.Utils/Smdn.Test.NUnit.Utils-net45.apilist.cs
new file mode 100644
index 00000000..7fb1061a
--- /dev/null
+++ b/doc/api-list/Smdn.Test.NUnit.Utils/Smdn.Test.NUnit.Utils-net45.apilist.cs
@@ -0,0 +1,53 @@
+// Smdn.Test.NUnit.Utils.dll (Smdn.Test.NUnit.Utils-1.0.0)
+// Name: Smdn.Test.NUnit.Utils
+// AssemblyVersion: 1.0.0.0
+// InformationalVersion: 1.0.0+7598ad3f6134b7fcb21ff256682be15e2cd04b61
+// TargetFramework: .NETFramework,Version=v4.5
+// Configuration: Release
+
+using System;
+using System.IO;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Threading.Tasks;
+using NUnit.Framework;
+
+namespace Smdn.Test.NUnit {
+ public static class Encodings {
+ public static Encoding EucJP { get; }
+ public static Encoding Jis { get; }
+ public static Encoding Latin1 { get; }
+ public static Encoding ShiftJis { get; }
+ }
+
+ public static class IOUtils {
+ public static void UsingCurrentDirectory(string path, Action action) {}
+ [AsyncStateMachine]
+ public static Task UsingCurrentDirectoryAsync(string path, Func<Task> action) {}
+ public static void UsingDirectory(string path, Action<DirectoryInfo> action) {}
+ public static void UsingDirectory(string path, bool ensureDirectoryCreated, Action<DirectoryInfo> action) {}
+ public static Task UsingDirectoryAsync(string path, Func<DirectoryInfo, Task> action) {}
+ [AsyncStateMachine]
+ public static Task UsingDirectoryAsync(string path, bool ensureDirectoryCreated, Func<DirectoryInfo, Task> action) {}
+ public static void UsingFile(string path, Action<FileInfo> action) {}
+ [AsyncStateMachine]
+ public static Task UsingFileAsync(string path, Func<FileInfo, Task> action) {}
+ }
+}
+
+namespace Smdn.Test.NUnit.Assertion {
+ public class Assert : Assert {
+ public Assert() {}
+
+ public static void Elapses(TimeSpan expected, TestDelegate code, string message = null) {}
+ public static void ElapsesAsync(TimeSpan expected, AsyncTestDelegate code, string message = null) {}
+ public static void ElapsesInRange(TimeSpan expectedMin, TimeSpan expectedMax, TestDelegate code, string message = null) {}
+ public static void ElapsesInRangeAsync(TimeSpan expectedMin, TimeSpan expectedMax, AsyncTestDelegate code, string message = null) {}
+ public static void IsSerializable<TSerializable>(TSerializable obj, Action<TSerializable> testDeserializedObject = null) {}
+ public static void IsSerializable<TSerializable>(TSerializable obj, IFormatter serializationFormatter, IFormatter deserializationFormatter, Action<TSerializable> testDeserializedObject = null) {}
+ public static void NotElapse(TimeSpan expected, TestDelegate code, string message = null) {}
+ public static void NotElapseAsync(TimeSpan expected, AsyncTestDelegate code, string message = null) {}
+ public static TException ThrowsOrAggregates<TException>(TestDelegate code) where TException : Exception {}
+ }
+}
+
diff --git a/doc/api-list/Smdn.Test.NUnit.Utils/Smdn.Test.NUnit.Utils-net472.apilist.cs b/doc/api-list/Smdn.Test.NUnit.Utils/Smdn.Test.NUnit.Utils-net472.apilist.cs
new file mode 100644
index 00000000..8354af6d
--- /dev/null
+++ b/doc/api-list/Smdn.Test.NUnit.Utils/Smdn.Test.NUnit.Utils-net472.apilist.cs
@@ -0,0 +1,53 @@
+// Smdn.Test.NUnit.Utils.dll (Smdn.Test.NUnit.Utils-1.0.0)
+// Name: Smdn.Test.NUnit.Utils
+// AssemblyVersion: 1.0.0.0
+// InformationalVersion: 1.0.0+7598ad3f6134b7fcb21ff256682be15e2cd04b61
+// TargetFramework: .NETFramework,Version=v4.7.2
+// Configuration: Release
+
+using System;
+using System.IO;
+using System.Runtime.Serialization;
+using System.Text;
+using System.Threading.Tasks;
+using NUnit.Framework;
+
+namespace Smdn.Test.NUnit {
+ public static class Encodings {
+ public static Encoding EucJP { get; }
+ public static Encoding Jis { get; }
+ public static Encoding Latin1 { get; }
+ public static Encoding ShiftJis { get; }
+ }
+
+ public static class IOUtils {
+ public static void UsingCurrentDirectory(string path, Action action) {}
+ [AsyncStateMachine]
+ public static Task UsingCurrentDirectoryAsync(string path, Func<Task> action) {}
+ public static void UsingDirectory(string path, Action<DirectoryInfo> action) {}
+ public static void UsingDirectory(string path, bool ensureDirectoryCreated, Action<DirectoryInfo> action) {}
+ public static Task UsingDirectoryAsync(string path, Func<DirectoryInfo, Task> action) {}
+ [AsyncStateMachine]
+ public static Task UsingDirectoryAsync(string path, bool ensureDirectoryCreated, Func<DirectoryInfo, Task> action) {}
+ public static void UsingFile(string path, Action<FileInfo> action) {}
+ [AsyncStateMachine]
+ public static Task UsingFileAsync(string path, Func<FileInfo, Task> action) {}
+ }
+}
+
+namespace Smdn.Test.NUnit.Assertion {
+ public class Assert : Assert {
+ public Assert() {}
+
+ public static void Elapses(TimeSpan expected, TestDelegate code, string message = null) {}
+ public static void ElapsesAsync(TimeSpan expected, AsyncTestDelegate code, string message = null) {}
+ public static void ElapsesInRange(TimeSpan expectedMin, TimeSpan expectedMax, TestDelegate code, string message = null) {}
+ public static void ElapsesInRangeAsync(TimeSpan expectedMin, TimeSpan expectedMax, AsyncTestDelegate code, string mes...
Smdn.MSBuild.DefineConstants.NETSdkApi version 1.2.3
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2022-04-18 update package version
- 2022-04-18 add entries
- 2022-04-08 remove duplicate
- 2022-04-08 fix member name
Full Changelog: releases/Smdn.MSBuild.DefineConstants.NETSdkApi-1.2.2...releases/Smdn.MSBuild.DefineConstants.NETSdkApi-1.2.3
Smdn.MSBuild.DefineConstants.NETSdkApi version 1.2.2
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2022-04-08 update package version
- 2022-04-08 add entry and mark INumber.Parse/TryParse as obsolete
- 2022-04-08 add entries
- 2022-04-07 use Regex::Replace
- 2022-04-07 escape SP to underscore
- 2022-04-07 add entries
Full Changelog: releases/Smdn.Fundamental.Uuid-3.1.0...releases/Smdn.MSBuild.DefineConstants.NETSdkApi-1.2.2
Smdn.MSBuild.DefineConstants.NETSdkApi version 1.2.1
Released package
Release notes
The full release notes are available at gist.
Change log
Change log in this release:
- 2022-04-03 fix not to import project assets from local source
- 2022-04-03 update package version
- 2022-04-03 define extension points for running specified targets before and after AddNETSdkApiDefineConstants
- 2022-04-03 add entries
- 2022-03-30 fix
- 2022-03-30 output target framework conditions to symbols list
- 2022-03-30 add metadata TargetFrameworkCondition
- 2022-03-30 add utilities to test whether DefineConstants overlaps with target framework symbols or not
- 2022-03-29 fix definition
- 2022-03-27 change order
Full Changelog: releases/Smdn.MSBuild.ProjectAssets.Common-1.1.1...releases/Smdn.MSBuild.DefineConstants.NETSdkApi-1.2.1