Also optimize a filename check...

... to avoid 3 rounds of recursion per check.
This commit is contained in:
caitsith2 2018-08-25 15:31:26 -07:00
parent ec1d5134ac
commit 5edce67f73

View file

@ -126,7 +126,7 @@ namespace DiscUtils.Fat
public bool Equals(FileName other) public bool Equals(FileName other)
{ {
if (other == null) if (other is null)
{ {
return false; return false;
} }