summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStephen Toub <stoub@microsoft.com>2019-06-25 15:12:08 -0400
committerSantiago Fernandez Madero <safern@microsoft.com>2019-06-25 14:25:33 -0700
commit6fd104557b71a1639b5e105abfc21a2ad4ea73d7 (patch)
tree129d1879c075ede7da6735f7b78d1ade97550509 /src
parent2a9dee2b041f5d43c06e23007085a9ee7f5b0906 (diff)
downloadcoreclr-6fd104557b71a1639b5e105abfc21a2ad4ea73d7.tar.gz
coreclr-6fd104557b71a1639b5e105abfc21a2ad4ea73d7.tar.bz2
coreclr-6fd104557b71a1639b5e105abfc21a2ad4ea73d7.zip
React to compiler respecting nullable attributes on properties
Diffstat (limited to 'src')
-rw-r--r--src/System.Private.CoreLib/shared/System/Globalization/CultureInfo.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Globalization/CultureInfo.cs b/src/System.Private.CoreLib/shared/System/Globalization/CultureInfo.cs
index 76c966646e..63dd62c705 100644
--- a/src/System.Private.CoreLib/shared/System/Globalization/CultureInfo.cs
+++ b/src/System.Private.CoreLib/shared/System/Globalization/CultureInfo.cs
@@ -117,9 +117,9 @@ namespace System.Globalization
private static volatile CultureInfo? s_DefaultThreadCurrentCulture;
[ThreadStatic]
- private static CultureInfo s_currentThreadCulture;
+ private static CultureInfo? s_currentThreadCulture;
[ThreadStatic]
- private static CultureInfo s_currentThreadUICulture;
+ private static CultureInfo? s_currentThreadUICulture;
private static AsyncLocal<CultureInfo>? s_asyncLocalCurrentCulture;
private static AsyncLocal<CultureInfo>? s_asyncLocalCurrentUICulture;