89 references to ExceptionHandling
Microsoft.Build.Tasks.Core (89)
AppConfig\AppConfig.cs (1)
55catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e))
AppConfig\BindingRedirect.cs (2)
63catch (Exception e) when (!ExceptionHandling.IsCriticalException(e)) 77catch (Exception e) when (!ExceptionHandling.IsCriticalException(e))
AssemblyDependency\AssemblyInformation.cs (1)
420catch (Exception e) when (!ExceptionHandling.IsCriticalException(e))
AssemblyDependency\ReferenceTable.cs (5)
690catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e)) 912catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e)) 1004catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e)) 1218catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e)) 2974catch (Exception e) when (!ExceptionHandling.IsCriticalException(e))
AssemblyDependency\ResolveAssemblyReference.cs (2)
1527catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e)) 2730catch (Exception e) when (!ExceptionHandling.IsCriticalException(e))
AssemblyDependency\Resolver.cs (1)
327catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e))
CodeTaskFactory.cs (1)
632catch (Exception e) when (!ExceptionHandling.IsCriticalException(e))
Copy.cs (2)
937catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e)) 967catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e))
CreateManifestResourceName.cs (1)
254catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e))
Delete.cs (1)
147catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e))
ErrorFromResources.cs (1)
60catch (Exception e) when (!ExceptionHandling.IsCriticalException(e))
ExceptionHandling.cs (1)
342lock (typeof(ExceptionHandling))
FileIO\ReadLinesFromFile.cs (1)
67catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e))
FileIO\WriteLinesToFile.cs (1)
150catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e))
FileMatcher.cs (4)
1999catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e)) 2584if (ex.Flatten().InnerExceptions.All(ExceptionHandling.IsIoRelatedException)) 2595catch (Exception ex) when (ExceptionHandling.IsIoRelatedException(ex)) 2617return ex.Flatten().InnerExceptions.All(ExceptionHandling.IsIoRelatedException);
FileState.cs (1)
206if (!ExceptionHandling.IsIoRelatedException(_exceptionThrown))
FileUtilities.cs (5)
816catch (Exception ex) when (ExceptionHandling.IsIoRelatedException(ex)) 896catch (Exception ex) when (ExceptionHandling.IsIoRelatedException(ex)) 933catch (Exception ex) when (ExceptionHandling.IsIoRelatedException(ex)) 1001catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e)) 1265catch (Exception ex) when (ExceptionHandling.IsIoRelatedException(ex))
GenerateResource.cs (9)
1544catch (Exception e) when (!ExceptionHandling.NotExpectedIoOrXmlException(e) || e is MSBuildResXException) 1638catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e)) 1925catch (Exception e) when (!ExceptionHandling.IsCriticalException(e)) 2646catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e)) 2735catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e)) 2781catch (Exception e) when (!ExceptionHandling.IsCriticalException(e)) 2803catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e)) 2894if (ExceptionHandling.NotExpectedException(deleteException)) 3140catch (Exception e) when (!ExceptionHandling.IsCriticalException(e))
GetAssemblyIdentity.cs (1)
78catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e))
GetInstalledSDKLocations.cs (1)
150catch (Exception e) when (!ExceptionHandling.IsCriticalException(e))
GetReferenceAssemblyPaths.cs (1)
223if (ExceptionHandling.IsCriticalException(e))
GetSDKReferenceFiles.cs (6)
290catch (Exception e) when (!ExceptionHandling.IsCriticalException(e)) 940catch (Exception e) when (!ExceptionHandling.IsCriticalException(e)) 970catch (Exception e) when (!ExceptionHandling.IsCriticalException(e)) 983catch (Exception e) when (!ExceptionHandling.IsCriticalException(e)) 1105catch (Exception ex) when (!ExceptionHandling.IsCriticalException(ex)) 1139catch (Exception e) when (!ExceptionHandling.IsCriticalException(e))
ListOperators\FindUnderPath.cs (2)
65catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e)) 85catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e))
MakeDir.cs (1)
80catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e))
ManifestUtil\LauncherBuilder.cs (1)
95catch (Exception ex) when (ExceptionHandling.IsIoRelatedException(ex))
Modifiers.cs (1)
600catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e))
Move.cs (1)
170catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e))
RedistList.cs (1)
704catch (Exception ex) when (ExceptionHandling.IsIoRelatedException(ex))
RemoveDir.cs (2)
135catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e)) 173catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e))
ResolveComReference.cs (3)
1286catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e)) 1371catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e)) 1415catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e))
ResolveKeySource.cs (1)
152catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e))
SGen.cs (2)
175catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e)) 424catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e))
StateFileBase.cs (3)
63catch (Exception e) when (!ExceptionHandling.NotExpectedSerializationException(e)) 117catch (Exception e) when (!ExceptionHandling.IsCriticalException(e)) 146catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e))
TempFileUtilities.cs (1)
197catch (Exception ex) when (ExceptionHandling.IsIoRelatedException(ex))
TlbReference.cs (1)
351catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e))
Touch.cs (4)
176catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e)) 248catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e)) 264catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e)) 280catch (Exception e) when (ExceptionHandling.IsIoRelatedException(e))
WriteCodeFragment.cs (3)
120catch (Exception ex) when (ExceptionHandling.IsIoRelatedException(ex)) 554catch (Exception ex) when (!ExceptionHandling.IsCriticalException(ex)) 582catch (Exception ex) when (!ExceptionHandling.IsCriticalException(ex))
XamlTaskFactory\TaskParser.cs (1)
133catch (Exception e) when (!ExceptionHandling.IsCriticalException(e))
XmlPeek.cs (4)
72catch (Exception e) when (!ExceptionHandling.IsCriticalException(e)) 87catch (Exception e) when (!ExceptionHandling.IsCriticalException(e)) 104catch (Exception e) when (!ExceptionHandling.IsCriticalException(e)) 117catch (Exception e) when (!ExceptionHandling.IsCriticalException(e))
XmlPoke.cs (4)
75catch (Exception e) when (!ExceptionHandling.IsCriticalException(e)) 89catch (Exception e) when (!ExceptionHandling.IsCriticalException(e)) 103catch (Exception e) when (!ExceptionHandling.IsCriticalException(e)) 130catch (Exception e) when (!ExceptionHandling.IsCriticalException(e))
XslTransformation.cs (4)
108catch (Exception e) when (!ExceptionHandling.IsCriticalException(e)) 135catch (Exception e) when (!ExceptionHandling.IsCriticalException(e)) 153catch (Exception e) when (!ExceptionHandling.IsCriticalException(e)) 180catch (Exception e) when (!ExceptionHandling.IsCriticalException(e))