17 lines
250 B
C#
Raw Normal View History

// CS1738: Named arguments must appear after the positional arguments when using language version older than 7.2
// Line: 14
class C
{
int this [int a, string s] {
get {
return 1;
}
}
void Test ()
{
var r = this [a : 1, "out"];
}
}