Browse Source

Handle DirectoryNotFoundException in AssemblyTreeNode and print friedly error message.

pull/1051/head
Siegfried Pammer 8 years ago
parent
commit
32457c6a82
  1. 3
      ILSpy/TreeNodes/AssemblyTreeNode.cs

3
ILSpy/TreeNodes/AssemblyTreeNode.cs

@ -272,6 +272,9 @@ namespace ICSharpCode.ILSpy.TreeNodes
case FileNotFoundException fileNotFound: case FileNotFoundException fileNotFound:
HandleException(fileNotFound, "The file was not found."); HandleException(fileNotFound, "The file was not found.");
return; return;
case DirectoryNotFoundException dirNotFound:
HandleException(dirNotFound, "The directory was not found.");
return;
default: default:
throw; throw;
} }

Loading…
Cancel
Save