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