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