[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mcs / tests / gtest-642.cs
blobd41cda7aa01cfb307c5fe247469d1520e6cf18fe
1 using System;
2 using System.Collections.Generic;
4 class Program
6 static void Main ()
10 public static void Transform<V> (Area<V> area, Func<V, V> transform)
11 where V : IA<V>
13 Test (GetIB<V> (), t => Transform2 (null, transform));
16 static IB<W> GetIB<W> ()
17 where W : IA<W>
19 return null;
22 static void Test<T> (T values, Func<T, T> func)
26 public static IB<U> Transform2<U> (
27 IB<U> b,
28 Func<U, U> transform) where U : IA<U>
30 return null;
35 public class Area<TVector>
36 where TVector : IA<TVector>
38 public IB<TVector> GetSegments ()
40 return null;
44 public interface IB<TB>
45 where TB : IA<TB>
49 public interface IA<T>