From 4f86404677771a4d29324f258a4a2de8292515eb Mon Sep 17 00:00:00 2001 From: Stephen Toub Date: Wed, 12 Jun 2019 11:00:51 -0400 Subject: Remove defunct !s and update some TODO-NULLABLE comments --- src/System.Private.CoreLib/shared/Internal/Win32/RegistryKey.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/System.Private.CoreLib/shared/Internal') diff --git a/src/System.Private.CoreLib/shared/Internal/Win32/RegistryKey.cs b/src/System.Private.CoreLib/shared/Internal/Win32/RegistryKey.cs index 912ddceef3..6f4c31255c 100644 --- a/src/System.Private.CoreLib/shared/Internal/Win32/RegistryKey.cs +++ b/src/System.Private.CoreLib/shared/Internal/Win32/RegistryKey.cs @@ -418,7 +418,7 @@ namespace Internal.Win32 { Array.Resize(ref strings!, stringsCount > 0 ? stringsCount * 2 : 4); // TODO-NULLABLE: Remove ! when nullable attributes are respected } - strings![stringsCount++] = toAdd; // TODO-NULLABLE: Remove ! when nullable attributes are respected + strings[stringsCount++] = toAdd; } } -- cgit v1.2.3