From eb521bfde4c5325f06fbe24305b1492975126a5e Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Fri, 24 May 2019 15:24:17 -0700 Subject: [PATCH] Fix nulable annotations build break (dotnet/coreclr#24768) Commit migrated from https://github.com/dotnet/coreclr/commit/74d90fdaaa9a0aea2ee5da2cf38dfc07b0bf95fa --- .../System.Private.CoreLib/src/System/String.Manipulation.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libraries/System.Private.CoreLib/src/System/String.Manipulation.cs b/src/libraries/System.Private.CoreLib/src/System/String.Manipulation.cs index d563641..74fff87 100644 --- a/src/libraries/System.Private.CoreLib/src/System/String.Manipulation.cs +++ b/src/libraries/System.Private.CoreLib/src/System/String.Manipulation.cs @@ -633,14 +633,14 @@ namespace System throw new ArgumentNullException(nameof(values)); } - using (IEnumerator en = values.GetEnumerator()) + using (IEnumerator en = values.GetEnumerator()) { if (!en.MoveNext()) { return string.Empty; } - string firstValue = en.Current; + string? firstValue = en.Current; if (!en.MoveNext()) { -- 2.7.4