4 references to NameLength
System.Private.CoreLib (4)
src\libraries\Common\src\Interop\Unix\System.Native\Interop.ReadDir.cs (3)
42ReadOnlySpan<byte> nameBytes = (NameLength == -1) 45: new ReadOnlySpan<byte>(Name, NameLength); 51Debug.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)
96if (_directoryEntry.NameLength != 0 && _fileName.Length == 0)