5 references to Single
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (4)
CustomPocoTest.cs (4)
43Assert.Equal(user, db.Users.Single(u => u.UserName == newName)); 65Assert.Equal(user, db.Users.Single(u => u.UserName == newName)); 128Assert.Equal(user, db.Users.Single(u => u.UserName == newName)); 150Assert.Equal(user, db.Set<User<int>>().Single(u => u.UserName == newName));
System.Linq.Queryable (1)
System\Linq\Queryable.cs (1)
1302new Func<IQueryable<TSource>, Expression<Func<TSource, bool>>, TSource>(Single).Method,