89 references to ExceptionHandling
Microsoft.Build.Tasks.Core (89)
AppConfig\AppConfig.cs (1)
55
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
AppConfig\BindingRedirect.cs (2)
59
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
73
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
AssemblyDependency\AssemblyInformation.cs (1)
423
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
AssemblyDependency\ReferenceTable.cs (5)
672
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
895
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
985
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
1199
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
2967
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
AssemblyDependency\ResolveAssemblyReference.cs (2)
1501
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
2693
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
AssemblyDependency\Resolver.cs (1)
327
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
CodeTaskFactory.cs (1)
632
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
Copy.cs (2)
886
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
916
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
CreateManifestResourceName.cs (1)
243
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)
341
lock (typeof(
ExceptionHandling
))
FileIO\ReadLinesFromFile.cs (1)
67
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
FileIO\WriteLinesToFile.cs (1)
149
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
FileMatcher.cs (4)
2011
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
2595
if (ex.Flatten().InnerExceptions.All(
ExceptionHandling
.IsIoRelatedException))
2601
catch (Exception ex) when (
ExceptionHandling
.IsIoRelatedException(ex))
2619
return ex.Flatten().InnerExceptions.All(
ExceptionHandling
.IsIoRelatedException);
FileState.cs (1)
206
if (!
ExceptionHandling
.IsIoRelatedException(_exceptionThrown))
FileUtilities.cs (5)
789
catch (Exception ex) when (
ExceptionHandling
.IsIoRelatedException(ex))
863
catch (Exception ex) when (
ExceptionHandling
.IsIoRelatedException(ex))
900
catch (Exception ex) when (
ExceptionHandling
.IsIoRelatedException(ex))
968
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
1225
catch (Exception ex) when (
ExceptionHandling
.IsIoRelatedException(ex))
GenerateResource.cs (9)
1544
catch (Exception e) when (!
ExceptionHandling
.NotExpectedIoOrXmlException(e) || e is MSBuildResXException)
1638
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
1925
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
2649
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
2738
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
2784
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
2806
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
2897
if (
ExceptionHandling
.NotExpectedException(deleteException))
3143
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
GetAssemblyIdentity.cs (1)
71
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)
600
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
Move.cs (1)
170
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
RedistList.cs (1)
704
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))
ResolveComReference.cs (3)
1286
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
1371
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
1415
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
ResolveKeySource.cs (1)
152
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
SGen.cs (2)
175
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
424
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))
TlbReference.cs (1)
351
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
Touch.cs (4)
175
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
247
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
262
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
277
catch (Exception e) when (
ExceptionHandling
.IsIoRelatedException(e))
WriteCodeFragment.cs (3)
120
catch (Exception ex) when (
ExceptionHandling
.IsIoRelatedException(ex))
546
catch (Exception ex) when (!
ExceptionHandling
.IsCriticalException(ex))
574
catch (Exception ex) when (!
ExceptionHandling
.IsCriticalException(ex))
XamlTaskFactory\TaskParser.cs (1)
133
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
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)
108
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
135
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
153
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))
180
catch (Exception e) when (!
ExceptionHandling
.IsCriticalException(e))