2008-09-12 Astushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.ServiceModel / System.ServiceModel.Channels / MessageProperties.cs
index 8531605578448c93cc41fd212a9bdf2b4b17aecc..66e0a5db7c3c871d629944269123e4d74cde813d 100644 (file)
@@ -100,10 +100,12 @@ namespace System.ServiceModel.Channels
                        }
                }
 
+#if !NET_2_1
                public SecurityMessageProperty Security {
                        get { return (SecurityMessageProperty) this ["Security"]; }
                        set { this ["Security"] = value; }
                }
+#endif
 
                public ICollection<object> Values {
                        get { return new ParameterValueCollection (list); }