[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mcs / tests / gtest-iter-28.cs
blobf58b2b11c28034e18ac974e942ead53658082aac
1 using System;
2 using System.Collections.Generic;
4 class A
6 public IEnumerable<string> Test (B b)
8 string s = "s";
10 yield return "a";
12 string stringValue = "two";
14 Console.WriteLine (b.ToString ());
16 Action a = () => {
17 Console.WriteLine (s + c.GetType () + stringValue);
20 a ();
25 C c = new C ();
28 class B
32 class C
34 public static void Main ()