blob: 21f55ceae5aadfb3fdbfe0cbd0cd96278d1b45e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// CS0154: The property or indexer `BugReport.MyProperty' cannot be used in this context because it lacks the `get' accessor
// Line: 16
static class BugReport
{
static float MyProperty {
set { }
}
static void MyExtension (this float val)
{
}
public static void Main ()
{
MyProperty.MyExtension ();
}
}
|