Third party fields that were not used and that are now used

Code Query Code Diff Summary

Runs only in diff mode (baseline defined). Lists third-party fields not used at baseline time and now 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 fields that were not used and that are now used</Name>
from f in ThirdParty.Fields where 
  f.IsUsedRecently() &&
 !f.ParentType.IsUsedRecently()
select new { 
   f, 
   f.MethodsUsingMe 
}

//<Desc>
// Runs only in *diff mode* (baseline defined). Lists **third-party**
// *fields* not used at *baseline* time and now used.
//</Desc>

Code Diff Summary: all 25 items