public static void CollectStatistics() { Findings.Clear(); InspectReflectTypeDescriptionProvider(); InspectDPCustomTypeDescriptor(); InspectViewManager(); if (WriteToDebugConsole) { using (var writer = new DebugTextWriter()) { foreach (var finding in Findings) { finding.WriteTo(writer); writer.WriteLine(); } } } }