move System.Windows.Markup.ValueSerializerAttribute to System assembly, as Microsoft...
[mono.git] / mcs / class / System.Xaml / System.Windows.Markup / DependsOnAttribute.cs
index 47e1158fc6fe87dbe25c6b55c4c3a89751456a8e..361df14ed60e75cb5955d3b6fb42eadf600e8d47 100755 (executable)
@@ -25,9 +25,7 @@ using System;
 namespace System.Windows.Markup
 {
        [AttributeUsage (AttributeTargets.Method | AttributeTargets.Property, AllowMultiple = true)]
-#if !NET_2_1
        [System.Runtime.CompilerServices.TypeForwardedFrom (Consts.AssemblyWindowsBase)]
-#endif
        public sealed class DependsOnAttribute : Attribute
        {
                public DependsOnAttribute (string name)
@@ -37,10 +35,10 @@ namespace System.Windows.Markup
                
                public string Name { get; private set; }
 
-#if !NET_2_1
+#if !__MOBILE__
                // really? I doubt it should be overriden.
                public override Object TypeId {
-                       get { return base.TypeId; }
+                       get { return this; }
                }
 #endif
        }