4 writes to _attributes
System.Private.CoreLib (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Security\SecurityElement.cs (4)
102_attributes = null; 124_attributes = list; 171_attributes = new ArrayList(AttributesTypical); 286element._attributes = _attributes == null ? null : new ArrayList(_attributes);
31 references to _attributes
System.Private.CoreLib (31)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Security\SecurityElement.cs (31)
78if (_attributes == null || _attributes.Count == 0) 84Hashtable hashtable = new Hashtable(_attributes.Count / 2); 86int iMax = _attributes.Count; 91hashtable.Add(_attributes[i]!, _attributes[i + 1]); 169if (_attributes == null) 175int iMax = _attributes.Count; 180string? strAttrName = (string?)_attributes[i]; 187_attributes.Add(name); 188_attributes.Add(value); 229if (_attributes == null || other._attributes == null) 231if (_attributes != other._attributes) 236int iMax = _attributes.Count; 240if (iMax != other._attributes.Count) 245string? lhs = (string?)_attributes[i]; 246string? rhs = (string?)other._attributes[i]; 286element._attributes = _attributes == null ? null : new ArrayList(_attributes); 412if (_attributes != null && _attributes.Count > 0) 416int iMax = _attributes.Count; 421string? strAttrName = (string?)_attributes[i]; 422string? strAttrValue = (string?)_attributes[i + 1]; 429if (i != _attributes.Count - 2) 475if (_attributes == null) 480int iMax = _attributes.Count; 485string? strAttrName = (string?)_attributes[i]; 489string? strAttrValue = (string?)_attributes[i + 1];