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

30 lines
398 B
C#

// Compiler options: -r:gtest-exmethod-26-lib.dll
using System;
using Test2;
using test;
namespace test
{
internal static class TypeExtensions
{
public static bool IsNullable (this Type t)
{
return true;
}
}
}
namespace testmono
{
class MainClass
{
public static void Main ()
{
string s = "";
if (s.GetType ().IsNullable ()) {
Console.WriteLine ("aaa");
}
}
}
}