2018-01-24 17:04:36 +00:00
|
|
|
// Compiler options: -langversion:latest
|
|
|
|
|
|
|
|
class C
|
|
|
|
{
|
2018-01-29 19:03:06 +00:00
|
|
|
static void Main()
|
|
|
|
{
|
|
|
|
M (default, 1);
|
2018-01-24 17:04:36 +00:00
|
|
|
|
2018-01-29 19:03:06 +00:00
|
|
|
M2 (default);
|
|
|
|
M2 (null);
|
2018-01-24 17:04:36 +00:00
|
|
|
|
2018-01-29 19:03:06 +00:00
|
|
|
var res = Test (default);
|
|
|
|
}
|
2018-01-24 17:04:36 +00:00
|
|
|
|
|
|
|
|
2018-01-29 19:03:06 +00:00
|
|
|
static void M<T> (T x, T y)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
static void M2 (params object[] x)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
static byte[] Test (S<byte> x)
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
struct S<T>
|
|
|
|
{
|
|
|
|
|
2018-01-24 17:04:36 +00:00
|
|
|
}
|