[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mcs / tests / test-readonly-02.cs
blob231b8cd8fda09aff546b49e36d33e4563417e295
1 // Compiler options: -langversion:latest
2 using System;
4 public delegate ref readonly int D (int x);
6 class X
8 public static void Main ()
13 Guid g;
15 ref readonly Guid TestMethod ()
17 return ref g;
20 ref readonly Guid TestProp {
21 get {
22 ref readonly var rg = ref g;
23 return ref rg;