new_m.replace(mi);
}
private void skipMethod (MethodInfo mi){
NativeMethodInfo new_m = new SkippedMethodInfo(mi);
new_m.replace(mi);
}
/**
* at the searchStarted event, if the option nhandler.reset is set to true,
* all the peer classes created on the fly are removed.