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
Fixes the mono/tests/gc-graystack-stress test on Windows x64
[mono-project.git]
/
mcs
/
errors
/
cs1510-3.cs
blob
73ddf606aa1f05bd4c7a0bd6c6ea88082779c8da
1
// CS1510: A ref or out argument must be an assignable variable
2
// Line: 19
3
// this is bug #70402
4
5
using
System
;
6
7
class
T
{
8
9
enum
A { a, b }
10
11
static void
Convert
(
out
A a
)
12
{
13
a
=
A
.
a
;
14
}
15
16
static void
Main
()
17
{
18
int
a
=
0
;
19
Convert
(
out
(
A
)
a
);
20
}
21
}