Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0431.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 34fa647762adec9709c087f7a4cea9d798255715 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS0431: Alias `foo' cannot be used with '::' since it denotes a type. Consider replacing '::' with '.'
// Line: 13

using foo = A;

class A {
	public class B { }
}

class X {
	static void Main ()
	{
		foo::B b = new A.B ();
	}
}