projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5675 from mono/glib-debug-symbols
[mono.git]
/
mcs
/
errors
/
cs0221-15.cs
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
}