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

cs0031.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1200f3f68baf5f6f56fa11604ef24f802ba3bf34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// cs0031.cs: Constant value `1022' cannot be converted to a `byte'
// Line: 9

public class Test
{
	public static void Main()
	{
		unchecked {
			byte b = 1024 - 2;
		}
	}
}