repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[mcs] Reset also all partial parts current-type
[mono-project.git]
/
mcs
/
errors
/
cs0431.cs
blob
c75168f57fca3ab25fe1cf1fc4c09f0d95eb0651
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
}