repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git]
/
mcs
/
errors
/
cs0221-5.cs
blob
c3167e60a3bd21298cbfd4db889cecb4a25b1b5b
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 { }