linux-packaging-mono/mcs/tests/test-externalias-01-lib.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

89 lines
1002 B
C#

// Compiler options: -t:library
using System;
public class GlobalClass
{
public int InstanceMethod ()
{
return 2;
}
public static int StaticMethod ()
{
return 2;
}
public static void JustForSecond ()
{
}
}
namespace Namespace1
{
public class MyClass1
{
public int InstanceMethod ()
{
return 2;
}
public static int StaticMethod ()
{
return 2;
}
public class MyNestedClass1
{
public int InstanceMethod ()
{
return 2;
}
public static int StaticMethod ()
{
return 2;
}
}
public static void JustForSecond ()
{
}
}
namespace Namespace2
{
public class MyClass2
{
public class MyNestedClass2
{
public int InstanceMethod ()
{
return 2;
}
public static int StaticMethod ()
{
return 2;
}
}
public int InstanceMethod ()
{
return 2;
}
public static int StaticMethod ()
{
return 2;
}
public static void JustForFirst ()
{
}
}
}
}