Merge branch 'alexischr/nursery-canaries-managed-alloc'
[mono.git] / mcs / errors / cs7081.cs
1 // CS7081: The CallerMemberNameAttribute applied to parameter `o' will have no effect. It is overridden by the CallerLineNumberAttribute
2 // Line: 9
3 // Compiler options: -warnaserror
4
5 using System.Runtime.CompilerServices;
6
7 class D
8 {
9         void Foo ([CallerMemberName, CallerLineNumber] object o = null)
10         {
11         }
12 }