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); 171FullPath = 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)); 86ReadOnlySpan<char> trimmedCurrentPath = Path.TrimEndingDirectorySeparator(FullPath.AsSpan()); 98throw new ArgumentException(SR.Format(SR.Argument_InvalidSubPath, path, FullPath), nameof(path)); 103FileSystem.CreateDirectory(FullPath); 118=> new List<FileInfo>((IEnumerable<FileInfo>)InternalEnumerateInfos(FullPath, searchPattern, SearchTarget.Files, enumerationOptions)).ToArray(); 133=> new List<FileSystemInfo>(InternalEnumerateInfos(FullPath, searchPattern, SearchTarget.Both, enumerationOptions)).ToArray(); 146=> new List<DirectoryInfo>((IEnumerable<DirectoryInfo>)InternalEnumerateInfos(FullPath, searchPattern, SearchTarget.Directories, enumerationOptions)).ToArray(); 158=> (IEnumerable<DirectoryInfo>)InternalEnumerateInfos(FullPath, searchPattern, SearchTarget.Directories, enumerationOptions); 169=> (IEnumerable<FileInfo>)InternalEnumerateInfos(FullPath, searchPattern, SearchTarget.Files, enumerationOptions); 180=> InternalEnumerateInfos(FullPath, searchPattern, SearchTarget.Both, enumerationOptions); 204public DirectoryInfo Root => new DirectoryInfo(Path.GetPathRoot(FullPath)!); 212FileSystem.MoveDirectory(FullPath, destination); 227FileSystem.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); 96FileSystem.CopyFile(FullPath, destinationPath, overwrite); 109FileSystem.DeleteFile(FullPath); 169FileSystem.MoveFile(FullPath, fullDestFileName, overwrite); 187FullPath, 196public void Decrypt() => File.Decrypt(FullPath); 199public void Encrypt() => File.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;