From 775f068fe721aa5664f42b6aa45a97d41424541b Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Wed, 30 Nov 2022 18:30:35 +0000 Subject: [PATCH] Remove redundant readonly modifiers --- VpSharp/src/Cell.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/VpSharp/src/Cell.cs b/VpSharp/src/Cell.cs index cda8fdd..3b0bf9f 100644 --- a/VpSharp/src/Cell.cs +++ b/VpSharp/src/Cell.cs @@ -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, IFormattable /// /// The format of individual elements. /// The string representation. - 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, IFormattable /// The format of individual elements. /// The format provider to use when formatting elements. /// The string representation. - 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));