dlr bug
[mcs.git] / tests / gtest-exmethod-26.cs
bloba6fde3c2eb0c7aadb29141e42322f0108b2ca0a8
1 // Compiler options: -r:gtest-exmethod-26-lib.dll
3 using System;
4 using Test2;
5 using test;
7 namespace test
9 internal static class TypeExtensions
11 public static bool IsNullable (this Type t)
13 return true;
17 namespace testmono
19 class MainClass
21 public static void Main ()
23 string s = "";
24 if (s.GetType ().IsNullable ()) {
25 Console.WriteLine ("aaa");