Quellcode durchsuchen

Removing check for 64-bit interlocked instructions.

Bart De Smet vor 8 Jahren
Ursprung
Commit
7bc69ae1d5
1 geänderte Dateien mit 0 neuen und 8 gelöschten Zeilen
  1. 0 8
      Rx.NET/Source/src/System.Reactive/Internal/PriorityQueue.cs

+ 0 - 8
Rx.NET/Source/src/System.Reactive/Internal/PriorityQueue.cs

@@ -9,11 +9,7 @@ namespace System.Reactive
 {
     internal class PriorityQueue<T> where T : IComparable<T>
     {
-#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 @@ namespace System.Reactive
         struct IndexedItem : IComparable<IndexedItem>
         {
             public T Value;
-#if !NO_INTERLOCKED_64
             public long Id;
-#else
-            public int Id;
-#endif
 
             public int CompareTo(IndexedItem other)
             {