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