summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0118-4.cs
blob: eaa9ad291a914eb146530d123418d90a8ada45f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0118: `x.a.B' is a `property' but a `type' was expected
// Line: 9

using System;

namespace x
{
	class a
	{
		bool B { set {} }
		
		void Test (B b) {}
	}
}