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

◆ Equals()

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

Definition at line 72 of file AmbientValueAttribute.cs.

73 {
74 if (obj == this)
75 {
76 return true;
77 }
78 if (obj is AmbientValueAttribute ambientValueAttribute)
79 {
80 if (Value == null)
81 {
82 return ambientValueAttribute.Value == null;
83 }
84 return Value.Equals(ambientValueAttribute.Value);
85 }
86 return false;
87 }
AmbientValueAttribute([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type type, string value)

References System.obj, and System.ComponentModel.AmbientValueAttribute.Value.