repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-02-15 Jonathan Chambers <joncham@gmail.com>
[mcs.git]
/
errors
/
cs0221-5.cs
blob
d30b25fa82e3c17c437214b52ed9bb485f2e6911
1
// cs0221.cs: 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 { }