summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0221-5.cs
blob: c3167e60a3bd21298cbfd4db889cecb4a25b1b5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS0221: Constant value `-1' cannot be converted to a `byte' (use `unchecked' syntax to override)
// Line: 11

using System;

public class My3Attribute : Attribute
{
	public My3Attribute (byte b) {}
}

[My3((byte)-1)]
public class Test { }