コード例 #1
0
 public void UnsafeCallOnClassImplementingMethodWithFragmentParameterFromMultipleInterfaces()
 {
     InterfaceSampleImplicitDeclarationsMultipleInheritance sample = new InterfaceSampleImplicitDeclarationsMultipleInheritance();
       sample.MethodWithFragmentParameter (UnsafeSource(), "safe");
 }
コード例 #2
0
        public void InterfaceReturnFragmentsOfClassImplementingInterfaceMethodFromMultipleInterfacesAreConsidered()
        {
            InterfaceSampleImplicitDeclarationsMultipleInheritance sample = new InterfaceSampleImplicitDeclarationsMultipleInheritance();

            sample.MethodWithFragmentParameter(sample.MethodWithReturnFragment(), "safe");
        }
コード例 #3
0
 public void InterfaceReturnFragmentsOfClassImplementingInterfaceMethodFromMultipleInterfacesAreConsidered()
 {
     InterfaceSampleImplicitDeclarationsMultipleInheritance sample = new InterfaceSampleImplicitDeclarationsMultipleInheritance();
       sample.MethodWithFragmentParameter (sample.MethodWithReturnFragment(), "safe");
 }
コード例 #4
0
        public void UnsafeCallOnClassImplementingMethodWithFragmentParameterFromMultipleInterfaces()
        {
            InterfaceSampleImplicitDeclarationsMultipleInheritance sample = new InterfaceSampleImplicitDeclarationsMultipleInheritance();

            sample.MethodWithFragmentParameter(UnsafeSource(), "safe");
        }