7 references to MaxSubAuthorities
mscorlib (7)
system\security\principal\sid.cs (5)
159
public static readonly int MaxBinaryLength = 1 + 1 + 6 +
MaxSubAuthorities
* 4; // 4 bytes for each subauth
205
if ( subAuthorities.Length >
MaxSubAuthorities
)
210
Environment.GetResourceString( "IdentityReference_InvalidNumberOfSubauthorities",
MaxSubAuthorities
));
335
if ( binaryForm[offset + 1] >
MaxSubAuthorities
)
338
Environment.GetResourceString( "IdentityReference_InvalidNumberOfSubauthorities",
MaxSubAuthorities
),
system\security\principal\win32.cs (2)
180
SubAuthorityCount > SecurityIdentifier.
MaxSubAuthorities
)
182
throw new ArgumentException(Environment.GetResourceString( "IdentityReference_InvalidNumberOfSubauthorities", SecurityIdentifier.
MaxSubAuthorities
), "binaryForm");