< Summary

Class:Microsoft.FSharp.Control.AsyncPrimitives
Assembly:FSharp.Core
File(s):F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs
Covered lines:0
Uncovered lines:346
Coverable lines:346
Total lines:0
Line coverage:0% (0 of 346)
Covered branches:0
Total branches:128
Branch coverage:0% (0 of 128)
Tag:24_1835905959

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
Invoke(...)0%2100%
Invoke(...)0%12320%
Invoke(...)0%2100%
CallThenContinue(...)0%30580%
Invoke(...)0%2100%
CallThenInvoke(...)0%12340%
CallThenInvokeNoHijackCheck(...)0%12340%
CallFilterThenInvoke(...)0%426160%
Invoke(...)0%2100%
ProtectedCode(...)0%12340%
MakeAsync(...)0%2100%
Bind(...)0%6220%
Invoke(...)0%2100%
TryFinally(...)0%6220%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
TryWith(...)0%6220%
Invoke(...)0%6220%
CreateProtectedAsync(...)0%2100%
Invoke(...)0%2100%
CreateAsyncResultAsync(...)0%2100%
Invoke(...)0%12300%
CreateWhenCancelledAsync(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
CreateUsingAsync(...)0%2100%
disposeFunction@582(...)0%2100%
Invoke(...)0%6220%
Invoke(...)0%2100%
CreateWhileAsync(...)0%6220%
Invoke(...)0%6220%
Invoke(...)0%2100%
CreateForLoopAsync(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
CreateSwitchToAsync(...)0%2100%
Invoke(...)0%2100%
CreateSwitchToNewThreadAsync()0%2100%
Invoke(...)0%2100%
CreateSwitchToThreadPoolAsync()0%2100%
Invoke(...)0%2100%
DelimitSyncContext(...)0%6220%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
CreateDelimitedUserCodeAsync(...)0%2100%
Invoke(...)0%2100%
.ctor(...)0%6220%
Invoke(...)0%2100%
ContinueImmediate(...)0%567160%
ContinueWithPostOrQueue(...)0%2100%
Invoke(...)0%2100%
.ctor()0%2100%
GetWaitHandle()0%6200%
action@4737-13(...)0%12340%
Close()0%6200%
action@4737-14(...)0%12340%
System.IDisposable.Dispose()0%2100%
GrabResult()0%6220%
RegisterResult(...)0%426160%
action@4737-15(...)0%20480%
Invoke(...)0%20440%
action@4737-16(...)0%6220%
TryWaitForResultSynchronously(...)0%30580%
.ctor(...)0%2100%
Invoke(...)0%2100%
Create(...)0%2100%
QueueAsync(...)0%2100%
Invoke(...)0%2100%
RunSynchronouslyInAnotherThread(...)0%567320%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
RunSynchronouslyInCurrentThread(...)0%6200%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
RunSynchronously(...)0%12320%
Start(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
StartWithContinuations(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
StartAsTask(...)0%6200%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
continuation@930(...)0%2100%
Invoke(...)0%20480%
taskContinueWith(...)0%2100%
Invoke(...)0%2100%
continuation@949-2(...)0%2100%
Invoke(...)0%20480%
taskContinueWithUnit(...)0%2100%
Invoke(...)0%2100%
.ctor(...)0%2100%
SetResult(...)0%6220%
GetResult()0%20480%
Close()0%6220%
CancelAsync()0%2100%
CheckForNotSynchronous()0%6220%
System.IAsyncResult.get_IsCompleted()0%2100%
System.IAsyncResult.get_CompletedSynchronously()0%2100%
System.IAsyncResult.get_AsyncWaitHandle()0%2100%
System.IAsyncResult.get_AsyncState()0%2100%
System.IDisposable.Dispose()0%2100%
beginAction(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
Invoke(...)0%2100%
endAction(...)0%12320%
cancelAction(...)0%6200%

File(s)

F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs

File 'F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs' does not exist (any more).

Methods/Properties

RegisterResult(T,System.Boolean)
Invoke(Microsoft.FSharp.Core.Unit)
Invoke(Microsoft.FSharp.Control.FSharpAsync`1<T>,Microsoft.FSharp.Control.AsyncActivation`1<T>)
Invoke(Microsoft.FSharp.Core.Unit)
CallThenContinue(Microsoft.FSharp.Core.FSharpFunc`2<a,b>,a,Microsoft.FSharp.Control.AsyncActivation`1<b>)
Invoke(Microsoft.FSharp.Core.Unit)
CallThenInvoke(Microsoft.FSharp.Control.AsyncActivation`1<T>,TResult,Microsoft.FSharp.Core.FSharpFunc`2<TResult,Microsoft.FSharp.Control.FSharpAsync`1<T>>)
CallThenInvokeNoHijackCheck(Microsoft.FSharp.Control.AsyncActivation`1<a>,Microsoft.FSharp.Core.FSharpFunc`2<b,Microsoft.FSharp.Control.FSharpAsync`1<a>>,b)
CallFilterThenInvoke(Microsoft.FSharp.Control.AsyncActivation`1<T>,Microsoft.FSharp.Core.FSharpFunc`2<System.Exception,Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Control.FSharpAsync`1<T>>>,System.Runtime.ExceptionServices.ExceptionDispatchInfo)
Invoke(Microsoft.FSharp.Core.Unit)
ProtectedCode(Microsoft.FSharp.Control.AsyncActivation`1<T>,Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Control.AsyncActivation`1<T>,Microsoft.FSharp.Control.AsyncReturn>)
MakeAsync(Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Control.AsyncActivation`1<T>,Microsoft.FSharp.Control.AsyncReturn>)
Bind(Microsoft.FSharp.Control.AsyncActivation`1<T>,Microsoft.FSharp.Control.FSharpAsync`1<TResult>,Microsoft.FSharp.Core.FSharpFunc`2<TResult,Microsoft.FSharp.Control.FSharpAsync`1<T>>)
Invoke(TResult)
TryFinally(Microsoft.FSharp.Control.AsyncActivation`1<T>,Microsoft.FSharp.Control.FSharpAsync`1<T>,Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>)
Invoke(Microsoft.FSharp.Core.Unit)
Invoke(T)
Invoke(Microsoft.FSharp.Core.Unit)
Invoke(System.Runtime.ExceptionServices.ExceptionDispatchInfo)
Invoke(Microsoft.FSharp.Core.Unit)
Invoke(System.Runtime.ExceptionServices.ExceptionDispatchInfo)
Invoke(System.OperationCanceledException)
TryWith(Microsoft.FSharp.Control.AsyncActivation`1<T>,Microsoft.FSharp.Control.FSharpAsync`1<T>,Microsoft.FSharp.Core.FSharpFunc`2<System.Exception,Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Control.FSharpAsync`1<T>>>)
Invoke(System.Runtime.ExceptionServices.ExceptionDispatchInfo)
CreateProtectedAsync(Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Control.AsyncActivation`1<a>,Microsoft.FSharp.Control.AsyncReturn>)
Invoke(Microsoft.FSharp.Control.AsyncActivation`1<a>)
CreateAsyncResultAsync(Microsoft.FSharp.Control.AsyncResult`1<T>)
Invoke(Microsoft.FSharp.Control.AsyncActivation`1<T>)
CreateWhenCancelledAsync(Microsoft.FSharp.Core.FSharpFunc`2<System.OperationCanceledException,Microsoft.FSharp.Core.Unit>,Microsoft.FSharp.Control.FSharpAsync`1<a>)
Invoke(Microsoft.FSharp.Control.AsyncActivation`1<a>)
Invoke(Microsoft.FSharp.Core.Unit)
Invoke(System.Runtime.ExceptionServices.ExceptionDispatchInfo)
Invoke(System.OperationCanceledException)
Invoke(Microsoft.FSharp.Control.AsyncActivation`1<System.Threading.CancellationToken>)
Invoke(Microsoft.FSharp.Control.AsyncActivation`1<Microsoft.FSharp.Core.Unit>)
CreateUsingAsync(T,Microsoft.FSharp.Core.FSharpFunc`2<T,Microsoft.FSharp.Control.FSharpAsync`1<a>>)
disposeFunction@582(T,Microsoft.FSharp.Core.FSharpRef`1<System.Int32>)
Invoke(b)
Invoke(Microsoft.FSharp.Control.AsyncActivation`1<a>)
CreateWhileAsync(Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,System.Boolean>,Microsoft.FSharp.Control.FSharpAsync`1<Microsoft.FSharp.Core.Unit>)
Invoke(Microsoft.FSharp.Core.Unit)
Invoke(Microsoft.FSharp.Control.AsyncActivation`1<Microsoft.FSharp.Core.Unit>)
CreateForLoopAsync(System.Collections.Generic.IEnumerable`1<a>,Microsoft.FSharp.Core.FSharpFunc`2<a,Microsoft.FSharp.Control.FSharpAsync`1<Microsoft.FSharp.Core.Unit>>)
Invoke(System.Collections.Generic.IEnumerator`1<a>)
Invoke(Microsoft.FSharp.Core.Unit)
Invoke(Microsoft.FSharp.Core.Unit)
CreateSwitchToAsync(System.Threading.SynchronizationContext)
Invoke(Microsoft.FSharp.Control.AsyncActivation`1<Microsoft.FSharp.Core.Unit>)
CreateSwitchToNewThreadAsync()
Invoke(Microsoft.FSharp.Control.AsyncActivation`1<Microsoft.FSharp.Core.Unit>)
CreateSwitchToThreadPoolAsync()
Invoke(Microsoft.FSharp.Control.AsyncActivation`1<Microsoft.FSharp.Core.Unit>)
DelimitSyncContext(Microsoft.FSharp.Control.AsyncActivation`1<a>)
Invoke(Microsoft.FSharp.Core.Unit)
Invoke(a)
Invoke(Microsoft.FSharp.Core.Unit)
Invoke(System.Runtime.ExceptionServices.ExceptionDispatchInfo)
Invoke(Microsoft.FSharp.Core.Unit)
Invoke(System.OperationCanceledException)
CreateDelimitedUserCodeAsync(Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Control.AsyncActivation`1<a>,Microsoft.FSharp.Control.AsyncReturn>)
Invoke(Microsoft.FSharp.Control.AsyncActivation`1<a>)
.ctor(Microsoft.FSharp.Control.AsyncActivation`1<T>)
Invoke(Microsoft.FSharp.Core.Unit)
ContinueImmediate(T)
ContinueWithPostOrQueue(T)
Invoke(Microsoft.FSharp.Core.Unit)
.ctor()
GetWaitHandle()
action@4737-13(Microsoft.FSharp.Control.AsyncPrimitives/ResultCell`1<T>,Microsoft.FSharp.Core.Unit)
Close()
action@4737-14(Microsoft.FSharp.Control.AsyncPrimitives/ResultCell`1<T>,Microsoft.FSharp.Core.Unit)
System.IDisposable.Dispose()
GrabResult()
action@4737-15(Microsoft.FSharp.Control.AsyncPrimitives/ResultCell`1<T>,T,Microsoft.FSharp.Core.Unit)
AwaitResult_NoDirectCancelOrTimeout()
Invoke(Microsoft.FSharp.Control.AsyncActivation`1<T>)
action@4737-16(Microsoft.FSharp.Control.AsyncPrimitives/ResultCell`1<T>,Microsoft.FSharp.Control.AsyncActivation`1<T>,Microsoft.FSharp.Core.Unit)
TryWaitForResultSynchronously(Microsoft.FSharp.Core.FSharpOption`1<System.Int32>)
.ctor(Microsoft.FSharp.Core.FSharpFunc`2<T,Microsoft.FSharp.Core.Unit>)
Invoke(System.Object,T)
Create(Microsoft.FSharp.Core.FSharpFunc`2<T,Microsoft.FSharp.Core.Unit>)
QueueAsync(System.Threading.CancellationToken,Microsoft.FSharp.Core.FSharpFunc`2<a,Microsoft.FSharp.Control.AsyncReturn>,Microsoft.FSharp.Core.FSharpFunc`2<System.Runtime.ExceptionServices.ExceptionDispatchInfo,Microsoft.FSharp.Control.AsyncReturn>,Microsoft.FSharp.Core.FSharpFunc`2<System.OperationCanceledException,Microsoft.FSharp.Control.AsyncReturn>,Microsoft.FSharp.Control.FSharpAsync`1<a>)
Invoke(Microsoft.FSharp.Core.Unit)
RunSynchronouslyInAnotherThread(System.Threading.CancellationToken,Microsoft.FSharp.Control.FSharpAsync`1<a>,Microsoft.FSharp.Core.FSharpOption`1<System.Int32>)
Invoke(a)
Invoke(System.Runtime.ExceptionServices.ExceptionDispatchInfo)
Invoke(System.OperationCanceledException)
RunSynchronouslyInCurrentThread(System.Threading.CancellationToken,Microsoft.FSharp.Control.FSharpAsync`1<a>)
Invoke(a)
Invoke(System.Runtime.ExceptionServices.ExceptionDispatchInfo)
Invoke(System.OperationCanceledException)
Invoke(Microsoft.FSharp.Core.Unit)
RunSynchronously(System.Threading.CancellationToken,Microsoft.FSharp.Control.FSharpAsync`1<T>,Microsoft.FSharp.Core.FSharpOption`1<System.Int32>)
Start(System.Threading.CancellationToken,Microsoft.FSharp.Control.FSharpAsync`1<Microsoft.FSharp.Core.Unit>)
Invoke(Microsoft.FSharp.Core.Unit)
Invoke(System.Runtime.ExceptionServices.ExceptionDispatchInfo)
Invoke(System.OperationCanceledException)
StartWithContinuations(System.Threading.CancellationToken,Microsoft.FSharp.Control.FSharpAsync`1<T>,Microsoft.FSharp.Core.FSharpFunc`2<T,Microsoft.FSharp.Core.Unit>,Microsoft.FSharp.Core.FSharpFunc`2<System.Runtime.ExceptionServices.ExceptionDispatchInfo,Microsoft.FSharp.Core.Unit>,Microsoft.FSharp.Core.FSharpFunc`2<System.OperationCanceledException,Microsoft.FSharp.Core.Unit>)
Invoke(T)
Invoke(System.Runtime.ExceptionServices.ExceptionDispatchInfo)
Invoke(System.OperationCanceledException)
Invoke(Microsoft.FSharp.Core.Unit)
StartAsTask(System.Threading.CancellationToken,Microsoft.FSharp.Control.FSharpAsync`1<T>,Microsoft.FSharp.Core.FSharpOption`1<System.Threading.Tasks.TaskCreationOptions>)
Invoke(T)
Invoke(System.Runtime.ExceptionServices.ExceptionDispatchInfo)
Invoke(System.OperationCanceledException)
continuation@930(Microsoft.FSharp.Control.AsyncActivation`1<T>,System.Boolean,System.Threading.Tasks.Task`1<T>)
Invoke(Microsoft.FSharp.Core.Unit)
taskContinueWith(System.Threading.Tasks.Task`1<T>,Microsoft.FSharp.Control.AsyncActivation`1<T>,System.Boolean)
Invoke(System.Threading.Tasks.Task`1<T>)
continuation@949-2(Microsoft.FSharp.Control.AsyncActivation`1<Microsoft.FSharp.Core.Unit>,System.Boolean,System.Threading.Tasks.Task)
Invoke(Microsoft.FSharp.Core.Unit)
taskContinueWithUnit(System.Threading.Tasks.Task,Microsoft.FSharp.Control.AsyncActivation`1<Microsoft.FSharp.Core.Unit>,System.Boolean)
Invoke(System.Threading.Tasks.Task)
.ctor(System.AsyncCallback,System.Object)
SetResult(Microsoft.FSharp.Control.AsyncResult`1<T>)
GetResult()
IsClosed()
Close()
Token()
CancelAsync()
CheckForNotSynchronous()
System.IAsyncResult.get_IsCompleted()
System.IAsyncResult.get_CompletedSynchronously()
System.IAsyncResult.get_AsyncWaitHandle()
System.IAsyncResult.get_AsyncState()
System.IDisposable.Dispose()
beginAction(Microsoft.FSharp.Control.FSharpAsync`1<T>,System.AsyncCallback,a)
Invoke(T)
Invoke(System.Runtime.ExceptionServices.ExceptionDispatchInfo)
Invoke(System.OperationCanceledException)
endAction(System.IAsyncResult)
cancelAction(System.IAsyncResult)