[metadata] Fix leaks when handling a few attributes (#16675)
[mono-project.git] / mcs / tests / test-961.cs
blobefe1967387585497fd45fc58dc850f18d3265a96
1 // Compiler options: -langversion:latest
3 using System;
5 public static class B {
6 public static void Main ()
8 int lo = 1;
9 Bar (in lo);
12 public static void Bar (in int arg)
16 static void Foo (this in int src)
18 D p = (in int a) => {};
23 delegate void D (in int arg);
25 class M
27 int this[in int a] { set { } }
28 public static implicit operator string (in M m) => null;
29 public M (in int arg) { }
31 public void Test2 (in int arg)