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
[eglib] In AIX/generic POSIX, handle null addresses better (#17892)
[mono-project.git]
/
mcs
/
tests
/
test-async-74.cs
blob
97bb7fd946cef6a944f22ccd080829a35db328a3
1
using
System
;
2
using
System
.
Threading
.
Tasks
;
3
4
class
AwaitGotoBug
5
{
6
public async
Task
Test
()
7
{
8
using
((
IDisposable
)
null
)
9
{
10
retry
:
11
12
if
(
Equals
(
1
,
2
))
13
{
14
await
Task
.
Yield
();
15
goto
retry
;
16
}
17
else
18
{
19
await
Task
.
Yield
();
20
}
21
}
22
}
23
24
public static void
Main
()
25
{
26
}
27
}