[mcs] Allows shadowing of probing pattern variables
[mono.git] / mcs / errors / cs0221-5.cs
1 // CS0221: Constant value `-1' cannot be converted to a `byte' (use `unchecked' syntax to override)
2 // Line: 11
3
4 using System;
5
6 public class My3Attribute : Attribute
7 {
8         public My3Attribute (byte b) {}
9 }
10
11 [My3((byte)-1)]
12 public class Test { }