[corlib] Parse datetime string using culture calendar. Fixes #18052
[mono.git] / mcs / class / corlib / System.Reflection / ObfuscationAttribute.cs
index cbcdec3c515c4326aa4b306c39bc7298387c900c..4ce4a57ad35386a5a70f893967bc86e4531403d7 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0 || BOOTSTRAP_NET_2_0
-
 using System;
 using System.Runtime.InteropServices;
 
 namespace System.Reflection
 {
-#if NET_2_0
        [ComVisible (true)]
-#endif
-       [AttributeUsage (AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Enum|AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Event|AttributeTargets.Interface|AttributeTargets.Parameter|AttributeTargets.Delegate)]
+       [AttributeUsage (AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Enum|AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Event|AttributeTargets.Interface|AttributeTargets.Parameter|AttributeTargets.Delegate, AllowMultiple=true, Inherited=false)]
        public sealed class ObfuscationAttribute : Attribute {
 
                private bool exclude;
@@ -63,7 +59,7 @@ namespace System.Reflection
                        }
                }
 
-               public bool Strip {
+               public bool StripAfterObfuscation {
                        get {
                                return strip;
                        }
@@ -92,5 +88,4 @@ namespace System.Reflection
        }
 }
 
-#endif