projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add CopyPath, CopyPathFlat, AppendPath
[mono.git]
/
mcs
/
tests
/
test-externalias-07.cs
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