From f01d36587cb24fc9cfbac916885ab834fbf82f0e Mon Sep 17 00:00:00 2001 From: finphie <19237170+finphie@users.noreply.github.com> Date: Mon, 18 Oct 2021 19:58:24 +0900 Subject: [PATCH 1/3] =?UTF-8?q?=E3=83=AA=E3=83=95=E3=82=A1=E3=82=AF?= =?UTF-8?q?=E3=82=BF=E3=83=AA=E3=83=B3=E3=82=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/Utf8Utility/Utf8Array.cs | 8 ++++---- Source/Utf8Utility/Utf8ArrayDictionary.cs | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/Utf8Utility/Utf8Array.cs b/Source/Utf8Utility/Utf8Array.cs index 5a277e7..9b92a1f 100644 --- a/Source/Utf8Utility/Utf8Array.cs +++ b/Source/Utf8Utility/Utf8Array.cs @@ -8,9 +8,9 @@ namespace Utf8Utility; /// public readonly struct Utf8Array #if NET6_0_OR_GREATER - : IEquatable, ISpanFormattable + : IEquatable, ISpanFormattable #else - : IEquatable, IFormattable + : IEquatable, IFormattable #endif { readonly byte[] _value; @@ -36,10 +36,10 @@ public readonly struct Utf8Array public static Utf8Array Empty { get; } /// - /// UTF-8バイト数を取得します。 + /// バイト数を取得します。 /// /// - /// UTF-8バイト数 + /// バイト数 /// public int Length => _value.Length; diff --git a/Source/Utf8Utility/Utf8ArrayDictionary.cs b/Source/Utf8Utility/Utf8ArrayDictionary.cs index ebb07b0..f224c66 100644 --- a/Source/Utf8Utility/Utf8ArrayDictionary.cs +++ b/Source/Utf8Utility/Utf8ArrayDictionary.cs @@ -71,7 +71,7 @@ public bool TryAdd(Utf8Array key, TValue value) do { - // 境界チェック削除のためにdo-while文の必要がある。 + // 境界チェック削除のためにdo-while文にする必要がある。 // https://github.com/dotnet/runtime/issues/9422 if ((uint)i >= (uint)entries.Length) { @@ -199,7 +199,7 @@ public ref TValue GetValueRefOrNullRef(ReadOnlySpan key) do { - // 境界チェック削除のためにdo-while文の必要がある。 + // 境界チェック削除のためにdo-while文にする必要がある。 // https://github.com/dotnet/runtime/issues/9422 if ((uint)i >= (uint)entries.Length) { From dcc909de5e36c40567ea744edccd9e7dc8d2972e Mon Sep 17 00:00:00 2001 From: finphie <19237170+finphie@users.noreply.github.com> Date: Mon, 18 Oct 2021 19:59:58 +0900 Subject: [PATCH 2/3] Update IReadOnlyUtf8ArrayDictionary.cs --- Source/Utf8Utility/IReadOnlyUtf8ArrayDictionary.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Utf8Utility/IReadOnlyUtf8ArrayDictionary.cs b/Source/Utf8Utility/IReadOnlyUtf8ArrayDictionary.cs index 5722669..baacf6a 100644 --- a/Source/Utf8Utility/IReadOnlyUtf8ArrayDictionary.cs +++ b/Source/Utf8Utility/IReadOnlyUtf8ArrayDictionary.cs @@ -3,7 +3,7 @@ namespace Utf8Utility; /// -/// UTF-8文字列用の読み取り専用Dictionary +/// UTF-8配列用の読み取り専用Dictionary /// /// Dictionary内部の値の型 [SuppressMessage("Naming", "CA1711:識別子は、不適切なサフィックスを含むことはできません", Justification = "Dictionary")] From 0dd6b914dac2adb1cb471df960c5d18836c9b3cf Mon Sep 17 00:00:00 2001 From: finphie <19237170+finphie@users.noreply.github.com> Date: Mon, 18 Oct 2021 20:00:29 +0900 Subject: [PATCH 3/3] Update IUtf8ArrayDictionary.cs --- Source/Utf8Utility/IUtf8ArrayDictionary.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Utf8Utility/IUtf8ArrayDictionary.cs b/Source/Utf8Utility/IUtf8ArrayDictionary.cs index b439641..ffea26a 100644 --- a/Source/Utf8Utility/IUtf8ArrayDictionary.cs +++ b/Source/Utf8Utility/IUtf8ArrayDictionary.cs @@ -3,7 +3,7 @@ namespace Utf8Utility; /// -/// UTF-8文字列用のDictionary +/// UTF-8配列用のDictionary /// /// Dictionary内部の値の型 [SuppressMessage("Naming", "CA1711:識別子は、不適切なサフィックスを含むことはできません", Justification = "Dictionary")]