From 67f48653f1a1111cc24f00af2876ba229db09df2 Mon Sep 17 00:00:00 2001 From: Santiago Fernandez Madero Date: Sat, 7 Sep 2019 07:54:58 -0700 Subject: [PATCH] Add missing dummy primitive to ReadOnlySequence.Enumerator (dotnet/corefx#40910) Commit migrated from https://github.com/dotnet/corefx/commit/59c6b1ab96aa2e99ed6ecb33a8bcf9283ce1ea27 --- src/libraries/System.Memory/ref/System.Memory.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libraries/System.Memory/ref/System.Memory.cs b/src/libraries/System.Memory/ref/System.Memory.cs index 51745be..79428ee 100644 --- a/src/libraries/System.Memory/ref/System.Memory.cs +++ b/src/libraries/System.Memory/ref/System.Memory.cs @@ -388,6 +388,7 @@ namespace System.Buffers public partial struct Enumerator { private object _dummy; + private int _dummyPrimitive; public Enumerator(in System.Buffers.ReadOnlySequence sequence) { throw null; } public System.ReadOnlyMemory Current { get { throw null; } } public bool MoveNext() { throw null; } -- 2.7.4