diff options
Diffstat (limited to 'main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectFileCollection.cs')
-rw-r--r-- | main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectFileCollection.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectFileCollection.cs b/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectFileCollection.cs index e70d1e46ef..2e0e1d39b4 100644 --- a/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectFileCollection.cs +++ b/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/ProjectFileCollection.cs @@ -251,6 +251,11 @@ namespace MonoDevelop.Projects } return list.ToArray (); } + + internal void RemoveFilesInPath (FilePath path) + { + SetItems (this.Where (file => !file.FilePath.IsChildPathOf (path))); + } public void Remove (string fileName) { |