projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* Form.cs: Make the fix for #80775 windows-only (fixes #81957).
[mono.git]
/
mcs
/
errors
/
gcs0271.cs
1
// CS0271: The property or indexer `Test.A.B' cannot be used in this context because the get accessor is inaccessible
2
// Line: 17
3
// Compiler options: -langversion:linq
4
using System;
5
6
public class Test
7
{
8
private class A
9
{
10
public string B { protected get; set; }
11
}
12
13
static void Main ()
14
{
15
A a = new A ();
16
a.B = "foo";
17
string b = a.B;
18
}
19
}