blob: 984bf828da8a08432a9550b514c9903cbdffd698 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// CS0403: Cannot convert null to the type parameter `T' because it could be a value type. Consider using `default (T)' instead
// Line: 8
struct S
{
public void Foo<T> () where T : struct
{
T t = null;
}
static void Main ()
{ }
}
|