Merge pull request #5444 from hifi/fix-tds-inputoutput
[mono.git] / mcs / errors / cs0154-5.cs
1 // CS0154: The property or indexer `BugReport.MyProperty' cannot be used in this context because it lacks the `get' accessor
2 // Line: 16
3
4 static class BugReport
5 {
6         static float MyProperty {
7                 set { }
8         }
9
10         static void MyExtension (this float val)
11         {
12         }
13
14         public static void Main ()
15         {
16                 MyProperty.MyExtension ();
17         }
18 }
19