diff --git a/src/LinkDotNet.StringBuilder/LinkDotNet.StringBuilder.csproj b/src/LinkDotNet.StringBuilder/LinkDotNet.StringBuilder.csproj index 33a482e..36d5cd4 100644 --- a/src/LinkDotNet.StringBuilder/LinkDotNet.StringBuilder.csproj +++ b/src/LinkDotNet.StringBuilder/LinkDotNet.StringBuilder.csproj @@ -19,6 +19,7 @@ true preview true + True diff --git a/src/LinkDotNet.StringBuilder/ValueStringBuilder.Concat.Helper.cs b/src/LinkDotNet.StringBuilder/ValueStringBuilder.Concat.Helper.cs index 507d994..94a099e 100644 --- a/src/LinkDotNet.StringBuilder/ValueStringBuilder.Concat.Helper.cs +++ b/src/LinkDotNet.StringBuilder/ValueStringBuilder.Concat.Helper.cs @@ -7,9 +7,9 @@ public ref partial struct ValueStringBuilder /// /// Concatenates multiple objects together. /// - /// Values, which will be concatenated together. + /// Values to be concatenated together. /// Any given type, which can be translated to . - /// Concatenated string or an empty string if is empty. + /// Concatenated string or an empty string if is empty. [MethodImpl(MethodImplOptions.AggressiveInlining)] public static string Concat(params T[] values) { diff --git a/src/LinkDotNet.StringBuilder/ValueStringBuilder.Enumerator.cs b/src/LinkDotNet.StringBuilder/ValueStringBuilder.Enumerator.cs index 2ca7e80..02e552e 100644 --- a/src/LinkDotNet.StringBuilder/ValueStringBuilder.Enumerator.cs +++ b/src/LinkDotNet.StringBuilder/ValueStringBuilder.Enumerator.cs @@ -5,6 +5,10 @@ namespace LinkDotNet.StringBuilder; public ref partial struct ValueStringBuilder { + /// + /// Creates an enumerator over the characters in the builder. + /// + /// An enumerator over the characters in the builder. public readonly Enumerator GetEnumerator() => new(buffer[..bufferPosition]); /// Enumerates the elements of a . diff --git a/src/LinkDotNet.StringBuilder/ValueStringBuilder.cs b/src/LinkDotNet.StringBuilder/ValueStringBuilder.cs index 9f8c758..b190a44 100644 --- a/src/LinkDotNet.StringBuilder/ValueStringBuilder.cs +++ b/src/LinkDotNet.StringBuilder/ValueStringBuilder.cs @@ -85,7 +85,7 @@ public ValueStringBuilder(int initialCapacity) /// /// Returns the character at the given index or throws an if the index is bigger than the string. /// - /// Index position, which should be retrieved. + /// Character position to be retrieved. public readonly ref char this[int index] => ref buffer[index]; /// diff --git a/src/LinkDotNet.StringBuilder/ValueStringBuilderExtensions.cs b/src/LinkDotNet.StringBuilder/ValueStringBuilderExtensions.cs index 955969e..7a05e07 100644 --- a/src/LinkDotNet.StringBuilder/ValueStringBuilderExtensions.cs +++ b/src/LinkDotNet.StringBuilder/ValueStringBuilderExtensions.cs @@ -23,7 +23,7 @@ public static System.Text.StringBuilder ToStringBuilder(this ValueStringBuilder /// Creates a new from the given . /// /// The builder from which the new instance is derived. - /// A new instance with the string represented by this . + /// A new instance with the string represented by this builder. /// Throws if is null. public static ValueStringBuilder ToValueStringBuilder(this System.Text.StringBuilder? builder) {