Skip to content

Instantly share code, notes, and snippets.

Created June 4, 2012 14:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/2868860 to your computer and use it in GitHub Desktop.
Save anonymous/2868860 to your computer and use it in GitHub Desktop.
// <Name>Callers of refactored methods</Name>
let refactoredMethods = Application.Methods.Where(m => m.CodeWasChanged()).ToHashSet()
from caller in Application.Methods.UsingAny(refactoredMethods)
let refactoredMethodsCalled = caller.MethodsCalled.Intersect(refactoredMethods)
where refactoredMethodsCalled.Count() > 0
select new { caller, refactoredMethodsCalled }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment