1 type derived from AsyncLazy
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (1)
42private sealed class AsyncLazyImpl<TData> : AsyncLazy<T>
14 references to AsyncLazy
Microsoft.CodeAnalysis.CodeStyle (14)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy.cs (9)
13public static AsyncLazy<T> Create<T, TArg>(Func<TArg, CancellationToken, Task<T>> asynchronousComputeFunction, Func<TArg, CancellationToken, T>? synchronousComputeFunction, TArg arg) 14=> AsyncLazy<T>.Create(asynchronousComputeFunction, synchronousComputeFunction, arg); 16public static AsyncLazy<T> Create<T, TArg>(Func<TArg, CancellationToken, Task<T>> asynchronousComputeFunction, TArg arg) 22public static AsyncLazy<T> Create<T, TArg>(Func<TArg, CancellationToken, T> synchronousComputeFunction, TArg arg) 28public static AsyncLazy<T> Create<T>(Func<CancellationToken, Task<T>> asynchronousComputeFunction) 33public static AsyncLazy<T> Create<T>(Func<CancellationToken, T> synchronousComputeFunction) 38public static AsyncLazy<T> Create<T>(Func<CancellationToken, Task<T>> asynchronousComputeFunction, Func<CancellationToken, T> synchronousComputeFunction) 44public static AsyncLazy<T> Create<T>(T value) 45=> AsyncLazy<T>.Create<T>(value);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (5)
20public static AsyncLazy<T> Create<TData>( 28public static AsyncLazy<T> Create<TData>(T value) 38/// Creators of an <see cref="AsyncLazy{T}" /> can specify whether the result of the computation is 121public static AsyncLazy<T> CreateImpl(T value) 124public static AsyncLazy<T> CreateImpl(