Merge pull request #1821 from iainx/replace-getline
[mono-project.git] / mcs / errors / cs4025.cs
blob6e9f203043305372cf27a3d45a3ea8ff245ed91e
1 // CS4025: The CallerFilePath applied to parameter `x' will have no effect because it applies to a member that is used in context that do not allow optional arguments
2 // Line: 14
3 // Compiler options: -warnaserror
5 using System.Runtime.CompilerServices;
7 partial class D
9 partial void Foo (string x = "x");
12 partial class D
14 partial void Foo ([CallerFilePath] string x)