Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(CS-R1053) Classes implementing IEquatable<T> can be sealed #11

Open
ademclk opened this issue Jan 29, 2023 · 0 comments
Open

(CS-R1053) Classes implementing IEquatable<T> can be sealed #11

ademclk opened this issue Jan 29, 2023 · 0 comments

Comments

@ademclk
Copy link
Owner

ademclk commented Jan 29, 2023

Description

The sealed keyword prevents other classes from inheriting a specific class. Because classes that implement IEquatable&lt;T&gt; also define methods such as Equals() that contain logic to determine whether the current object is equal to another object, it is ideal that other classes not inherit this logic. Therefore, consider marking such …

Occurrences

There are 2 occurrences of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/ademclk/ceyehat-api/issue/CS-R1053/occurrences/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant