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