public static bool UsesField(this IList<Instruction> instructions, FieldDefinition field)
{
for (var index = 0; index < instructions.Count; index++)
{
var instruction = instructions[index];
if (instruction.UsesField(field))
{
return true;
}
}
return false;
}