summaryrefslogtreecommitdiff
path: root/src/System.Private.CoreLib/shared/System/String.Manipulation.cs
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2019-05-24 15:24:17 -0700
committerGitHub <noreply@github.com>2019-05-24 15:24:17 -0700
commit74d90fdaaa9a0aea2ee5da2cf38dfc07b0bf95fa (patch)
tree39b792566133791e5fac79f45fa4250684c20826 /src/System.Private.CoreLib/shared/System/String.Manipulation.cs
parent1f428dbc5554191dadd27511cd5cd181e4a60efb (diff)
downloadcoreclr-74d90fdaaa9a0aea2ee5da2cf38dfc07b0bf95fa.tar.gz
coreclr-74d90fdaaa9a0aea2ee5da2cf38dfc07b0bf95fa.tar.bz2
coreclr-74d90fdaaa9a0aea2ee5da2cf38dfc07b0bf95fa.zip
Fix nulable annotations build break (#24768)
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/String.Manipulation.cs')
-rw-r--r--src/System.Private.CoreLib/shared/System/String.Manipulation.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/System.Private.CoreLib/shared/System/String.Manipulation.cs b/src/System.Private.CoreLib/shared/System/String.Manipulation.cs
index d5636410b7..74fff875d6 100644
--- a/src/System.Private.CoreLib/shared/System/String.Manipulation.cs
+++ b/src/System.Private.CoreLib/shared/System/String.Manipulation.cs
@@ -633,14 +633,14 @@ namespace System
throw new ArgumentNullException(nameof(values));
}
- using (IEnumerator<string> en = values.GetEnumerator())
+ using (IEnumerator<string?> en = values.GetEnumerator())
{
if (!en.MoveNext())
{
return string.Empty;
}
- string firstValue = en.Current;
+ string? firstValue = en.Current;
if (!en.MoveNext())
{