diff options
author | therzok <marius.ungureanu@xamarin.com> | 2019-07-21 06:38:30 +0300 |
---|---|---|
committer | therzok <marius.ungureanu@xamarin.com> | 2019-07-21 21:24:06 +0300 |
commit | 1ea68d70d46c92297bcdffabb4dac3b16192f4cf (patch) | |
tree | ebd931bc84ea7a5f4d946adf778544b2b8bd2afb /main | |
parent | 956d754e87eaf9961d69426ad92bba7900e6f65f (diff) |
[Ide] Remove redundant ToArray
Diffstat (limited to 'main')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs index e4e4686a35..9ea10d064e 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs @@ -530,7 +530,7 @@ namespace MonoDevelop.Ide await SavePreferencesAsync (); if (closeProjectFiles && documentManager != null) { - foreach (Document doc in documentManager.Documents.ToArray ()) { + foreach (Document doc in documentManager.Documents) { if (!await doc.Close (force)) return false; } |