[metadata] Fix leaks when handling a few attributes (#16675)
[mono-project.git] / mcs / tests / gtest-395.cs
blob1db10567a7a64cfc37b96b99fda434f6c28c567c
1 public class RuleBuilder<T> where T : class {}
3 public interface IDynamicObject {
4 RuleBuilder<T> GetRule<T>() where T : class;
7 public class RubyMethod : IDynamicObject {
8 RuleBuilder<T> IDynamicObject.GetRule<T>() /* where T : class */ {
9 return new RuleBuilder<T>();
13 public class T {
14 public static void Main ()