Add assert when dllmap is disabled and fix support build in netcore mode
[mono-project.git] / mono / tests / dim-issue-18917.cs
blob68bab80829e77bba3a9e23f5bdc156cd04eea1a9
1 using System;
3 public interface IInterface
5 int getRet() { return -10; }
8 public interface IInterface2 : IInterface
10 int IInterface.getRet() { return -1; }
14 public class AbstractClass : IInterface2
16 int IInterface.getRet() { return 0; }
20 public class FinalClass : AbstractClass
24 public class Test
26 public static int test_0_dim_18917()
28 var var0 = new FinalClass();
29 var var4 = (IInterface2)var0;
30 var var5 = var4.getRet();
31 return var5;
35 public static int Main (string[] args) {
36 return TestDriver.RunTests (typeof (Test), args);