80 references to ExceptionHandling
Microsoft.Build.Tasks.Core (80)
AppConfig\AppConfig.cs (1)
55
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
AppConfig\BindingRedirect.cs (2)
63
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
77
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
AssemblyDependency\ReferenceTable.cs (5)
683
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
905
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
997
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
1211
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
2967
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
AssemblyDependency\ResolveAssemblyReference.cs (2)
1545
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
2748
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
AssemblyDependency\Resolver.cs (1)
327
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
Copy.cs (2)
937
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
967
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
CreateManifestResourceName.cs (1)
255
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
Delete.cs (1)
147
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
ErrorFromResources.cs (1)
60
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
ExceptionHandling.cs (1)
364
lock (typeof(
ExceptionHandling
))
FileIO\ReadLinesFromFile.cs (1)
67
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
FileIO\WriteLinesToFile.cs (1)
151
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
FileMatcher.cs (4)
2026
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
2611
if (ex.Flatten().InnerExceptions.All(
ExceptionHandling
.IsIoRelatedException))
2622
catch (Exception ex) when (
ExceptionHandling
.IsIoRelatedException(ex))
2644
return ex.Flatten().InnerExceptions.All(
ExceptionHandling
.IsIoRelatedException);
FileState.cs (1)
206
if (!
ExceptionHandling
.IsIoRelatedException(_exceptionThrown))
FileUtilities.cs (6)
756
catch (Exception ex) when (
ExceptionHandling
.IsIoRelatedException(ex))
845
catch (Exception ex) when (
ExceptionHandling
.IsIoRelatedException(ex))
925
catch (Exception ex) when (
ExceptionHandling
.IsIoRelatedException(ex))
962
catch (Exception ex) when (
ExceptionHandling
.IsIoRelatedException(ex))
1030
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
1294
catch (Exception ex) when (
ExceptionHandling
.IsIoRelatedException(ex))
GenerateResource.cs (7)
1544
catch (Exception e) when (!
ExceptionHandling
.NotExpectedIoOrXmlException(e) || e is MSBuildResXException)
1638
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
2644
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
2733
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
2779
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
2801
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
2892
if (
ExceptionHandling
.NotExpectedException(deleteException))
GetAssemblyIdentity.cs (1)
78
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
GetInstalledSDKLocations.cs (1)
150
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
GetReferenceAssemblyPaths.cs (1)
223
if (
ExceptionHandling
.IsCriticalException(e))
GetSDKReferenceFiles.cs (6)
290
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
940
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
970
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
983
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
1105
catch (Exception ex) when (!
ExceptionHandling
.IsCriticalException(ex))
1139
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
ListOperators\FindUnderPath.cs (2)
65
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
85
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
MakeDir.cs (1)
80
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
ManifestUtil\LauncherBuilder.cs (1)
95
catch (Exception ex) when (
ExceptionHandling
.IsIoRelatedException(ex))
Modifiers.cs (1)
401
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
Move.cs (1)
170
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
NodePipeServer.cs (2)
163
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
171
ExceptionHandling
.DumpExceptionToFile(e);
RedistList.cs (1)
744
catch (Exception ex) when (
ExceptionHandling
.IsIoRelatedException(ex))
RemoveDir.cs (2)
135
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
173
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
StateFileBase.cs (3)
63
catch (Exception e) when (!
ExceptionHandling
.NotExpectedSerializationException(e))
117
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
146
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
TempFileUtilities.cs (1)
197
catch (Exception ex) when (
ExceptionHandling
.IsIoRelatedException(ex))
Touch.cs (4)
176
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
248
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
264
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
280
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
WriteCodeFragment.cs (3)
120
catch (Exception ex) when (
ExceptionHandling
.IsIoRelatedException(ex))
556
catch (Exception ex) when (!
ExceptionHandling
.IsCriticalException(ex))
584
catch (Exception ex) when (!
ExceptionHandling
.IsCriticalException(ex))
XmlPeek.cs (4)
72
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
87
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
104
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
117
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
XmlPoke.cs (4)
75
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
89
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
103
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
130
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
XslTransformation.cs (4)
111
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
138
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
156
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
183
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))