mirror of
https://github.com/oliverbooth/VpSharp
synced 2024-11-23 00:28:48 +00:00
Remove redundant readonly modifiers
This commit is contained in:
parent
836d48525b
commit
775f068fe7
@ -1,4 +1,4 @@
|
|||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.Numerics;
|
using System.Numerics;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
@ -186,7 +186,7 @@ public readonly struct Cell : IEquatable<Cell>, IFormattable
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="format">The format of individual elements.</param>
|
/// <param name="format">The format of individual elements.</param>
|
||||||
/// <returns>The string representation.</returns>
|
/// <returns>The string representation.</returns>
|
||||||
public readonly string ToString(string? format)
|
public string ToString(string? format)
|
||||||
{
|
{
|
||||||
return ToString(format, CultureInfo.CurrentCulture);
|
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="format">The format of individual elements.</param>
|
||||||
/// <param name="formatProvider">The format provider to use when formatting elements.</param>
|
/// <param name="formatProvider">The format provider to use when formatting elements.</param>
|
||||||
/// <returns>The string representation.</returns>
|
/// <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;
|
string separator = NumberFormatInfo.GetInstance(formatProvider).NumberGroupSeparator;
|
||||||
builder.Append('<');
|
builder.Append('<');
|
||||||
builder.Append(X.ToString(format, formatProvider));
|
builder.Append(X.ToString(format, formatProvider));
|
||||||
|
Loading…
Reference in New Issue
Block a user