Fix regression & enable ClearInitLocals in System.Text.RegularExpressions (#27146)
authorViktor Hofer <viktor.hofer@microsoft.com>
Thu, 15 Feb 2018 22:32:19 +0000 (23:32 +0100)
committerJan Kotas <jkotas@microsoft.com>
Fri, 16 Feb 2018 09:03:59 +0000 (23:03 -1000)
* Fix bug in RegexWriter ref struct change

* Remove duplicate ValueListBuilder implementation

* Enable ILLinkClearInitLocals

* Rename concrete ValueListBuilder impl to Pop

Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
src/mscorlib/shared/System/Collections/Generic/ValueListBuilder.cs

index 2dbf2a34f7b0f523c2bc56583f3c32763e5d8b92..1bc8ee67fc75f21ae857ea64b74732c63fb6a337 100644 (file)
@@ -8,7 +8,7 @@ using System.Runtime.CompilerServices;
 
 namespace System.Collections.Generic
 {
-    internal ref struct ValueListBuilder<T>
+    internal ref partial struct ValueListBuilder<T>
     {
         private Span<T> _span;
         private T[] _arrayFromPool;