5 instantiations of AbsolutePath
Microsoft.Build.Framework (5)
FileUtilities.cs (4)
156return new AbsolutePath(EnsureTrailingSlash(path.Value), 184return new AbsolutePath(EnsureNoTrailingSlash(path.Value), 212return new AbsolutePath(FixFilePath(Path.GetFullPath(path.Value)), 227return new AbsolutePath(FixFilePath(path.Value),
PathHelpers\AbsolutePath.cs (1)
172return new AbsolutePath(Path.GetFullPath(Value), OriginalValue, ignoreRootedCheck: true);
34 references to AbsolutePath
Microsoft.Build.Framework (34)
FileUtilities.cs (8)
142internal static AbsolutePath EnsureTrailingSlash(AbsolutePath path) 170internal static AbsolutePath EnsureNoTrailingSlash(AbsolutePath path) 198internal static AbsolutePath NormalizePath(AbsolutePath path) 220internal static AbsolutePath FixFilePath(AbsolutePath path)
ITaskEnvironmentDriver.cs (2)
21AbsolutePath ProjectDirectory { get; internal set; } 28AbsolutePath GetAbsolutePath(string path);
PathHelpers\AbsolutePath.cs (22)
24public readonly struct AbsolutePath : IEquatable<AbsolutePath> 42/// Initializes a new instance of the <see cref="AbsolutePath"/> struct. 54/// Initializes a new instance of the <see cref="AbsolutePath"/> struct. 65/// Initializes a new instance of the <see cref="AbsolutePath"/> struct. 100/// Initializes a new instance of the <see cref="AbsolutePath"/> struct by combining an absolute path with a relative path. 105public AbsolutePath(string path, AbsolutePath basePath) 120public static implicit operator string(AbsolutePath path) => path.Value; 126/// An <see cref="AbsolutePath"/> representing the canonical form of the path. 142internal AbsolutePath GetCanonicalForm() 176/// Determines whether two <see cref="AbsolutePath"/> instances are equal. 181public static bool operator ==(AbsolutePath left, AbsolutePath right) => left.Equals(right); 184/// Determines whether two <see cref="AbsolutePath"/> instances are not equal. 189public static bool operator !=(AbsolutePath left, AbsolutePath right) => !left.Equals(right); 192/// Determines whether the specified object is equal to the current <see cref="AbsolutePath"/>. 195/// <returns><c>true</c> if the specified object is an <see cref="AbsolutePath"/> and is equal to the current instance; otherwise, <c>false</c>.</returns> 196public override bool Equals(object? obj) => obj is AbsolutePath other && Equals(other); 199/// Determines whether the specified <see cref="AbsolutePath"/> is equal to the current instance. 201/// <param name="other">The <see cref="AbsolutePath"/> to compare with the current instance.</param> 203public bool Equals(AbsolutePath other) => s_pathComparer.Equals(Value, other.Value); 206/// Returns a hash code for this <see cref="AbsolutePath"/>.
TaskEnvironment.cs (2)
28public AbsolutePath ProjectDirectory 40public AbsolutePath GetAbsolutePath(string path) => _driver.GetAbsolutePath(path);