2005-06-29 Sureshkumar T <tsureshkumar@novell.com>
[mono.git] / mcs / errors / cs0120-5.cs
1 // cs0120-5.cs: An object reference is required for the nonstatic field, method, or property `Babble.Protocol.Auth.Account.get'
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 }