summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0266-17.cs
blob: d41c78f50b2e731a168ec5e3a84b8c891fd29fa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
// CS0266:  Cannot implicitly convert type `int' to `sbyte'. An explicit conversion exists (are you missing a cast?)
// Line: 9

class S
{
	static void Main ()
	{
		sbyte s = 1;
		sbyte r = +s;
	}
}