projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2003-10-31 Pedro Martnez Juli <yoros@wanadoo.es>
[mono.git]
/
mcs
/
errors
/
cs0154.cs
1
// cs0154.cs: The property 'name' can not be used in this context because
2
// it lacks a get accessor.
3
// Line: 21
4
5
public class A
6
{
7
public string name
8
{
9
set
10
{
11
name = value;
12
}
13
}
14
}
15
16
public class B
17
{
18
public static void Main ()
19
{
20
A a = new A ();
21
string b = a.name;
22
}
23
}
24