projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2003-12-25 Sebastien Pouliot <spouliot@videotron.ca>
[mono.git]
/
mcs
/
errors
/
cs0192.cs
1
// cs0192.cs: You cannot pass a readonly field by ref or out (except in a constructor)
2
// Line: 17
3
4
using System;
5
6
class A
7
{
8
public readonly int a=5;
9
10
public void Inc (ref int a)
11
{
12
++a;
13
}
14
15
public void IncCall ()
16
{
17
Inc (ref a);
18
}
19
20
static void Main ()
21
{
22
Console.WriteLine ("Test cs0192.cs");
23
}
24
}