projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[mcs] Initial by ref returns and variables support
[mono.git]
/
mcs
/
errors
/
cs8177.cs
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
}