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
[corlib] Add a special method for XI so the linker does not always have to generate it.
[mono-project.git]
/
mcs
/
errors
/
cs0192-2.cs
blob
649a7079c1eb276e1fe94585b925b0e07d115175
1
// CS0192: 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
}