Merge pull request #817 from desdesdes/master
[mono.git] / mcs / class / corlib / System.Runtime.CompilerServices / TypeForwardedFromAttribute.cs
index 9881d0fdc1474b1c3b918a051302a3b46c7640fd..a8c019531728e1157fdb59d2bff11726e994346a 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_4_0 || MOONLIGHT || MOBILE
+#if NET_4_0
 
 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;