Merge pull request #819 from brendanzagaeski/patch-1
[mono.git] / mcs / class / corlib / System.Runtime.CompilerServices / CallerFilePathAttribute.cs
index 7cf0c5a7c8535ea3e44f635992ae6066d6484257..a53be5b40258e22d5e207c271ed6b79ab2723219 100644 (file)
@@ -30,7 +30,7 @@
 
 namespace System.Runtime.CompilerServices
 {
-       [AttributeUsageAttribute (AttributeTargets.Parameter)]
+       [AttributeUsageAttribute (AttributeTargets.Parameter, Inherited = false)]
        public sealed class CallerFilePathAttribute : Attribute
        {
        }