Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authortherzok <marius.ungureanu@xamarin.com>2019-07-21 06:38:30 +0300
committertherzok <marius.ungureanu@xamarin.com>2019-07-21 21:24:06 +0300
commit1ea68d70d46c92297bcdffabb4dac3b16192f4cf (patch)
treeebd931bc84ea7a5f4d946adf778544b2b8bd2afb /main
parent956d754e87eaf9961d69426ad92bba7900e6f65f (diff)
[Ide] Remove redundant ToArray
Diffstat (limited to 'main')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/RootWorkspace.cs2
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;
}