summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0183-2.cs
blob: 331572a174a28e7d20a598d7fa599171c031fc41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0183: The given expression is always of the provided (`object') type
// Line: 10
// Compiler options: -warnaserror -warn:1

class X
{
	public void Foo ()
	{
		int x = 1;
		if (x is object) {
		}
	}
}