Purpose

Find all occurences where the type is beeing used. The checks include:
  • Type is used as base type/interface
  • Generic argument to a generic base type/interface
  • Method from type is called
  • Field from the type is accessed
  • Type is used as field type
  • Type is part of a method declaration (return type, method arguments including generic parameters).
  • Type is used in local variables

Parameters

-WhousesType <typequery> <defing type file/s> -in <using file/s>

Example

Search all users of the FileShare enum which is defined in the mscorlib.dll in all .NET Framework assemblies and print the output into an Excel sheet.

ApiChange -whousestype "public enum System.IO.FileShare" $net2dir\mscorlib.dll -in $net2 -excel


Who Uses Type Excel Output

Last edited Jun 2, 2010 at 11:52 PM by Alois, version 2

Comments

No comments yet.