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

cs0458.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d504a580e6b8c1a5052f2729f025ef30f4d6baaa (plain)
1
2
3
4
5
6
7
8
9
10
11
// CS0458: The result of the expression is always `null' of type `bool?' 
// Line: 8
// Compiler options: -warnaserror -warn:2

class C
{
	static void Foo()
	{
		bool? b = null as bool?;
	}
}