Merge pull request #495 from nicolas-raoul/fix-for-issue2907-with-no-formatting-changes
[mono.git] / mcs / class / System.Core / System.Linq.Parallel / OrderingEnumerator.cs
index 8561d4cabbd018948a7c61d202665efd0ccf36e2..40023031dccdf704700f4958b4756b3ed3d0f4b6 100644 (file)
@@ -24,7 +24,7 @@
 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 // THE SOFTWARE.
 
-#if NET_4_0
+#if NET_4_0 || MOBILE
 using System;
 using System.Threading;
 using System.Collections;
@@ -37,7 +37,7 @@ namespace System.Linq.Parallel
        {
                internal class SlotBucket
                {
-                       readonly ConcurrentDictionary<long, T> temporaryArea = new ConcurrentDictionary<long, T> ();
+                       readonly TemporaryArea<long, T> temporaryArea = new TemporaryArea<long, T> ();
                        readonly KeyValuePair<long, T>[] stagingArea;
                        
                        long currentIndex;