Namespaces removed

Code Query Code Diff Summary

Runs only in diff mode (baseline defined). Lists namespaces removed since the baseline.

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>Namespaces removed</Name>
from n in codeBase.OlderVersion().Application.Namespaces where 
 !n.ParentAssembly.WasRemoved() &&
  n.WasRemoved()
select new { n, n.NbLinesOfCode }

//<Desc>
// Runs only in *diff mode* (baseline defined). Lists *namespaces* removed
// since the *baseline*.
//</Desc>

Code Diff Summary: all 25 items