[runtime] Avoid indirection when building MonoContext on darwin
[mono.git] / mcs / errors / cs0120-5.cs
1 // CS0120: An object reference is required to access non-static member `Babble.Protocol.Auth.Account'
2 // Line: 28
3
4 using System;
5
6 namespace Babble.Protocol
7 {
8         public class Query
9         {
10                 public Query(Account a)
11                 {
12                 }
13         }
14
15         public class Account
16         {
17         }
18         
19         public class Auth
20         {
21                 public Account Account
22                 {
23                         get { return null; }
24                 }
25                 
26                 private class AuthQuery : Query
27                 {
28                         public AuthQuery() : base(Account)
29                         {
30                         }
31                 }
32         }
33 }