38 references to FileExistsNoThrow
Microsoft.Build.Tasks.Core (5)
AssemblyDependency\ResolveAssemblyReference.cs (1)
3210
p => FileUtilities.
FileExistsNoThrow
(p),
FileIO\WriteLinesToFile.cs (1)
111
if (FileUtilities.
FileExistsNoThrow
(File.ItemSpec))
GetSDKReferenceFiles.cs (2)
235
return Execute(AssemblyNameExtension.GetAssemblyNameEx, AssemblyInformation.GetRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: false);
516
if (FileUtilities.
FileExistsNoThrow
(xmlFile))
SystemState.cs (1)
617
if (FileUtilities.
FileExistsNoThrow
(stateFile))
Microsoft.Build.Tasks.UnitTests (33)
AssemblyDependency\ResolveAssemblyReferenceTestFixture.cs (1)
3092
if (FileUtilities.
FileExistsNoThrow
(t.StateFile))
Copy_Tests.cs (1)
565
Assert.False(FileUtilities.
FileExistsNoThrow
(destination));
GetSDKReference_Tests.cs (30)
243
t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true).ShouldBeTrue();
353
bool success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
379
bool success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
405
bool success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
430
bool success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
505
bool success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
516
success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
527
success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
554
bool success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
606
bool success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
630
bool success2 = t2.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
672
bool success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
721
bool success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
765
bool success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
788
bool success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
813
bool success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
865
bool success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
916
bool success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
953
bool success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
1015
bool success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
1046
bool success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
1078
bool success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
1110
bool success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
1139
bool success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
1167
bool success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
1195
bool success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
1230
bool success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
1276
bool success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
1319
bool success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
1365
bool success = t.Execute(_getAssemblyName, _getAssemblyRuntimeVersion, p => FileUtilities.
FileExistsNoThrow
(p), synchronous: true);
HintPathResolver_Tests.cs (1)
73
fileExists: p => FileUtilities.
FileExistsNoThrow
(p),