Skip to content

Commit b4ddb0c

Browse files
fix: wrong cast in UnavailableType.Equals
1 parent 7dfa817 commit b4ddb0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ArchUnitNET/Domain/UnavailableType.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public override bool Equals(object obj)
5959
return true;
6060
}
6161

62-
return obj.GetType() == GetType() && Equals((Struct)obj);
62+
return obj.GetType() == GetType() && Equals((UnavailableType)obj);
6363
}
6464

6565
public override int GetHashCode()

0 commit comments

Comments
 (0)