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
Update to recent changes -- mostly testcases failing due to missing ArrayList
[mcs.git]
/
tests
/
test-externalias-07.cs
blob
d0d09c67c3599b12f9da3031275d529769f1ea97
1
// Compiler options: -r:MyAssembly01=test-externalias-00-lib.dll
2
3
using
System
;
4
5
namespace
NS
6
{
7
extern alias
MyAssembly01
;
8
9
public class
MyClass
10
{
11
public static int
GetInt
()
12
{
13
return
MyAssembly01
::
GlobalClass
.
StaticMethod
();
14
}
15
}
16
}
17
18
public class
Test
19
{
20
static int
Main
()
21
{
22
if
(
NS
.
MyClass
.
GetInt
() !=
1
)
23
return
1
;
24
25
return
0
;
26
}
27
}
28