private void VerifyStoreLocalInstruction (Instruction ins, int stack_count) { List<MethodDefinition> pointers; int index = ins.GetStoreIndex (); pointers = (stack_count <= 0) ? null : GetDelegatePointers (locals, stack [stack_count - 1]); Log.WriteLine (this, " Reached a local variable store at offset {2:X}. index {0}, there are {1} pointers here.", index, pointers == null ? 0 : pointers.Count, ins.Offset); if (pointers != null && pointers.Count > 0) { while (locals.Count <= index) locals.Add (null); if (locals [index] == null) locals [index] = new List<MethodDefinition> (); locals [index].AddRange (pointers); } }