Fixed some errors from analyzer

This commit is contained in:
hondacrx
2017-06-22 17:02:27 -04:00
parent 0e40e90a11
commit d538acc979
26 changed files with 38 additions and 46 deletions
+1 -2
View File
@@ -482,8 +482,7 @@ namespace Framework.Dynamic
public void ModifyIf(Func<Task, bool> filter)
{
List<Task> cache = new List<Task>();
container.Where(filter);
foreach (var task in container.ToList())
foreach (var task in container.Where(filter))
{
if (filter(task))
{