public void SafeStaticBindingOnNewMethod()
 {
     InheritanceSampleBase sample = new InheritanceSampleMethod();
       sample.NonVirtualMethod ("", "");
 }
 public void UnsafeStaticBindingOnNewMethod()
 {
     InheritanceSampleBase sample = new InheritanceSampleMethod();
       sample.NonVirtualMethod (UnsafeInheritanceFragmentSource(), "");
 }
 public void SafeDynamicBinding()
 {
     InheritanceSampleBase sample = new InheritanceSampleMethod();
       sample.VirtualMethod ("safe", "safe");
 }
 public void UnsafeDynamicBinding()
 {
     InheritanceSampleBase sample = new InheritanceSampleMethod();
       sample.VirtualMethod (UnsafeInheritanceFragmentSource(), "safe");
 }
        public void UnsafeStaticBindingOnNewMethod()
        {
            InheritanceSampleBase sample = new InheritanceSampleMethod();

            sample.NonVirtualMethod(UnsafeInheritanceFragmentSource(), "");
        }
        public void SafeStaticBindingOnNewMethod()
        {
            InheritanceSampleBase sample = new InheritanceSampleMethod();

            sample.NonVirtualMethod("", "");
        }
        public void UnsafeDynamicBinding()
        {
            InheritanceSampleBase sample = new InheritanceSampleMethod();

            sample.VirtualMethod(UnsafeInheritanceFragmentSource(), "safe");
        }
        public void SafeDynamicBinding()
        {
            InheritanceSampleBase sample = new InheritanceSampleMethod();

            sample.VirtualMethod("safe", "safe");
        }