示例#1
0
        public void InstanceMethodsDoNotHaveAsynchronousEquivalents()
        {
            var @object = new ClassWithoutAsyncEquivalents();

            @object.SaveChanges();
            @object.Abort();
            @object.AcceptSocket();
            @object.AcceptTcpClient();
            @object.AccessFailed();
        }
示例#2
0
 public static bool AccessFailed(this ClassWithoutAsyncEquivalents @object) => true;