6 references to ByteLength
mscorlib (6)
microsoft\win32\win32native.cs (2)
534
BCLDebug.Assert(buffer == null || (stringBytes >= 0 && (ulong)stringBytes <= buffer.
ByteLength
),
538
this.MaxLength = (ushort) buffer.
ByteLength
;
system\io\unmanagedmemoryaccessor.cs (1)
75
if (buffer.
ByteLength
< (UInt64)(offset + capacity)) {
system\io\unmanagedmemorystream.cs (1)
155
if (buffer.
ByteLength
< (ulong)(offset + length)) {
system\security\principal\windowsidentity.cs (2)
889
Contract.Assert(information.
ByteLength
>= (ulong)Marshal.SizeOf(typeof(T)),
1112
(uint)logonInfoBuffer.
ByteLength
,