summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0120-5.cs
blob: 5ebe5ae31147260a0103b5bab7c23377a8750fc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// CS0120: An object reference is required to access non-static member `Babble.Protocol.Auth.Account'
// Line: 28

using System;

namespace Babble.Protocol
{
	public class Query
	{
		public Query(Account a)
		{
		}
	}

	public class Account
	{
	}
	
	public class Auth
	{
		public Account Account
		{
			get { return null; }
		}
		
		private class AuthQuery : Query
		{
			public AuthQuery() : base(Account)
			{
			}
		}
	}
}