From 99eb2a157a4c96b45b2221e8097f8671ac8aabf3 Mon Sep 17 00:00:00 2001 From: Mike Norman Date: Wed, 4 Oct 2017 16:14:53 -0500 Subject: DocStat: Moved changed flag to file loop, out of member loop --- tools/DocStat/DocStat/fixsummaries.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/DocStat/DocStat/fixsummaries.cs b/tools/DocStat/DocStat/fixsummaries.cs index 42d116f1..e64b7d9d 100644 --- a/tools/DocStat/DocStat/fixsummaries.cs +++ b/tools/DocStat/DocStat/fixsummaries.cs @@ -40,10 +40,8 @@ namespace DocStat foreach (XElement m in memberRoot.Elements("Member")) { - changed = false; XElement summary = m.Element("Docs").Element("summary"); - if (null == summary) { continue; @@ -63,8 +61,8 @@ namespace DocStat continue; } - mistakeParams.ToList().ForEach(e => e.Name = "paramref"); + changed = true; } -- cgit v1.2.3