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
2007-03-19 Chris Toshok <toshok@ximian.com>
[mono-project.git]
/
mcs
/
errors
/
cs0440.cs
blob
1a5e66a8da4e90e912244cb81b5386fd063af5b9
1
// cs0440.cs: An alias named `global' will not be used when resolving 'global::'; the global namespace will be used instead
2
// Line: 5
3
// Compiler options: -warn:2 -warnaserror
4
5
using global
=
Foo
;
6
7
namespace
Foo
{
8
class
A { }
9
}
10
11
class
A { }
12
13
class
X
{
14
static void
Main
()
15
{
16
A a
=
new global
::
A
();
17
System
.
Console
.
WriteLine
(
a
.
GetType
());
18
}
19
}