4 overrides of BinaryLength
System.Security.AccessControl (4)
System\Security\AccessControl\ACE.cs (4)
592
public /* sealed */ override int
BinaryLength
744
public override int
BinaryLength
1163
public /* sealed */ override int
BinaryLength
1609
public /* sealed */ override int
BinaryLength
16 references to BinaryLength
System.Security.AccessControl (16)
System\Security\AccessControl\ACE.cs (9)
77
int Length =
BinaryLength
; // Invokes the most derived property
80
if (binaryForm.Length - offset <
BinaryLength
)
283
if (((!(result is ObjectAce)) && ((binaryForm[offset + 2] << 0) + (binaryForm[offset + 3] << 8) != result.
BinaryLength
))
286
|| ((result is ObjectAce) && ((binaryForm[offset + 2] << 0) + (binaryForm[offset + 3] << 8) != result.
BinaryLength
) && (((binaryForm[offset + 2] << 0) + (binaryForm[offset + 3] << 8) - 32) != result.
BinaryLength
)))
409
byte[] binaryForm = new byte[
BinaryLength
];
431
int thisLength =
BinaryLength
;
433
if (thisLength != ace.
BinaryLength
)
449
int binaryLength =
BinaryLength
;
System\Security\AccessControl\ACL.cs (7)
228
int aceLength = ace.
BinaryLength
;
318
binaryLength += ace.
BinaryLength
;
338
int aceLength = ace.
BinaryLength
;
370
if (value.
BinaryLength
% 4 != 0)
382
int newBinaryLength = BinaryLength - (index < _aces.Count ? _aces[index].
BinaryLength
: 0) + value.
BinaryLength
;
398
if (BinaryLength + ace.
BinaryLength
> MaxBinaryLength)