public void InstanceMethodsHaveAsynchronousEquivalentsWithMethodParameters() { var @object = new ClassWithAsyncEquivalentsMethodParameters(); @object.SaveChanges(0, ""); @object.Abort(); @object.AcceptSocket(); @object.AcceptTcpClient(0, ""); }
public MethodsThatHaveEquivalentAsynchronousMethodCalledInConstructors(string s) { var @object = new ClassWithAsyncEquivalentsMethodParameters(); @object.SaveChanges(0, ""); @object.Abort(); @object.AcceptSocket(); @object.AcceptTcpClient(0, ""); }
public IEnumerable <int> InstanceMethodsHaveAsynchronousEquivalentsWithMethodParameters() { var @object = new ClassWithAsyncEquivalentsMethodParameters(); for (int i = 0; i < 100; i++) { @object.SaveChanges(0, ""); @object.Abort(); @object.AcceptSocket(); @object.AcceptTcpClient(0, ""); yield return(i); } yield break; }