2 writes to m_index
mscorlib (2)
system\security\permissiontoken.cs (2)
143
m_index
= index;
318
this.
m_index
= realToken.m_index;
36 references to m_index
mscorlib (36)
system\security\codeaccesssecurityengine.cs (2)
324
grantedSet.CheckDecoded(permToken.
m_index
);
326
refusedSet.CheckDecoded(permToken.
m_index
);
system\security\permissionset.cs (22)
382
Contract.Assert( PermissionToken.GetToken( perm ).
m_index
== index,
392
return GetPermission( permToken.
m_index
);
440
IPermission currPerm = GetPermission( permToken.
m_index
);
445
m_permSet.SetItem( permToken.
m_index
, perm );
476
IPermission currPerm = GetPermission(permToken.
m_index
);
483
m_permSet.SetItem( permToken.
m_index
, ip_union );
487
m_permSet.SetItem( permToken.
m_index
, perm );
520
return RemovePermission(permToken.
m_index
);
709
CheckDecoded( tokenDemandedPerm.
m_index
);
1408
Object thisObj = this.m_permSet.GetItem( token.
m_index
);
1412
IPermission thisPerm = GetPermission(token.
m_index
);
1828
if (this.m_permSet.GetItem( token.
m_index
) != null)
1835
if (this.m_permSet.GetItem( token.
m_index
) is IPermission)
1836
permInSlot = (IPermission)this.m_permSet.GetItem( token.
m_index
);
1838
permInSlot = CreatePerm( (SecurityElement)this.m_permSet.GetItem( token.
m_index
) );
1849
this.m_permSet.SetItem( token.
m_index
, objectToInsert );
1937
if (this.m_permSet.GetItem( token.
m_index
) != null)
1942
if (this.m_permSet.GetItem( token.
m_index
) is IPermission)
1943
permInSlot = (IPermission)this.m_permSet.GetItem( token.
m_index
);
1945
permInSlot = CreatePerm( this.m_permSet.GetItem( token.
m_index
) );
1959
this.m_permSet.SetItem( token.
m_index
, objectToInsert );
2122
if (permToken != null && permToken.
m_index
!= index)
system\security\permissiontoken.cs (8)
277
if (heldToken.
m_index
!= token.
m_index
)
284
heldToken.
m_index
>= BuiltInPermissionIndex.NUM_BUILTIN_NORMAL + BuiltInPermissionIndex.NUM_BUILTIN_UNRESTRICTED)
296
elRoot.AddAttribute( "Index", "" + this.
m_index
);
318
this.m_index = realToken.
m_index
;
438
PermissionToken.s_tokenSet.SetItem( ((PermissionToken)tok).
m_index
, tok );
501
PermissionToken.s_tokenSet.SetItem(((PermissionToken)tok).
m_index
, tok);
534
PermissionToken.s_tokenSet.SetItem( token.
m_index
, token );
system\security\util\tokenbasedset.cs (4)
407
unionSet.SetItem(token.
m_index
, otherPerm);
423
unionSet.SetItem( token.
m_index
, thisPerm);
457
unrestrictedPermSet.SetItem(token.
m_index
, perm);
464
normalPermSet.SetItem(token.
m_index
, perm);