Modify rule S4035: Fix typo in 'Why is this an issue' section - "IEquitable<T>" -> "IEquatable<T>" (#3535)

Co-authored-by: Scott Moore <scott.moore@viavisolutions.com>
This commit is contained in:
Scomocouk 2024-01-24 11:00:02 +00:00 committed by GitHub
parent d1fe2c3ef5
commit df457e22f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,7 @@ When a class implements the `IEquatable<T>` interface, it enters a contract that
Alternatively `IEqualityComparer<T>` provides a safer interface and is used by collections or `Equals` could be made `virtual`.
This rule raises an issue when an unsealed, `public` or `protected` class implements `IEquitable<T>` and the `Equals` is neither `virtual` nor `abstract`.
This rule raises an issue when an unsealed, `public` or `protected` class implements `IEquatable<T>` and the `Equals` is neither `virtual` nor `abstract`.
=== Noncompliant code example