Skip to content

Commit 99eb2a1

Browse files
Mike Normanjoelmartinez
Mike Norman
authored andcommitted
DocStat: Moved changed flag to file loop, out of member loop
1 parent c503071 commit 99eb2a1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tools/DocStat/DocStat/fixsummaries.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,8 @@ ref pattern
4040

4141
foreach (XElement m in memberRoot.Elements("Member"))
4242
{
43-
changed = false;
4443
XElement summary = m.Element("Docs").Element("summary");
4544

46-
4745
if (null == summary)
4846
{
4947
continue;
@@ -63,8 +61,8 @@ ref pattern
6361
continue;
6462
}
6563

66-
6764
mistakeParams.ToList().ForEach(e => e.Name = "paramref");
65+
6866
changed = true;
6967

7068
}

0 commit comments

Comments
 (0)