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
[interp] Fall back to old implementation when calling on proxy
[mono-project.git]
/
mcs
/
errors
/
cs8177.cs
blob
414ece1b4bed6820210c6ad76cc782180212ff5e
1
// CS8177: Async methods cannot use by-reference variables
2
// Line: 12
3
4
using
System
.
Threading
.
Tasks
;
5
6
class
X
7
{
8
int
x
;
9
10
async
Task
Test
()
11
{
12
ref int
y
=
ref
x
;
13
await
Task
.
Yield
();
14
}
15
}