Updated with review feedback.
[mono.git] / mcs / errors / cs0221-4.cs
1 // CS0221: Constant value `-10.1' cannot be converted to a `byte' (use `unchecked' syntax to override)
2 // Line: 6
3
4 class T {
5         static void Main () {
6                 byte d = (byte)-10.1d;
7         }
8 }