Fix all CreateInstance overloads for void
[mcs.git] / errors / cs0221-4.cs
blob607c8b606c32e52521c35786a33f62870266f3ae
1 // cs0221-4.cs: Constant value `-10.1' cannot be converted to a `byte' (use `unchecked' syntax to override)
2 // Line: 6
4 class T {
5 static void Main () {
6 byte d = (byte)-10.1d;