Disable warning in ValueStringBuilder.ToString
authorSantiago Fernandez Madero <safern@microsoft.com>
Fri, 19 Apr 2019 01:43:28 +0000 (18:43 -0700)
committerJan Kotas <jkotas@microsoft.com>
Fri, 19 Apr 2019 16:05:58 +0000 (09:05 -0700)
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
src/System.Private.CoreLib/shared/System/Text/ValueStringBuilder.cs

index de7fc50..5c95e29 100644 (file)
@@ -83,7 +83,9 @@ namespace System.Text
             }
         }
 
+#pragma warning disable CS8609 // TODO-NULLABLE: https://github.com/dotnet/roslyn/issues/23268
         public override string ToString()
+#pragma warning restore CS8609
         {
             var s = _chars.Slice(0, _pos).ToString();
             Dispose();