8 references to FirstOrDefault
Identity.DefaultUI.WebSite (2)
src\Identity\test\InMemory.Test\InMemoryUserStore.cs (2)
111Users.FirstOrDefault(u => u.NormalizedEmail == email)); 250Users.FirstOrDefault(u => u.NormalizedUserName == userName));
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (3)
SqlStoreOnlyUsersTestBase.cs (1)
128Assert.NotNull(db.Users.FirstOrDefault(u => u.UserName == user.UserName));
SqlStoreTestBase.cs (1)
227Assert.NotNull(db.Users.FirstOrDefault(u => u.UserName == user.UserName));
UserStoreTest.cs (1)
37Assert.NotNull(db.Users.FirstOrDefault(u => u.UserName == guid));
Microsoft.AspNetCore.Identity.InMemory.Test (2)
InMemoryUserStore.cs (2)
111Users.FirstOrDefault(u => u.NormalizedEmail == email)); 250Users.FirstOrDefault(u => u.NormalizedUserName == userName));
System.Linq.Queryable (1)
System\Linq\Queryable.cs (1)
1168new Func<IQueryable<TSource>, Expression<Func<TSource, bool>>, TSource?>(FirstOrDefault).Method,