repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
retag
[mcs.git]
/
errors
/
cs0192-2.cs
blob
35a84ee0e0e6f51515fce92fc18ce63e9344d53d
1
// cs0192-2.cs: A readonly field `A.a' cannot be passed ref or out (except in a constructor)
2
// Line: 15
3
4
class
A
5
{
6
public readonly int
a
;
7
8
public void
Inc
(
out int
a
)
9
{
10
a
=
3
;
11
}
12
13
public void
IncCall
()
14
{
15
Inc
(
out
a
);
16
}
17
}