[2019-12] [threads] Add back mono_threads_attach_tools_thread as a public API (#18074)
[mono-project.git] / mono / tests / dim-generic.cs
blobc6254f0a1399d4e5efa313f7a1cefd8453c0858f
1 using System;
4 interface IBaseThingy
6 int Foo ();
9 interface INativeThingy<T> : IBaseThingy
11 int IBaseThingy.Foo () {
12 return 0;
16 class NativeThingy : INativeThingy<string>
20 public class Test
22 public static int test_0_dim_override()
24 var thingy = new NativeThingy ();
25 var ithingy = (IBaseThingy)thingy;
26 int i = ithingy.Foo ();
27 return i;
30 public static int Main (string[] args) {
31 return TestDriver.RunTests (typeof (Test), args);