Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.11.1
Description
Example:
Change this:
public override bool Equals(object other) { if (this == other) return true; return this.GetType().Name == other.GetType().Name; }
to this:
public override bool Equals(object other) { return this == other ? true : GetType().Name == other.GetType().Name; }
Attachments
Issue Links
- links to