From 7bc69ae1d5c0d6a3e09903e052b125dca48f6901 Mon Sep 17 00:00:00 2001 From: Bart De Smet Date: Thu, 13 Apr 2017 13:38:39 -0700 Subject: [PATCH] Removing check for 64-bit interlocked instructions. --- .../Source/src/System.Reactive/Internal/PriorityQueue.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Rx.NET/Source/src/System.Reactive/Internal/PriorityQueue.cs b/Rx.NET/Source/src/System.Reactive/Internal/PriorityQueue.cs index 010634868f..406c18d3cf 100644 --- a/Rx.NET/Source/src/System.Reactive/Internal/PriorityQueue.cs +++ b/Rx.NET/Source/src/System.Reactive/Internal/PriorityQueue.cs @@ -9,11 +9,7 @@ namespace System.Reactive { internal class PriorityQueue where T : IComparable { -#if !NO_INTERLOCKED_64 private static long _count = long.MinValue; -#else - private static int _count = int.MinValue; -#endif private IndexedItem[] _items; private int _size; @@ -138,11 +134,7 @@ public bool Remove(T item) struct IndexedItem : IComparable { public T Value; -#if !NO_INTERLOCKED_64 public long Id; -#else - public int Id; -#endif public int CompareTo(IndexedItem other) {