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

◆ Equals()

override bool System.ComponentModel.DataObjectAttribute.Equals ( [NotNullWhen(true)] object? obj)
inline

Definition at line 26 of file DataObjectAttribute.cs.

27 {
28 if (obj == this)
29 {
30 return true;
31 }
32 if (obj is DataObjectAttribute dataObjectAttribute)
33 {
34 return dataObjectAttribute.IsDataObject == IsDataObject;
35 }
36 return false;
37 }

References System.ComponentModel.DataObjectAttribute.IsDataObject, and System.obj.

Referenced by System.ComponentModel.DataObjectAttribute.IsDefaultAttribute().