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