[xbuild] ImportedProject - remove unnecessary catch/throw
authorAnkit Jain <radical@corewars.org>
Thu, 3 Mar 2011 14:32:08 +0000 (20:02 +0530)
committerAnkit Jain <radical@corewars.org>
Thu, 3 Mar 2011 19:20:30 +0000 (00:50 +0530)
Remove the catch { throw; }, this truncated the stack also.

mcs/class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine/ImportedProject.cs

index c2b2d88b53450e2ad487ba06ac45f489fe3645d5..9fedc2dfec9f690746cc08e427f6e5d8a6ab1465 100644 (file)
@@ -57,9 +57,6 @@ namespace Microsoft.Build.BuildEngine {
                                lastWrite = File.GetLastWriteTime (filename);
                                fullFileName = filename;
                        }
-                       catch (Exception) {
-                               throw;
-                       }
                        finally {
                                sr.Close ();
                        }