public void InstanceMethodsHaveAsynchronousEquivalentsWithDifferentReturnTypeDefinition() { var @object = new ClassWithAsyncEquivalentsReturnTypes(); @object.SaveChanges(); @object.Abort(); @object.AcceptSocket(); }
public MethodsThatHaveEquivalentAsynchronousMethodCalledInConstructors(double d) { var @object = new ClassWithAsyncEquivalentsReturnTypes(); @object.SaveChanges(); @object.Abort(); @object.AcceptSocket(); }
public IEnumerable <int> InstanceMethodsHaveAsynchronousEquivalentsWithDifferentReturnTypeDefinition() { var @object = new ClassWithAsyncEquivalentsReturnTypes(); for (int i = 0; i < 100; i++) { @object.SaveChanges(); @object.Abort(); @object.AcceptSocket(); yield return(i); } yield break; }