[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mcs / tests / test-842.cs
blob80bc3148e5db394072777ed881b82886e4ac6112
1 using System;
2 using System.Reflection;
4 interface IA
6 string this[int idx] { get; set; }
9 [DefaultMember ("Main")]
10 public class Foo : IA
12 string bar;
14 public static void Main ()
16 Console.WriteLine ("foo");
19 string IA.this[int idx] {
20 get {
21 return "foo";
23 set {
24 bar = value;