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

◆ Equals()

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

Definition at line 31 of file ProvidePropertyAttribute.cs.

32 {
33 if (obj == this)
34 {
35 return true;
36 }
37 if (obj is ProvidePropertyAttribute providePropertyAttribute && providePropertyAttribute.PropertyName == PropertyName)
38 {
39 return providePropertyAttribute.ReceiverTypeName == ReceiverTypeName;
40 }
41 return false;
42 }
ProvidePropertyAttribute(string propertyName, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)] Type receiverType)

References System.obj, System.ComponentModel.ProvidePropertyAttribute.PropertyName, and System.ComponentModel.ProvidePropertyAttribute.ReceiverTypeName.