[mcs] Replace NET_2_1 by MOBILE
[mono.git] / mcs / class / corlib / System.Reflection / TargetException.cs
index bd5e9010c2e469b5a9aece63ad52eea5a505a199..5c5c69e4e9f3ab052416d9d0577dde2418a494c5 100644 (file)
@@ -37,7 +37,7 @@ namespace System.Reflection
 {
        [ComVisible (true)]
        [Serializable]
-#if NET_2_1
+#if MOBILE
        public class TargetException : Exception {
 #else
        public class TargetException : ApplicationException {