Third party methods that were used and that are not used anymore

Code Query Code Diff Summary

Runs only in diff mode (baseline defined). Lists third-party methods used at baseline time and no longer 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>Third party methods that were used and that are not used anymore</Name>
from m in codeBase.OlderVersion().ThirdParty.Methods where
  m.IsNotUsedAnymore() &&
 !m.ParentType.IsNotUsedAnymore()
select new { 
   m, 
   MethodsThatCalledMe = m.MethodsCallingMe
}

//<Desc>
// Runs only in *diff mode* (baseline defined). Lists **third-party**
// *methods* used at *baseline* time and no longer used.
//</Desc>

Code Diff Summary: all 25 items