[amd64] Make inline function in header static
[mono-project.git] / mcs / tests / gtest-064.cs
blob9737245d92bdfb056276c1bc9e6d1de13f61e74a
1 using System;
3 public interface IHello<T>
4 { }
6 public interface IFoo<T>
8 IHello<T> GetHello ();
11 public interface IBar<T> : IFoo<T>
12 { }
14 public class Foo<T> : IBar<T>, IFoo<T>
16 public Hello GetHello ()
18 return new Hello (this);
21 IHello<T> IFoo<T>.GetHello ()
23 return new Hello (this);
26 public class Hello : IHello<T>
28 public readonly Foo<T> Foo;
30 public Hello (Foo<T> foo)
32 this.Foo = foo;
37 class X
39 public static void Main ()
40 { }