Purpose

Find all read/write field accesses. For constant fields you should use the -whousesstring query to search for the usage of string literals.

Parameters

-WhousesField <typefieldquery> <defining file/s> -in <using file/s>
or
-wf <typefieldquery> <defining file/s> -in <using file/s>

Example

Search for users of non const fields defined in mscorlib.dll.

ApiChange -whousesfield "(public !const *)" $net2dir\mscorlib.dll -in $net2 -excel

Excel output

Last edited Jun 4, 2010 at 3:28 PM by Alois, version 2

Comments

No comments yet.