Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / gtest-exmethod-26.cs
1 // Compiler options: -r:gtest-exmethod-26-lib.dll
2
3 using System;
4 using Test2;
5 using test;
6
7 namespace test
8 {
9         internal static class TypeExtensions
10         {
11                 public static bool IsNullable (this Type t)
12                 {
13                         return true;
14                 }
15         }
16 }
17 namespace testmono
18 {
19         class MainClass
20         {
21                 public static void Main ()
22                 {
23                         string s = "";
24                         if (s.GetType ().IsNullable ()) {
25                                 Console.WriteLine ("aaa");
26                         }
27                 }
28         }
29 }