4 implementations of IFileSystem
Microsoft.Build (2)
FileSystem\DirectoryCacheFileSystemWrapper.cs (1)
17
internal class DirectoryCacheFileSystemWrapper :
IFileSystem
FileSystem\MSBuildFileSystemBase.cs (1)
18
public abstract class MSBuildFileSystemBase :
IFileSystem
Microsoft.Build.Framework (2)
FileSystem\CachingFileSystemWrapper.cs (1)
12
internal sealed class CachingFileSystemWrapper :
IFileSystem
, IDirectFileSystemEnumeration
FileSystem\ManagedFileSystem.cs (1)
17
internal class ManagedFileSystem :
IFileSystem
, IDirectFileSystemEnumeration
58 references to IFileSystem
Microsoft.Build (40)
Evaluation\ConditionEvaluator.cs (5)
187
IFileSystem
fileSystem,
221
IFileSystem
fileSystem,
385
IFileSystem
FileSystem { get; }
411
public
IFileSystem
FileSystem { get; }
433
IFileSystem
fileSystem,
Evaluation\Context\EvaluationContext.cs (4)
55
internal
IFileSystem
FileSystem { get; }
63
private EvaluationContext(SharingPolicy policy,
IFileSystem
fileSystem, ISdkResolverService sdkResolverService = null,
138
/// Creates a copy of this <see cref="EvaluationContext"/> with a given <see cref="
IFileSystem
"/> swapped in.
142
internal EvaluationContext ContextWithFileSystem(
IFileSystem
fileSystem)
Evaluation\Evaluator.cs (1)
267
IFileSystem
fileSystem = new DirectoryCacheFileSystemWrapper(evaluationContext.FileSystem, directoryCache);
Evaluation\Expander.cs (7)
75
private readonly
IFileSystem
_fileSystem;
95
internal Expander(IPropertyProvider<P> properties,
IFileSystem
fileSystem, LoggingContext loggingContext)
108
internal Expander(IPropertyProvider<P> properties,
IFileSystem
fileSystem)
128
internal Expander(IPropertyProvider<P> properties, IItemProvider<I> items,
IFileSystem
fileSystem, LoggingContext loggingContext)
149
internal Expander(IPropertyProvider<P> properties, IItemProvider<I> items, IMetadataTable metadata,
IFileSystem
fileSystem, LoggingContext loggingContext)
164
internal Expander(IPropertyProvider<P> properties, IItemProvider<I> items, IMetadataTable metadata,
IFileSystem
fileSystem)
174
IFileSystem
fileSystem,
Evaluation\Expander.Function.cs (3)
118
private readonly
IFileSystem
_fileSystem;
138
IFileSystem
fileSystem,
213
IFileSystem
fileSystem,
Evaluation\Expander.FunctionBuilder.cs (1)
89
public
IFileSystem
FileSystem { get; set; }
Evaluation\Expander.PropertyExpander.cs (6)
49
private readonly
IFileSystem
_fileSystem;
57
IFileSystem
fileSystem)
89
IFileSystem
fileSystem)
144
IFileSystem
fileSystem)
172
IFileSystem
fileSystem)
432
IFileSystem
fileSystem)
Evaluation\Expander\WellKnownFunctions.cs (2)
361
internal static bool TryExecuteIntrinsicFunction(string methodName, out object? returnVal,
IFileSystem
fileSystem, object[] args)
785
internal static bool TryExecuteWellKnownFunction(string methodName, Type receiverType,
IFileSystem
fileSystem, out object? returnVal, object objectInstance, object[] args)
Evaluation\IntrinsicFunctions.cs (2)
358
public static string GetDirectoryNameOfFileAbove(string startingDirectory, string fileName,
IFileSystem
fileSystem)
371
public static string GetPathOfFileAbove(string file, string startingDirectory,
IFileSystem
fileSystem)
Evaluation\LazyItemEvaluator.cs (1)
48
protected
IFileSystem
FileSystem => EvaluationContext.FileSystem;
FileSystem\DirectoryCacheFileSystemWrapper.cs (3)
20
/// The base <see cref="
IFileSystem
"/> to fall back to for functionality not provided by <see cref="_directoryCache"/>.
22
private readonly
IFileSystem
_fileSystem;
29
public DirectoryCacheFileSystemWrapper(
IFileSystem
fileSystem, IDirectoryCache directoryCache)
Instance\TaskRegistry.cs (2)
191
IFileSystem
fileSystem)
224
IFileSystem
fileSystem)
Instance\TaskRegistry.UsingTaskInfo.cs (3)
169
IFileSystem
fileSystem,
303
IFileSystem
fileSystem,
607
static bool IsMissingSimpleTasksAssembly(string assemblyName,
IFileSystem
fileSystem)
Microsoft.Build.Framework (18)
FileSystem\CachingFileSystemWrapper.cs (2)
14
private readonly
IFileSystem
_fileSystem;
20
public CachingFileSystemWrapper(
IFileSystem
fileSystem)
FileSystem\FileSystems.cs (3)
11
/// Factory for <see cref="
IFileSystem
"/>
15
public static
IFileSystem
Default = GetFileSystem();
17
private static
IFileSystem
GetFileSystem()
FileUtilities.cs (6)
143
private static readonly
IFileSystem
DefaultFileSystem = FileSystems.Default;
1236
internal static bool DirectoryExistsNoThrow(string fullPath,
IFileSystem
? fileSystem = null)
1260
internal static bool FileExistsNoThrow(string fullPath,
IFileSystem
? fileSystem = null)
1284
internal static bool FileOrDirectoryExistsNoThrow(string fullPath,
IFileSystem
? fileSystem = null)
1676
internal static string GetDirectoryNameOfFileAbove(string startingDirectory, string fileName,
IFileSystem
? fileSystem = null)
1717
internal static string GetPathOfFileAbove(string file, string startingDirectory,
IFileSystem
? fileSystem = null)
Utilities\FileMatcher.cs (7)
121
private readonly
IFileSystem
_fileSystem;
190
IFileSystem
fileSystem,
210
IFileSystem
fileSystem,
348
private static IReadOnlyList<string> GetAccessibleFileSystemEntries(
IFileSystem
fileSystem, FileSystemEntity entityType, string path, string pattern, string projectDirectory, bool stripProjectDirectory)
369
private static IReadOnlyList<string> GetAccessibleFilesAndDirectories(
IFileSystem
fileSystem, string path, string pattern)
435
IFileSystem
fileSystem,
501
IFileSystem
fileSystem,