void removeTamperDetection() { var tamperDetection = new TamperDetection(module, mainType); tamperDetection.initialize(); foreach (var tamperDetectionMethod in tamperDetection.Methods) { addCctorInitCallToBeRemoved(tamperDetectionMethod); } addTypeToBeRemoved(tamperDetection.Type, "Tamper detection type"); }
void RemoveTamperDetection() { var tamperDetection = new TamperDetection(module, mainType); tamperDetection.Initialize(); foreach (var tamperDetectionMethod in tamperDetection.Methods) AddCctorInitCallToBeRemoved(tamperDetectionMethod); AddTypeToBeRemoved(tamperDetection.Type, "Tamper detection type"); }