17 implementations of CompletedSynchronously
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\AsyncResult.cs (1)
70public bool CompletedSynchronously
Microsoft.AspNetCore.Server.HttpSys (3)
RequestProcessing\ClientCertLoader.cs (1)
336public bool CompletedSynchronously
RequestProcessing\RequestStreamAsyncResult.cs (1)
167public bool CompletedSynchronously
RequestProcessing\ResponseStreamAsyncResult.cs (1)
323public bool CompletedSynchronously
PresentationFramework (1)
System\Windows\Documents\PageContentAsyncResult.cs (1)
97public bool CompletedSynchronously
System.DirectoryServices.Protocols (1)
System\DirectoryServices\Protocols\ldap\LdapAsyncResult.cs (1)
30bool IAsyncResult.CompletedSynchronously => false;
System.Net.HttpListener (3)
src\runtime\src\libraries\Common\src\System\Net\LazyAsyncResult.cs (1)
173public bool CompletedSynchronously
System\Net\Managed\HttpStreamAsyncResult.cs (1)
97public bool CompletedSynchronously => false;
System\Net\Managed\ListenerAsyncResult.Managed.cs (1)
229public bool CompletedSynchronously
System.Net.Requests (1)
src\runtime\src\libraries\Common\src\System\Net\LazyAsyncResult.cs (1)
173public bool CompletedSynchronously
System.Private.CoreLib (2)
src\runtime\src\libraries\Common\src\System\Threading\Tasks\TaskToAsyncResult.cs (1)
149public bool CompletedSynchronously { get; }
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (1)
1596bool IAsyncResult.CompletedSynchronously => false;
System.ServiceModel.Federation (1)
System\Runtime\OperationWithTimeoutAsyncResult.cs (1)
98public bool CompletedSynchronously { get; private set; }
System.ServiceModel.Primitives (1)
Internals\System\Runtime\AsyncResult.cs (1)
60public bool CompletedSynchronously { get; private set; }
System.Transactions.Local (1)
System\Transactions\CommittableTransaction.cs (1)
191bool IAsyncResult.CompletedSynchronously => false;
System.Windows.Forms (1)
System\Windows\Forms\Control.ThreadMethodEntry.cs (1)
70public bool CompletedSynchronously => IsCompleted && _synchronous;
UnitTests.Common (1)
MockAsyncResult.cs (1)
30public bool CompletedSynchronously { get; set; }
120 references to CompletedSynchronously
dotnet-svcutil-lib (59)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\AsyncResult.cs (2)
198if (result.CompletedSynchronously) 304else if (!result.CompletedSynchronously)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ChainedAsyncResult.cs (4)
42if (!result.CompletedSynchronously) 53if (result.CompletedSynchronously) 88if (!result.CompletedSynchronously) 97if (result.CompletedSynchronously)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CloseCollectionAsyncResult.cs (3)
52if (result.CompletedSynchronously) 78Decrement(result.CompletedSynchronously, closeException); 83if (result.CompletedSynchronously)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Message.cs (1)
1133if (!result.CompletedSynchronously)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\OpenCollectionAsyncResult.cs (2)
39if (result.CompletedSynchronously) 49if (result.CompletedSynchronously)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (6)
1689if (result.CompletedSynchronously) 1697if (!result.CompletedSynchronously) 1753else if (result.CompletedSynchronously) 1761if (!result.CompletedSynchronously) 1837else if (result.CompletedSynchronously) 1845if (!result.CompletedSynchronously)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannelProxy.cs (2)
196if (ar.CompletedSynchronously && !completedCallback) 238if (ar.CompletedSynchronously && !completedCallback)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (2)
236if (!result.CompletedSynchronously) 436if (ar.CompletedSynchronously)
FrameworkFork\System.ServiceModel\System\ServiceModel\ClientBase.cs (3)
421if (result.CompletedSynchronously) 435if (error != null || result.CompletedSynchronously) /* result cannot be null if error == null */ 443if (result.CompletedSynchronously)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (5)
877if (result.CompletedSynchronously) 1093if (result.CompletedSynchronously) 1109if (result.CompletedSynchronously) 1209if (result.CompletedSynchronously) 1232if (result.CompletedSynchronously)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\BufferedReceiveBinder.cs (2)
100if (result.CompletedSynchronously) 219if (result.CompletedSynchronously)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ChannelHandler.cs (7)
187if ((result != null) && result.CompletedSynchronously) 208if ((result == null) || !result.CompletedSynchronously) 226if (result == null || !result.CompletedSynchronously) 407if ((result != null) && result.CompletedSynchronously) 750if (!result.CompletedSynchronously) 921if (result.CompletedSynchronously) 1075if (result.CompletedSynchronously)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (2)
239if (result.CompletedSynchronously) 251if (result.CompletedSynchronously)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (8)
380if (result.CompletedSynchronously) 609if (!result.CompletedSynchronously) 682if (!result.CompletedSynchronously) 699if (result.CompletedSynchronously) 1175else if (result.CompletedSynchronously) 1196if (result.CompletedSynchronously) 1278else if (result.CompletedSynchronously) 1286if (result.CompletedSynchronously)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ImmutableClientRuntime.cs (2)
286if (!result.CompletedSynchronously) 306if (result.CompletedSynchronously)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (2)
165if (rpc.AsyncResult.CompletedSynchronously) 285if (result.CompletedSynchronously)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ListenerHandler.cs (5)
142if (result.CompletedSynchronously) 172if (result.CompletedSynchronously) 178if (result.CompletedSynchronously) 200if (result.CompletedSynchronously) 248if (result.CompletedSynchronously)
FrameworkFork\System.ServiceModel\System\ServiceModel\InstanceContext.cs (1)
307if (result.CompletedSynchronously && CloseChannelsCallback(result))
Microsoft.AspNetCore.Server.HttpSys (3)
RequestProcessing\ClientCertLoader.cs (1)
338get { return ((IAsyncResult)_tcs.Task).CompletedSynchronously; }
RequestProcessing\RequestStreamAsyncResult.cs (1)
169get { return ((IAsyncResult)_tcs.Task).CompletedSynchronously; }
RequestProcessing\ResponseStreamAsyncResult.cs (1)
325get { return ((IAsyncResult)_tcs.Task).CompletedSynchronously; }
Microsoft.Svcutil.NamedPipeMetadataImporter (1)
NamedPipeMetadataImporter.cs (1)
77if (result.CompletedSynchronously)
System.Private.CoreLib (10)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory_T.cs (10)
781if (!iar.CompletedSynchronously) 784if (asyncResult.CompletedSynchronously) 898if (!iar.CompletedSynchronously) 901if (asyncResult.CompletedSynchronously) 1023if (!iar.CompletedSynchronously) 1026if (asyncResult.CompletedSynchronously) 1156if (!iar.CompletedSynchronously) 1159if (asyncResult.CompletedSynchronously) 1213if (asyncResult.CompletedSynchronously) 1271if (!asyncResult.CompletedSynchronously)
System.ServiceModel.Federation (2)
System\Runtime\OperationWithTimeoutAsyncResult.cs (2)
211if (result.CompletedSynchronously) 317else if (!result.CompletedSynchronously)
System.ServiceModel.Http (2)
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (2)
215if (!result.CompletedSynchronously) 420if (ar.CompletedSynchronously)
System.ServiceModel.Primitives (43)
Internals\System\Runtime\AsyncResult.cs (2)
173if (result.CompletedSynchronously) 279else if (!result.CompletedSynchronously)
System\ServiceModel\Channels\CloseCollectionAsyncResult.cs (3)
52if (result.CompletedSynchronously) 77Decrement(result.CompletedSynchronously, closeException); 82if (result.CompletedSynchronously)
System\ServiceModel\Channels\OpenCollectionAsyncResult.cs (2)
43if (result.CompletedSynchronously) 53if (result.CompletedSynchronously)
System\ServiceModel\Channels\ReliableChannelBinder.cs (2)
298if (result.CompletedSynchronously) 457if (result.CompletedSynchronously)
System\ServiceModel\Channels\ServiceChannel.cs (6)
1726if (result.CompletedSynchronously) 1734if (!result.CompletedSynchronously) 1790else if (result.CompletedSynchronously) 1798if (!result.CompletedSynchronously) 1874else if (result.CompletedSynchronously) 1882if (!result.CompletedSynchronously)
System\ServiceModel\Channels\ServiceChannelProxy.cs (2)
198if (ar.CompletedSynchronously && !completedCallback) 238if (ar.CompletedSynchronously && !completedCallback)
System\ServiceModel\ClientBase.cs (3)
832if (result.CompletedSynchronously) 846if (error != null || result.CompletedSynchronously) /* result cannot be null if error == null */ 854if (result.CompletedSynchronously)
System\ServiceModel\Dispatcher\BufferedReceiveBinder.cs (2)
96if (result.CompletedSynchronously) 215if (result.CompletedSynchronously)
System\ServiceModel\Dispatcher\ChannelHandler.cs (7)
174if ((result != null) && result.CompletedSynchronously) 195if ((result == null) || !result.CompletedSynchronously) 213if (result == null || !result.CompletedSynchronously) 399if ((result != null) && result.CompletedSynchronously) 750if (!result.CompletedSynchronously) 930if (result.CompletedSynchronously) 1082if (result.CompletedSynchronously)
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (2)
197if (result.CompletedSynchronously) 209if (result.CompletedSynchronously)
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (8)
372if (result.CompletedSynchronously) 609if (!result.CompletedSynchronously) 684if (!result.CompletedSynchronously) 701if (result.CompletedSynchronously) 1194else if (result.CompletedSynchronously) 1215if (result.CompletedSynchronously) 1297else if (result.CompletedSynchronously) 1305if (result.CompletedSynchronously)
System\ServiceModel\Dispatcher\ImmutableClientRuntime.cs (2)
275if (!result.CompletedSynchronously) 295if (result.CompletedSynchronously)
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (2)
231if (rpc.AsyncResult.CompletedSynchronously) 351if (result.CompletedSynchronously)