Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Equals()

override bool System.ComponentModel.EditorAttribute.Equals ( object? obj)
inline

Definition at line 74 of file EditorAttribute.cs.

75 {
76 if (obj == this)
77 {
78 return true;
79 }
80 if (obj is EditorAttribute editorAttribute && editorAttribute.EditorTypeName == EditorTypeName)
81 {
82 return editorAttribute.EditorBaseTypeName == EditorBaseTypeName;
83 }
84 return false;
85 }

References System.ComponentModel.EditorAttribute.EditorBaseTypeName, System.ComponentModel.EditorAttribute.EditorTypeName, and System.obj.