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

github.com/mono/api-doc-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMike Norman <mike.norman@xamarin.com>2017-10-05 00:14:53 +0300
committerJoel Martinez <joelmartinez@gmail.com>2017-10-05 00:27:17 +0300
commit99eb2a157a4c96b45b2221e8097f8671ac8aabf3 (patch)
tree44000c6e837d188c12d0d2cf9b01df99b5eafe80 /tools
parentc503071997d1cfcdb5a039a8a36e530412cb0acb (diff)
DocStat: Moved changed flag to file loop, out of member loop
Diffstat (limited to 'tools')
-rw-r--r--tools/DocStat/DocStat/fixsummaries.cs4
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;
}