9 writes to m_type
mscorlib (9)
system\security\permissiontoken.cs (9)
144
m_type
= type;
319
this.
m_type
= (PermissionTokenType) Enum.Parse(typeof(PermissionTokenType), elRoot.Attribute("Type"));
460
((PermissionToken)tok).
m_type
= PermissionTokenType.IUnrestricted;
469
((PermissionToken)tok).
m_type
= PermissionTokenType.IUnrestricted;
471
((PermissionToken)tok).
m_type
= PermissionTokenType.Normal;
541
token.
m_type
= PermissionTokenType.BuiltIn;
545
token.
m_type
|= PermissionTokenType.IUnrestricted;
549
token.
m_type
|= PermissionTokenType.IUnrestricted;
553
token.
m_type
|= PermissionTokenType.DontKnow;
24 references to m_type
mscorlib (24)
system\security\permissionset.cs (15)
432
if ((permToken.
m_type
& PermissionTokenType.IUnrestricted) != 0)
467
if (this.IsUnrestricted() && ((permToken.
m_type
& PermissionTokenType.IUnrestricted) != 0))
874
if ((token.
m_type
& PermissionTokenType.IUnrestricted) != 0)
898
if ((token.
m_type
& PermissionTokenType.IUnrestricted) == 0)
1036
if ((token.
m_type
& PermissionTokenType.IUnrestricted) != 0)
1062
if ((token.
m_type
& PermissionTokenType.IUnrestricted) != 0)
1190
if (((token.
m_type
& PermissionTokenType.IUnrestricted) == 0) || !this.m_Unrestricted)
1308
if (((token.
m_type
& PermissionTokenType.IUnrestricted) == 0) || !pset.m_Unrestricted)
1327
if (((token.
m_type
& PermissionTokenType.IUnrestricted) == 0) || !pset.m_Unrestricted)
1798
Contract.Assert( (token.
m_type
& PermissionTokenType.DontKnow) == 0, "We should always know the permission type when getting a token from an instance" );
1906
Contract.Assert( (token.
m_type
& PermissionTokenType.DontKnow) == 0, "We should always know the permission type when getting a token from an instance" );
2040
Contract.Assert( (token.
m_type
& PermissionTokenType.DontKnow) == 0, "We should know the permission type already" );
2042
if ((token.
m_type
& PermissionTokenType.IUnrestricted) != 0)
2071
Contract.Assert( (token.
m_type
& PermissionTokenType.DontKnow) == 0, "We should know the permission type already" );
2073
if ((token.
m_type
& PermissionTokenType.IUnrestricted) != 0)
system\security\permissiontoken.cs (8)
280
if (token.
m_type
!= heldToken.
m_type
)
293
Contract.Assert( (
m_type
& PermissionTokenType.DontKnow) == 0, "Should have valid token type when ToXml is called" );
295
if ((
m_type
& PermissionTokenType.BuiltIn) != 0)
299
elRoot.AddAttribute("Type",
m_type
.ToString("F"));
320
Contract.Assert((this.
m_type
& PermissionTokenType.DontKnow) == 0, "Should have valid token type when FromXml is called.");
455
if ((((PermissionToken)tok).
m_type
& PermissionTokenType.DontKnow) != 0)
539
if ((token.
m_type
& PermissionTokenType.DontKnow) != 0)
system\security\securityelement.cs (1)
845
Contract.Assert((token.
m_type
& PermissionTokenType.DontKnow) == 0, "Token type not properly assigned");