Most used types (#TypesUsingMe )

Code Query Statistics

This code query lists the 100 application and third-party types, with the higher number of types users.

CQLinq source

This code query is written in CQLinq, C# LINQ over the NDepend code model. It ships with every new NDepend project: you can read it, adapt it, or use it as a starting point for your own custom rules.

// <Name>Most used types (#TypesUsingMe )</Name>
(from t in Types orderby t.NbTypesUsingMe descending
 where !t.IsGeneratedByCompiler
 select new { t, t.TypesUsingMe }).Take(100)
 
//<Desc>
// This code query lists the 100 *application* and *third-party* 
// types, with the higher number of types users.  
//</Desc>

Statistics: all 13 items