diff options
author | Mike Norman <mike.norman@xamarin.com> | 2017-10-05 00:14:53 +0300 |
---|---|---|
committer | Joel Martinez <joelmartinez@gmail.com> | 2017-10-05 00:27:17 +0300 |
commit | 99eb2a157a4c96b45b2221e8097f8671ac8aabf3 (patch) | |
tree | 44000c6e837d188c12d0d2cf9b01df99b5eafe80 | |
parent | c503071997d1cfcdb5a039a8a36e530412cb0acb (diff) |
DocStat: Moved changed flag to file loop, out of member loop
-rw-r--r-- | tools/DocStat/DocStat/fixsummaries.cs | 4 |
1 files changed, 1 insertions, 3 deletions
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; } |