X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2Fcorlib%2FSystem.Threading%2FVolatile.cs;h=6460f728492fa2209f22338eead7d24705b6bbd5;hb=05711a1b630d5271f10001c6f8fb02ee799a06c4;hp=92646ceee50fc429aa06c0cac5f1e158cad875bf;hpb=bdd4bd1066b4daedca4511a3168fe7cce6f79802;p=mono.git diff --git a/mcs/class/corlib/System.Threading/Volatile.cs b/mcs/class/corlib/System.Threading/Volatile.cs index 92646ceee50..6460f728492 100644 --- a/mcs/class/corlib/System.Threading/Volatile.cs +++ b/mcs/class/corlib/System.Threading/Volatile.cs @@ -24,14 +24,15 @@ // 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(ref T location, T value) where T : class; } } - -#endif