[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mcs / tests / gtest-626.cs
blob045028df5ed0365f458e5a97d037d36af1cdab3e
1 using System;
3 class Program
5 public class Foo
7 public static bool MG (Foo t)
9 return false;
13 public class Bar<T>
15 public static Bar<T> Create (Func<T, bool> a)
17 return null;
20 public static Bar<T> Create (Func<T, double> a, Func<T, bool> b = null)
22 throw new ApplicationException ();
26 static void Main ()
28 var x = Bar<Foo>.Create (Foo.MG);