Fix attribute arguments
[mono.git] / mcs / class / corlib / System.Runtime.CompilerServices / TypeForwardedFromAttribute.cs
index 9881d0fdc1474b1c3b918a051302a3b46c7640fd..06121f74cf8dbf5189dc0f3438f6b092e51eb40d 100644 (file)
@@ -30,7 +30,7 @@
 
 namespace System.Runtime.CompilerServices
 {
-       [AttributeUsage (AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Delegate)]
+       [AttributeUsage (AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Delegate, Inherited = false)]
        public sealed class TypeForwardedFromAttribute : Attribute
        {
                readonly string name;