[mcs] Consider method candidates with misplaced named arguments not applicable. Fixes...
[mono.git] / mcs / errors / cs7080.cs
1 // CS7080: The CallerMemberNameAttribute applied to parameter `o' will have no effect. It is overridden by the CallerFilePathAttribute
2 // Line: 9
3 // Compiler options: -warnaserror
4
5 using System.Runtime.CompilerServices;
6
7 class D
8 {
9         void Foo ([CallerMemberName, CallerFilePath] object o = null)
10         {
11         }
12 }