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
Merge pull request #3806 from BrzVlad/feature-parallel-gc-final
[mono-project.git]
/
mcs
/
errors
/
cs0221-15.cs
blob
9dec2af58f2fcbe90a4fbc687c73ddd5f2adbd5c
1
// CS0221: Constant value `256' cannot be converted to a `byte' (use `unchecked' syntax to override)
2
// Line: 13
3
4
class
Test
5
{
6
public static explicit operator
Test
(
byte
b
)
7
{
8
return null
;
9
}
10
11
static void
Main
()
12
{
13
var
a
= (
Test
)
256UL
;
14
}
15
}