You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Close class does not override the GetHashCode() method, which may lead to unexpected behavior when using LINQ operations (e.g., Distinct(), GroupBy()) on PdfSubpath objects. For example, when comparing differences between two PDF versions, objects that should be considered equal might not be correctly identified due to inconsistent hash codes. here.
Suggested Fix:
public override int GetHashCode()
{
return typeof(Close).GetHashCode();
}
Is this an intentional design choice or a potential bug?