4 overrides of BinaryLength
System.Security.AccessControl (4)
System\Security\AccessControl\ACE.cs (4)
770
public /* sealed */ override int
BinaryLength
982
public override int
BinaryLength
1514
public /* sealed */ override int
BinaryLength
2032
public /* sealed */ override int
BinaryLength
16 references to BinaryLength
System.Security.AccessControl (16)
System\Security\AccessControl\ACE.cs (9)
115
int Length =
BinaryLength
; // Invokes the most derived property
118
if (binaryForm.Length - offset <
BinaryLength
)
365
if (((!(result is ObjectAce)) && ((binaryForm[offset + 2] << 0) + (binaryForm[offset + 3] << 8) != result.
BinaryLength
))
370
|| ((result is ObjectAce) && ((binaryForm[offset + 2] << 0) + (binaryForm[offset + 3] << 8) != result.
BinaryLength
) && (((binaryForm[offset + 2] << 0) + (binaryForm[offset + 3] << 8) - 32) != result.
BinaryLength
)))
519
byte[] binaryForm = new byte[
BinaryLength
];
541
int thisLength = this.
BinaryLength
;
543
if (thisLength != ace.
BinaryLength
)
559
int binaryLength =
BinaryLength
;
System\Security\AccessControl\ACL.cs (7)
320
int aceLength = ace.
BinaryLength
;
444
binaryLength += ace.
BinaryLength
;
474
int aceLength = ace.
BinaryLength
;
512
if (value.
BinaryLength
% 4 != 0)
527
int newBinaryLength = BinaryLength - (index < _aces.Count ? _aces[index].
BinaryLength
: 0) + value.
BinaryLength
;
546
if (BinaryLength + ace.
BinaryLength
> MaxBinaryLength)