[bcl] Make mono cas opt-in features instead of opt-out for mobile profiles
[mono.git] / mcs / class / referencesource / System / regex / system / text / regularexpressions / RegexMatch.cs
index 6c0ff3850a410dfdd38f0df3425b975520db41f6..f6c8d5cce125fffcbf1c91e5a1b34f4adc45b722 100644 (file)
@@ -201,7 +201,7 @@ namespace System.Text.RegularExpressions {
         /// </devdoc>
 
 #if !SILVERLIGHT
-#if !DISABLE_CAS_USE
+#if FEATURE_MONO_CAS
         [HostProtection(Synchronization=true)]
 #endif
         static public Match Synchronized(Match inner) {