From a64334b7e2fe735fd9d6762b4d33d3222fdf4564 Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Sat, 27 Oct 2012 20:20:33 +1300 Subject: [PATCH] -Fixed build --- Src/Newtonsoft.Json/Utilities/ThreadSafeStore.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Src/Newtonsoft.Json/Utilities/ThreadSafeStore.cs b/Src/Newtonsoft.Json/Utilities/ThreadSafeStore.cs index acd94211..95fd469a 100644 --- a/Src/Newtonsoft.Json/Utilities/ThreadSafeStore.cs +++ b/Src/Newtonsoft.Json/Utilities/ThreadSafeStore.cs @@ -78,7 +78,9 @@ namespace Newtonsoft.Json.Utilities Dictionary newStore = new Dictionary(_store); newStore[key] = value; +#if !NETFX_CORE Thread.MemoryBarrier(); +#endif _store = newStore; }