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

39 lines
559 B
C#

// Compiler options: -t:library
// CECIL FIXME: Every method should actually throw new ApplicationException ("Should not be called");
// but because mcs dependency on System.Reflection it cannot be done
using System;
public class C
{
public class CC
{
public static string Print ()
{
return typeof (CC).FullName;
}
}
public static string Print ()
{
return typeof (C).FullName;
}
}
public class D
{
public static string Print ()
{
return typeof (D).FullName;
}
}
public struct G<T>
{
public static T Test (T t)
{
return t;
}
}