7 writes to m_array
mscorlib (7)
system\security\permissions\principalpermission.cs (7)
130
m_array
= new IDRole[1];
138
m_array
= new IDRole[1];
150
m_array
= new IDRole[1];
159
m_array
= new IDRole[1];
168
m_array
= array;
548
m_array
= new IDRole[numChildren];
562
m_array
= new IDRole[0];
86 references to m_array
mscorlib (86)
system\security\permissions\principalpermission.cs (86)
131
m_array
[0] = new IDRole();
132
m_array
[0].m_authenticated = true;
133
m_array
[0].m_id = null;
134
m_array
[0].m_role = null;
139
m_array
[0] = new IDRole();
140
m_array
[0].m_authenticated = false;
141
m_array
[0].m_id = "";
142
m_array
[0].m_role = "";
151
m_array
[0] = new IDRole();
152
m_array
[0].m_authenticated = true;
153
m_array
[0].m_id = name;
154
m_array
[0].m_role = role;
160
m_array
[0] = new IDRole();
161
m_array
[0].m_authenticated = isAuthenticated;
162
m_array
[0].m_id = name;
163
m_array
[0].m_role = role;
173
for (int i = 0; i <
m_array
.Length; ++i)
175
if ((
m_array
[i].m_id == null || !
m_array
[i].m_id.Equals( "" )) ||
176
(
m_array
[i].m_role == null || !
m_array
[i].m_role.Equals( "" )) ||
177
m_array
[i].m_authenticated)
198
for (int i = 0; i <
m_array
.Length; ++i)
200
if (
m_array
[i].m_id != null ||
m_array
[i].m_role != null || !
m_array
[i].m_authenticated)
232
for (int i = 0; i < this.
m_array
.Length; ++i)
236
for (int j = 0; j < operand.
m_array
.Length; ++j)
238
if (operand.
m_array
[j].m_authenticated == this.
m_array
[i].m_authenticated &&
239
(operand.
m_array
[j].m_id == null ||
240
(this.
m_array
[i].m_id != null && this.
m_array
[i].m_id.Equals( operand.
m_array
[j].m_id ))) &&
241
(operand.
m_array
[j].m_role == null ||
242
(this.
m_array
[i].m_role != null && this.
m_array
[i].m_role.Equals( operand.
m_array
[j].m_role ))))
294
for (int i = 0; i < this.
m_array
.Length; ++i)
296
for (int j = 0; j < operand.
m_array
.Length; ++j)
298
if (operand.
m_array
[j].m_authenticated == this.
m_array
[i].m_authenticated)
300
if (operand.
m_array
[j].m_id == null ||
301
this.
m_array
[i].m_id == null ||
302
this.
m_array
[i].m_id.Equals( operand.
m_array
[j].m_id ))
311
idrole.m_id = operand.
m_array
[j].m_id == null ? this.
m_array
[i].m_id : operand.
m_array
[j].m_id;
313
if (operand.
m_array
[j].m_role == null ||
314
this.
m_array
[i].m_role == null ||
315
this.
m_array
[i].m_role.Equals( operand.
m_array
[j].m_role))
317
idrole.m_role = operand.
m_array
[j].m_role == null ? this.
m_array
[i].m_role : operand.
m_array
[j].m_role;
324
idrole.m_authenticated = operand.
m_array
[j].m_authenticated;
328
else if (operand.
m_array
[j].m_role == null ||
329
this.
m_array
[i].m_role == null ||
330
this.
m_array
[i].m_role.Equals( operand.
m_array
[j].m_role))
340
idrole.m_role = operand.
m_array
[j].m_role == null ? this.
m_array
[i].m_role : operand.
m_array
[j].m_role;
341
idrole.m_authenticated = operand.
m_array
[j].m_authenticated;
392
int combinedLength = this.
m_array
.Length + operand.
m_array
.Length;
396
for (i = 0; i < this.
m_array
.Length; ++i)
398
idrolesArray[i] = this.
m_array
[i];
401
for (j = 0; j < operand.
m_array
.Length; ++j)
403
idrolesArray[i+j] = operand.
m_array
[j];
428
for(i = 0; i <
m_array
.Length; i++)
429
hash +=
m_array
[i].GetHashCode();
435
return new PrincipalPermission(
m_array
);
472
if (
m_array
== null)
477
int count = this.
m_array
.Length;
483
if (
m_array
[i].m_authenticated)
488
(
m_array
[i].m_id == null || String.Compare( identity.Name,
m_array
[i].m_id, StringComparison.OrdinalIgnoreCase) == 0)))
490
if (
m_array
[i].m_role == null) {
496
if (wp != null &&
m_array
[i].Sid != null)
497
foundMatch = wp.IsInRole(
m_array
[i].Sid);
500
foundMatch = principal.IsInRole(
m_array
[i].m_role);
530
int count =
m_array
.Length;
533
root.AddChild(
m_array
[i].ToXml() );
558
m_array
[count++] = idrole;