We can't use C# 6
This commit is contained in:
Родитель
81a69931be
Коммит
61025f9536
|
@ -249,16 +249,16 @@ Task ("docs")
|
|||
.Elements ("Docs");
|
||||
|
||||
totalTypes += typesWithDocs.Count ();
|
||||
typeCount += typesWithDocs.Where (m => m.Value?.IndexOf ("To be added.") >= 0).Count ();
|
||||
typeCount += typesWithDocs.Where (m => m.Value != null && m.Value.IndexOf ("To be added.") >= 0).Count ();
|
||||
|
||||
var membersWithDocs = xdoc.Root
|
||||
.Elements ("Members")
|
||||
.Elements ("Member")
|
||||
.Where (m => m.Attribute ("MemberName")?.Value != "Dispose")
|
||||
.Where (m => m.Attribute ("MemberName") != null && m.Attribute ("MemberName").Value != "Dispose")
|
||||
.Elements ("Docs");
|
||||
|
||||
totalMembers += membersWithDocs.Count ();
|
||||
memberCount += membersWithDocs.Where (m => m.Value?.IndexOf ("To be added.") >= 0).Count ();
|
||||
memberCount += membersWithDocs.Where (m => m.Value != null && m.Value.IndexOf ("To be added.") >= 0).Count ();
|
||||
}
|
||||
Information (
|
||||
"Documentation missing in {0}/{1} ({2:0.0%}) types and {3}/{4} ({5:0.0%}) members.",
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit f03ed2eddf1acd10518fcec4f062776180c5338b
|
||||
Subproject commit cf696ea4ec7eda974739ab78fee84075799773ef
|
Загрузка…
Ссылка в новой задаче