2 references to ValueTaskFactory
Microsoft.CodeAnalysis (2)
DiagnosticAnalyzer\AsyncQueue.cs (2)
270
return
ValueTaskFactory
.FromResult<Optional<TElement>>(_data.Dequeue());
275
return
ValueTaskFactory
.FromResult(default(Optional<TElement>));