summaryrefslogtreecommitdiff
path: root/mcs/errors/cs7080.cs
blob: 4da50751b92f3f21eb5591aae33101541723614e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS7080: The CallerMemberNameAttribute applied to parameter `o' will have no effect. It is overridden by the CallerFilePathAttribute
// Line: 9
// Compiler options: -warnaserror

using System.Runtime.CompilerServices;

class D
{
	void Foo ([CallerMemberName, CallerFilePath] object o = null)
	{
	}
}