4 references to NameLength
System.Private.CoreLib (4)
src\libraries\Common\src\Interop\Unix\System.Native\Interop.ReadDir.cs (3)
42
ReadOnlySpan<byte> nameBytes = (
NameLength
== -1)
45
: new ReadOnlySpan<byte>(Name,
NameLength
);
51
Debug.Assert(
NameLength
!= -1 || !value.Contains('\0'), "should not have embedded nulls if we parsed the end of string");
src\libraries\System.Private.CoreLib\src\System\IO\Enumeration\FileSystemEntry.Unix.cs (1)
96
if (_directoryEntry.
NameLength
!= 0 && _fileName.Length == 0)