Пример #1
0
        public async IAsyncEnumerable <int> InstanceMethodsHaveAsynchronousEquivalents()
        {
            var @object = new ClassWithIAsyncEnumerableAsyncEquivalents();

            @object.SaveChanges();
            @object.Abort();
            @object.AcceptSocket();
            @object.AcceptTcpClient();
            @object.AccessFailed();
            @object.Run();
            @object.AddClaim();
            @object.AddCollectionToCache();

            yield return(0);
        }
Пример #2
0
 public static IEnumerable <bool> AccessFailed(this ClassWithIAsyncEnumerableAsyncEquivalents @object) => null;
Пример #3
0
 public static IAsyncEnumerable <bool> AcceptTcpClientAsync(this ClassWithIAsyncEnumerableAsyncEquivalents @object) => null;