CS0108 'Use Repository.SingleOrDefault(Expression<Func<IdentityUser, bool>>)' hides inherited member 'IRepository<IdentityUser>.SingleOrDefault(Expression<Func<IdentityUser, bool>>)'. Use the new keyword if hiding was intended. code example
Example: c# warning CS0108
//warning CS0108
class Bicycle : Vehicle //Subclass
{
public override void SpeedUp() //Add 'override'
{
Speed += 5;
}
}
//error CS0506
class Vehicle //Superclass
{
public virtual void SpeedUp() //Add 'virtual'
{
Speed += 5;
}
}