Build fix
authorMarek Safar <marek.safar@gmail.com>
Sat, 22 Nov 2014 14:39:11 +0000 (15:39 +0100)
committerMarek Safar <marek.safar@gmail.com>
Sat, 22 Nov 2014 14:39:11 +0000 (15:39 +0100)
mcs/class/corlib/System.Threading/Volatile.cs

index 92646ceee50fc429aa06c0cac5f1e158cad875bf..6460f728492fa2209f22338eead7d24705b6bbd5 100644 (file)
 // 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)]
@@ -156,5 +157,3 @@ namespace System.Threading
                public extern static void Write<T>(ref T location, T value) where T : class;
        }
 }
-
-#endif