blob: 9dec2af58f2fcbe90a4fbc687c73ddd5f2adbd5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// CS0221: Constant value `256' cannot be converted to a `byte' (use `unchecked' syntax to override)
// Line: 13
class Test
{
public static explicit operator Test (byte b)
{
return null;
}
static void Main ()
{
var a = (Test) 256UL;
}
}
|