1
0
mirror of https://github.com/oliverbooth/VpSharp synced 2024-11-22 14:08:49 +00:00

Remove redundant readonly modifiers

This commit is contained in:
Oliver Booth 2022-11-30 18:30:35 +00:00
parent 836d48525b
commit 775f068fe7
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634

View File

@ -1,4 +1,4 @@
using System.Globalization;
using System.Globalization;
using System.Numerics;
using System.Text;
@ -186,7 +186,7 @@ public readonly struct Cell : IEquatable<Cell>, IFormattable
/// </summary>
/// <param name="format">The format of individual elements.</param>
/// <returns>The string representation.</returns>
public readonly string ToString(string? format)
public string ToString(string? format)
{
return ToString(format, CultureInfo.CurrentCulture);
}
@ -198,9 +198,9 @@ public readonly struct Cell : IEquatable<Cell>, IFormattable
/// <param name="format">The format of individual elements.</param>
/// <param name="formatProvider">The format provider to use when formatting elements.</param>
/// <returns>The string representation.</returns>
public readonly string ToString(string? format, IFormatProvider? formatProvider)
public string ToString(string? format, IFormatProvider? formatProvider)
{
var builder = new StringBuilder();
StringBuilder builder = new StringBuilder();
string separator = NumberFormatInfo.GetInstance(formatProvider).NumberGroupSeparator;
builder.Append('<');
builder.Append(X.ToString(format, formatProvider));