repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-03-07 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git]
/
errors
/
cs0431.cs
blob
34fa647762adec9709c087f7a4cea9d798255715
1
// CS0431: Alias `foo' cannot be used with '::' since it denotes a type. Consider replacing '::' with '.'
2
// Line: 13
3
4
using
foo
=
A
;
5
6
class
A
{
7
public class
B { }
8
}
9
10
class
X
{
11
static void
Main
()
12
{
13
foo
::
B b
=
new
A
.
B
();
14
}
15
}