3 references to FirstOrDefault
Microsoft.CodeAnalysis (3)
InternalUtilities\EnumerableExtensions.cs (2)
230
return source.Cast<T?>().
FirstOrDefault
(static (v, predicate) => predicate(v!.Value), predicate);
246
return source.Cast<T?>().
FirstOrDefault
(static (v, arg) => arg.predicate(v!.Value, arg.arg), (predicate, arg));
InternalUtilities\OneOrMany.cs (1)
159
return _many.
FirstOrDefault
(predicate, arg);