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

◆ Contains() [1/2]

bool System.ComponentModel.AttributeCollection.Contains ( Attribute? attribute)
inline

Definition at line 168 of file AttributeCollection.cs.

169 {
170 if (attribute == null)
171 {
172 return false;
173 }
174 return this[attribute.GetType()]?.Equals(attribute) ?? false;
175 }

Referenced by System.ComponentModel.ReflectPropertyDescriptor.AttributesContainsDesignerVisibilityContent(), and System.ComponentModel.AttributeCollection.Contains().