2 writes to Role
System.Security.Permissions (2)
System\Security\Permissions\IDRole.cs (2)
16
Role
= role;
24
Role
= e.Attribute("Role");
19 references to Role
System.Security.Permissions (19)
System\Security\Permissions\IDRole.cs (4)
39
if (
Role
!= null)
41
root.AddAttribute("Role", SecurityElement.Escape(
Role
));
53
(
Role
== null ? 0 :
Role
.GetHashCode()));
System\Security\Permissions\PrincipalPermission.cs (15)
53
if (idRole.ID == null || idRole.ID.Length != 0 || idRole.
Role
== null || idRole.
Role
.Length != 0 || idRole.Authenticated)
69
if (idRole.ID != null || idRole.
Role
!= null || !idRole.Authenticated)
104
(operandIdRole.
Role
== null || (idRole.
Role
!= null && idRole.
Role
.Equals(operandIdRole.
Role
))))
157
if (operandIdRole.
Role
== null || idRole.
Role
== null || idRole.
Role
.Equals(operandIdRole.
Role
))
159
newRole = operandIdRole.
Role
?? idRole.
Role
;
243
if (idRole.
Role
== null || principal.IsInRole(idRole.
Role
))