Merge pull request #409 from Alkarex/patch-1
[mono.git] / mcs / class / corlib / System.Threading.Tasks / TaskContinuationOptions.cs
index a5205523c7232b5044ce79e8629d36b01a6a6e3e..789071d6dc449050a960c5c57505d950ee7169cb 100644 (file)
@@ -1,4 +1,3 @@
-#if NET_4_0 || BOOTSTRAP_NET_4_0
 // TaskContinuationKind.cs
 //
 // Copyright (c) 2008 Jérémie "Garuma" Laval
@@ -23,6 +22,7 @@
 //
 //
 
+#if NET_4_0 || MOBILE
 using System;
 
 namespace System.Threading.Tasks
@@ -34,6 +34,11 @@ namespace System.Threading.Tasks
                PreferFairness        = 0x00001,
                LongRunning           = 0x00002,
                AttachedToParent      = 0x00004,
+#if NET_4_5
+               DenyChildAttach       = 0x00008,
+               HideScheduler         = 0x00010,
+               LazyCancellation      = 0x00020,
+#endif
                NotOnRanToCompletion  = 0x10000,
                NotOnFaulted          = 0x20000,
                NotOnCanceled         = 0x40000,