Merge pull request #3066 from alexanderkyte/pedump_sgen
[mono.git] / mcs / class / corlib / Test / System.Threading / ExecutionContextCas.cs
index da0fb6c38682c53ff53a92f4143284d4cf786bf1..a75d5d6b8a5e16bc202c0511a268e36525f47c53 100644 (file)
@@ -25,8 +25,7 @@
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
-
-#if NET_2_0
+#if !DISABLE_CAS_USE
 
 using System;
 using System.Security;
@@ -169,4 +168,4 @@ namespace MonoCasTests.System.Threading {
        }
 }
 
-#endif
+#endif
\ No newline at end of file