Merge pull request #1057 from lextm/master
[mono.git] / mcs / class / corlib / System.Runtime.CompilerServices / StateMachineAttribute.cs
index 06ff632ca04514ee7b26ffb8932b635b9691f6cd..822f18e7ff34f7d08bbaf8409eda7334187e3251 100644 (file)
@@ -30,7 +30,7 @@
 
 namespace System.Runtime.CompilerServices
 {
-       [AttributeUsage (AttributeTargets.Method)]
+       [AttributeUsage (AttributeTargets.Method, Inherited = false)]
        [Serializable]
        public class StateMachineAttribute : Attribute
        {