Exemple #1
0
        public void CollisionImplementationBothExplicit()
        {
            var             o     = new CollisionImplementationBothExplicit();
            ITestInterface  test  = o;
            ITestInterface2 test2 = o;
            var             s     = test.Method();
            var             s2    = test2.Method();

            AssertEquals(s, "ITestInterface");
            AssertEquals(s2, "ITestInterface2");
        }
Exemple #2
0
 public void CollisionImplementationBothExplicit()
 {
     var o = new CollisionImplementationBothExplicit();
     ITestInterface test = o;
     ITestInterface2 test2 = o;
     var s = test.Method();
     var s2 = test2.Method();
     AssertEquals(s, "ITestInterface");
     AssertEquals(s2, "ITestInterface2");
 }