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