[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0221-5.cs
blobc3167e60a3bd21298cbfd4db889cecb4a25b1b5b
1 // CS0221: Constant value `-1' cannot be converted to a `byte' (use `unchecked' syntax to override)
2 // Line: 11
4 using System;
6 public class My3Attribute : Attribute
8 public My3Attribute (byte b) {}
11 [My3((byte)-1)]
12 public class Test { }