From: Santiago Fernandez Madero Date: Fri, 19 Apr 2019 01:43:28 +0000 (-0700) Subject: Disable warning in ValueStringBuilder.ToString X-Git-Tag: accepted/tizen/unified/20190813.215958~46^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3459f8183a7c94bd7a7488fffe333bf3b1efbaf2;p=platform%2Fupstream%2Fcoreclr.git Disable warning in ValueStringBuilder.ToString Signed-off-by: dotnet-bot --- diff --git a/src/System.Private.CoreLib/shared/System/Text/ValueStringBuilder.cs b/src/System.Private.CoreLib/shared/System/Text/ValueStringBuilder.cs index de7fc50..5c95e29f 100644 --- a/src/System.Private.CoreLib/shared/System/Text/ValueStringBuilder.cs +++ b/src/System.Private.CoreLib/shared/System/Text/ValueStringBuilder.cs @@ -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();