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

◆ Equals()

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

Definition at line 23 of file DataObjectMethodAttribute.cs.

24 {
25 if (obj == this)
26 {
27 return true;
28 }
29 if (obj is DataObjectMethodAttribute dataObjectMethodAttribute && dataObjectMethodAttribute.MethodType == MethodType)
30 {
31 return dataObjectMethodAttribute.IsDefault == IsDefault;
32 }
33 return false;
34 }

References System.ComponentModel.DataObjectMethodAttribute.IsDefault, System.ComponentModel.DataObjectMethodAttribute.MethodType, and System.obj.