Types that use many other types (#TypesUsed )

Code Query Statistics

This code query lists the 100 application types with the higher number of types used.

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>Types that use many other types (#TypesUsed )</Name>
(from t in Application.Types orderby t.NbTypesUsed descending
 select new { t, t.TypesUsed, isMyCode = JustMyCode.Contains(t) }).Take(100)
 
//<Desc>
// This code query lists the 100 *application* types 
// with the higher number of types used.  
//</Desc>

Statistics: all 13 items