51 references to FileExists
Microsoft.Build.Tasks.Core (47)
AssemblyDependency\AssemblyFoldersExResolver.cs (3)
102
public AssemblyFoldersExResolver(string searchPathElement, GetAssemblyName getAssemblyName,
FileExists
fileExists, GetRegistrySubKeyNames getRegistrySubKeyNames, GetRegistrySubKeyDefaultValue getRegistrySubKeyDefaultValue, GetAssemblyRuntimeVersion getRuntimeVersion, OpenBaseKey openBaseKey, Version targetedRuntimeVesion, ProcessorArchitecture targetProcessorArchitecture, bool compareProcessorArchitecture, IBuildEngine buildEngine)
273
private readonly
FileExists
_fileExists;
283
internal AssemblyFoldersExCache(AssemblyFoldersEx assemblyFoldersEx,
FileExists
fileExists)
AssemblyDependency\AssemblyFoldersFromConfig\AssemblyFoldersFromConfigCache.cs (2)
27
private readonly
FileExists
_fileExists;
37
internal AssemblyFoldersFromConfigCache(AssemblyFoldersFromConfig assemblyFoldersFromConfig,
FileExists
fileExists)
AssemblyDependency\AssemblyFoldersFromConfig\AssemblyFoldersFromConfigResolver.cs (1)
76
FileExists
fileExists, GetAssemblyRuntimeVersion getRuntimeVersion, Version targetedRuntimeVesion,
AssemblyDependency\AssemblyFoldersResolver.cs (1)
25
public AssemblyFoldersResolver(string searchPathElement, GetAssemblyName getAssemblyName,
FileExists
fileExists, GetAssemblyRuntimeVersion getRuntimeVersion, Version targetedRuntimeVesion)
AssemblyDependency\AssemblyInformation.cs (1)
239
FileExists
fileExists,
AssemblyDependency\AssemblyResolution.cs (2)
148
FileExists
fileExists,
219
FileExists
fileExists,
AssemblyDependency\CandidateAssemblyFilesResolver.cs (1)
33
public CandidateAssemblyFilesResolver(string[] candidateAssemblyFiles, string searchPathElement, GetAssemblyName getAssemblyName,
FileExists
fileExists, GetAssemblyRuntimeVersion getRuntimeVersion, Version targetedRuntimeVesion)
AssemblyDependency\DirectoryResolver.cs (1)
25
public DirectoryResolver(string searchPathElement, GetAssemblyName getAssemblyName,
FileExists
fileExists, GetAssemblyRuntimeVersion getRuntimeVersion, Version targetedRuntimeVesion, string parentAssembly)
AssemblyDependency\FrameworkPathResolver.cs (1)
26
public FrameworkPathResolver(string[] frameworkPaths, InstalledAssemblies installedAssemblies, string searchPathElement, GetAssemblyName getAssemblyName,
FileExists
fileExists, GetAssemblyRuntimeVersion getRuntimeVersion, Version targetedRuntimeVesion)
AssemblyDependency\GacResolver.cs (1)
32
public GacResolver(System.Reflection.ProcessorArchitecture targetProcessorArchitecture, string searchPathElement, GetAssemblyName getAssemblyName,
FileExists
fileExists, GetAssemblyRuntimeVersion getRuntimeVersion, Version targetedRuntimeVesion, GetAssemblyPathInGac getAssemblyPathInGac)
AssemblyDependency\GlobalAssemblyCache.cs (4)
56
private static string GetLocationImpl(AssemblyNameExtension assemblyName, string targetProcessorArchitecture, GetAssemblyRuntimeVersion getRuntimeVersion, Version targetedRuntime,
FileExists
fileExists, GetPathFromFusionName getPathFromFusionName, GetGacEnumerator getGacEnumerator, bool specificVersion)
118
private static SortedDictionary<Version, SortedDictionary<AssemblyNameExtension, string>> GenerateListOfAssembliesByRuntime(string strongName, GetAssemblyRuntimeVersion getRuntimeVersion, Version targetedRuntime,
FileExists
fileExists, GetPathFromFusionName getPathFromFusionName, GetGacEnumerator getGacEnumerator, bool specificVersion)
248
FileExists
fileExists,
277
FileExists
fileExists,
AssemblyDependency\HintPathResolver.cs (1)
21
public HintPathResolver(string searchPathElement, GetAssemblyName getAssemblyName,
FileExists
fileExists, GetAssemblyRuntimeVersion getRuntimeVersion, Version targetedRuntimeVesion)
AssemblyDependency\RawFilenameResolver.cs (1)
21
public RawFilenameResolver(string searchPathElement, GetAssemblyName getAssemblyName,
FileExists
fileExists, GetAssemblyRuntimeVersion getRuntimeVersion, Version targetedRuntimeVesion)
AssemblyDependency\Reference.cs (3)
133
private
FileExists
_fileExists;
140
internal Reference(IsWinMDFile isWinMDFile,
FileExists
fileExists, GetAssemblyRuntimeVersion getRuntimeVersion)
959
FileExists
fileExists,
AssemblyDependency\ReferenceTable.cs (2)
84
private readonly
FileExists
_fileExists;
262
FileExists
fileExists,
AssemblyDependency\ResolveAssemblyReference.cs (5)
2050
internal void ReadStateFile(
FileExists
fileExists)
2139
FileExists
fileExists,
2678
private AssemblyNameExtension[] GetDependencies(Reference resolvedReference,
FileExists
fileExists, GetAssemblyMetadata getAssemblyMetadata, ConcurrentDictionary<string, AssemblyMetadata> assemblyMetadataCache)
3194
private string GetAssemblyPathInGac(AssemblyNameExtension assemblyName, SystemProcessorArchitecture targetProcessorArchitecture, GetAssemblyRuntimeVersion getRuntimeVersion, Version targetedRuntimeVersion,
FileExists
fileExists, bool fullFusionName, bool specificVersion)
3227
(string fullPath, GetAssemblyRuntimeVersion getAssemblyRuntimeVersion,
FileExists
fileExists, out string imageRuntimeVersion, out bool isManagedWinmd)
AssemblyDependency\Resolver.cs (2)
32
protected
FileExists
fileExists;
57
protected Resolver(string searchPathElement, GetAssemblyName getAssemblyName,
FileExists
fileExists, GetAssemblyRuntimeVersion getRuntimeVersion, Version targetedRuntimeVersion, ProcessorArchitecture targetedProcessorArchitecture, bool compareProcessorArchitecture)
ComReference.cs (1)
331
internal static string StripTypeLibNumberFromPath(string typeLibPath,
FileExists
fileExists)
Delegate.cs (2)
106
internal delegate string GetAssemblyPathInGac(AssemblyNameExtension assemblyName, System.Reflection.ProcessorArchitecture targetProcessorArchitecture, GetAssemblyRuntimeVersion getRuntimeVersion, Version targetedRuntimeVersion,
FileExists
fileExists, bool fullFusionName, bool specificVersion);
111
internal delegate bool IsWinMDFile(string fullpath, GetAssemblyRuntimeVersion getAssemblyRuntimeVersion,
FileExists
fileExists, out string imageRuntimeVersion, out bool isManagedWinmd);
GetSDKReferenceFiles.cs (4)
74
private
FileExists
_fileExists;
241
internal bool Execute(GetAssemblyName getAssemblyName, GetAssemblyRuntimeVersion getRuntimeVersion,
FileExists
fileExists, bool synchronous)
903
private readonly
FileExists
_fileExists;
913
internal SDKFilesCache(ConcurrentQueue<string> exceptionQueue, string cacheFileDirectory, GetAssemblyName getAssemblyName, GetAssemblyRuntimeVersion getRuntimeVersion,
FileExists
fileExists)
InstalledSDKResolver.cs (1)
27
public InstalledSDKResolver(Dictionary<string, ITaskItem> resolvedSDKs, string searchPathElement, GetAssemblyName getAssemblyName,
FileExists
fileExists, GetAssemblyRuntimeVersion getRuntimeVersion, Version targetedRuntimeVesion)
SdkToolsPathUtility.cs (3)
23
private static
FileExists
s_fileInfoExists;
28
internal static
FileExists
FileInfoExists
50
internal static string GeneratePathToTool(
FileExists
fileExists, string currentArchitecture, string sdkToolsPath, string toolName, TaskLoggingHelper log, bool logErrorsAndWarnings)
SystemState.cs (2)
326
internal
FileExists
CacheDelegate()
569
internal static SystemState DeserializePrecomputedCaches(ITaskItem[] stateFiles, TaskLoggingHelper log,
FileExists
fileExists)
Touch.cs (2)
68
FileExists
fileExists,
192
FileExists
fileExists,
Microsoft.Build.Tasks.UnitTests (4)
AssemblyDependency\ResolveAssemblyReferenceTestFixture.cs (3)
30
internal static Microsoft.Build.Shared.
FileExists
fileExists = new Microsoft.Build.Shared.FileExists(FileExists);
717
private static bool IsWinMDFile(string fullPath, GetAssemblyRuntimeVersion getAssemblyRuntimeVersion,
FileExists
fileExists, out string imageRuntimeVersion, out bool isManagedWinMD)
786
private static string GetPathForAssemblyInGac(AssemblyNameExtension assemblyName, SystemProcessorArchitecture targetProcessorArchitecture, GetAssemblyRuntimeVersion getRuntimeVersion, Version targetedRuntimeVersion,
FileExists
fileExists, bool fullFusionName, bool specificVersion)
Touch_Tests.cs (1)
19
internal static Microsoft.Build.Shared.
FileExists
fileExists = new Microsoft.Build.Shared.FileExists(FileExists);