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-8.cs
blob
0bed9326fe9b26fed8de8e5ef46efd7958817426
1
// CS0221: Constant value `Infinity' cannot be converted to a `uint' (use `unchecked' syntax to override)
2
// Line: 6
3
4
class
X
{
5
static void
Main
() {
6
System
.
Console
.
WriteLine
((
uint
)
double
.
PositiveInfinity
);
7
}
8
}