From: Ankit Jain Date: Thu, 3 Mar 2011 14:32:08 +0000 (+0530) Subject: [xbuild] ImportedProject - remove unnecessary catch/throw X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=mono.git;a=commitdiff_plain;h=9010dadcf965ef12cab4301b14cd75fef51ae908 [xbuild] ImportedProject - remove unnecessary catch/throw Remove the catch { throw; }, this truncated the stack also. --- diff --git a/mcs/class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine/ImportedProject.cs b/mcs/class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine/ImportedProject.cs index c2b2d88b534..9fedc2dfec9 100644 --- a/mcs/class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine/ImportedProject.cs +++ b/mcs/class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine/ImportedProject.cs @@ -57,9 +57,6 @@ namespace Microsoft.Build.BuildEngine { lastWrite = File.GetLastWriteTime (filename); fullFileName = filename; } - catch (Exception) { - throw; - } finally { sr.Close (); }