3 writes to FullPath
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\IO\DirectoryInfo.cs (1)
38FullPath = fullPath;
src\libraries\System.Private.CoreLib\src\System\IO\FileInfo.cs (2)
28FullPath = isNormalized ? fullPath ?? originalPath : Path.GetFullPath(fullPath); 192FullPath = fullDestFileName;
47 references to FullPath
System.Private.CoreLib (47)
src\libraries\System.Private.CoreLib\src\System\IO\DirectoryInfo.cs (17)
50ReadOnlySpan<char> fullPath = FullPath.AsSpan(); 67string? parentName = Path.GetDirectoryName(PathInternal.IsRoot(FullPath.AsSpan()) ? FullPath : Path.TrimEndingDirectorySeparator(FullPath)); 83string newPath = Path.GetFullPath(Path.Combine(FullPath, path)); 89ReadOnlySpan<char> trimmedCurrentPath = FullPath.TrimEnd(Path.DirectorySeparatorChar); 101throw new ArgumentException(SR.Format(SR.Argument_InvalidSubPath, path, FullPath), nameof(path)); 106FileSystem.CreateDirectory(FullPath); 121=> new List<FileInfo>((IEnumerable<FileInfo>)InternalEnumerateInfos(FullPath, searchPattern, SearchTarget.Files, enumerationOptions)).ToArray(); 136=> new List<FileSystemInfo>(InternalEnumerateInfos(FullPath, searchPattern, SearchTarget.Both, enumerationOptions)).ToArray(); 149=> new List<DirectoryInfo>((IEnumerable<DirectoryInfo>)InternalEnumerateInfos(FullPath, searchPattern, SearchTarget.Directories, enumerationOptions)).ToArray(); 161=> (IEnumerable<DirectoryInfo>)InternalEnumerateInfos(FullPath, searchPattern, SearchTarget.Directories, enumerationOptions); 172=> (IEnumerable<FileInfo>)InternalEnumerateInfos(FullPath, searchPattern, SearchTarget.Files, enumerationOptions); 183=> InternalEnumerateInfos(FullPath, searchPattern, SearchTarget.Both, enumerationOptions); 207public DirectoryInfo Root => new DirectoryInfo(Path.GetPathRoot(FullPath)!); 215FileSystem.MoveDirectory(FullPath, destination); 230FileSystem.RemoveDirectory(FullPath, recursive);
src\libraries\System.Private.CoreLib\src\System\IO\FileInfo.cs (9)
40throw new FileNotFoundException(SR.Format(SR.IO_FileNotFound_FileName, FullPath), FullPath); 46public string? DirectoryName => Path.GetDirectoryName(FullPath); 105FileSystem.CopyFile(FullPath, destinationPath, overwrite); 118FileSystem.DeleteFile(FullPath); 190FileSystem.MoveFile(FullPath, fullDestFileName, overwrite); 208FullPath, 220File.Decrypt(FullPath); 227File.Encrypt(FullPath);
src\libraries\System.Private.CoreLib\src\System\IO\FileSystemInfo.cs (6)
45public virtual string FullName => FullPath; 51int length = FullPath.Length; 54char ch = FullPath[i]; 56return FullPath.Substring(i, length - i); 121_linkTarget = FileSystem.GetLinkTarget(FullPath, this is DirectoryInfo); 180FileSystem.ResolveLinkTarget(FullPath, returnFinalTarget, this is DirectoryInfo);
src\libraries\System.Private.CoreLib\src\System\IO\FileSystemInfo.Unix.cs (15)
35_fileStatus.EnsureCachesInitialized(FullPath); 40get => _fileStatus.GetAttributes(FullPath, Name); 41set => _fileStatus.SetAttributes(FullPath, value, _asDirectory); 44internal bool ExistsCore => _fileStatus.GetExists(FullPath, _asDirectory); 48get => _fileStatus.GetCreationTime(FullPath); 49set => _fileStatus.SetCreationTime(FullPath, value, _asDirectory); 54get => _fileStatus.GetLastAccessTime(FullPath); 55set => _fileStatus.SetLastAccessTime(FullPath, value, _asDirectory); 60get => _fileStatus.GetLastWriteTime(FullPath); 61set => _fileStatus.SetLastWriteTime(FullPath, value, _asDirectory); 64internal long LengthCore => _fileStatus.GetLength(FullPath); 68get => _fileStatus.GetUnixFileMode(FullPath); 69set => _fileStatus.SetUnixFileMode(FullPath, value); 75_fileStatus.RefreshCaches(FullPath); 79internal string NormalizedPath => FullPath;