9 lines
204 B
C#
Raw Permalink Normal View History

// CS1908: The type of the default value should match the type of the parameter
// Line:
class Test {
internal void f ([System.Runtime.InteropServices.DefaultParameterValue ((short) 1)] int x)
{
}
}