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

◆ Equals()

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

Definition at line 43 of file BindableAttribute.cs.

44 {
45 if (obj == this)
46 {
47 return true;
48 }
49 if (obj is BindableAttribute bindableAttribute)
50 {
51 return bindableAttribute.Bindable == Bindable;
52 }
53 return false;
54 }

References System.ComponentModel.BindableAttribute.Bindable, and System.obj.

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