2 writes to m_roles
mscorlib (2)
system\security\principal\genericprincipal.cs (2)
42
m_roles
= new string[roles.Length];
48
m_roles
= null;
10 references to m_roles
mscorlib (10)
system\security\principal\genericprincipal.cs (10)
44
m_roles
[i] = roles[i];
52
AddIdentityWithRoles(m_identity,
m_roles
);
78
if (
m_roles
!= null &&
m_roles
.Length > 0 && firstNonNullIdentity != null)
80
firstNonNullIdentity.ExternalClaims.Add(new RoleClaimProvider(ClaimsIdentity.DefaultIssuer,
m_roles
, firstNonNullIdentity).Claims);
84
AddIdentityWithRoles(m_identity,
m_roles
);
131
if (role == null ||
m_roles
== null)
134
for (int i = 0; i <
m_roles
.Length; ++i) {
135
if (
m_roles
[i] != null && String.Compare(
m_roles
[i], role, StringComparison.OrdinalIgnoreCase) == 0)