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