projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[corlib] Make Marshal.BufferToBSTR(Array, int) non-public again (#5670)
[mono.git]
/
mcs
/
errors
/
cs0154.cs
1
// CS0154: The property or indexer `A.name' cannot be used in this context because it lacks the `get' accessor
2
// Line: 21
3
4
public class A
5
{
6
public string name
7
{
8
set
9
{
10
name = value;
11
}
12
}
13
}
14
15
public class B
16
{
17
public static void Main ()
18
{
19
A a = new A ();
20
string b = a.name;
21
}
22
}
23