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);
286
element.
_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)
78
if (
_attributes
== null ||
_attributes
.Count == 0)
84
Hashtable hashtable = new Hashtable(
_attributes
.Count / 2);
86
int iMax =
_attributes
.Count;
91
hashtable.Add(
_attributes
[i]!,
_attributes
[i + 1]);
169
if (
_attributes
== null)
175
int iMax =
_attributes
.Count;
180
string? strAttrName = (string?)
_attributes
[i];
187
_attributes
.Add(name);
188
_attributes
.Add(value);
229
if (
_attributes
== null || other.
_attributes
== null)
231
if (
_attributes
!= other.
_attributes
)
236
int iMax =
_attributes
.Count;
240
if (iMax != other.
_attributes
.Count)
245
string? lhs = (string?)
_attributes
[i];
246
string? rhs = (string?)other.
_attributes
[i];
286
element._attributes =
_attributes
== null ? null : new ArrayList(
_attributes
);
412
if (
_attributes
!= null &&
_attributes
.Count > 0)
416
int iMax =
_attributes
.Count;
421
string? strAttrName = (string?)
_attributes
[i];
422
string? strAttrValue = (string?)
_attributes
[i + 1];
429
if (i !=
_attributes
.Count - 2)
475
if (
_attributes
== null)
480
int iMax =
_attributes
.Count;
485
string? strAttrName = (string?)
_attributes
[i];
489
string? strAttrValue = (string?)
_attributes
[i + 1];