// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
-#if NET_4_5
-
using System.Runtime.ConstrainedExecution;
using System.Runtime.CompilerServices;
namespace System.Threading
{
- public static class Volatile
+#if NET_4_5
+ public
+#endif
+ static class Volatile
{
[MethodImplAttribute (MethodImplOptions.InternalCall)]
[ReliabilityContract (Consistency.WillNotCorruptState, Cer.Success)]
public extern static void Write<T>(ref T location, T value) where T : class;
}
}
-
-#endif