Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0403.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3e73bc7dd0458dca7aa7cda9d09e24577f61e6be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS0403: Cannot convert null to the type parameter `T' because it could be a value type. Consider using `default (T)' instead
// Line: 7
class Test<T>
{
	public T Null ()
	{
		return null;
	}
}

class X
{
	static void Main ()
	{ }
}