Update src/Services/Ordering/Ordering.Domain/SeedWork/Enumeration.cs
Co-authored-by: David Pine <david.pine@microsoft.com>
This commit is contained in:
parent
a8eb518ccf
commit
e817b95c0f
@ -24,7 +24,7 @@ namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.SeedWork
|
||||
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
if (!(obj is Enumeration otherValue))
|
||||
if (obj is not Enumeration otherValue)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user