internal InstructionPointerExporter(IHardwareCountersDiagnoser hardwareCountersDiagnoser, IDisassemblyDiagnoser disassemblyDiagnoser)
 {
     this.hardwareCountersDiagnoser = hardwareCountersDiagnoser;
     this.disassemblyDiagnoser      = disassemblyDiagnoser;
 }
 private void AssertDisassembled(IDisassemblyDiagnoser diagnoser, string methodSignature)
 {
     Assert.True(diagnoser.Results.Single().Value
                 .Methods.Any(method => method.Name.EndsWith(methodSignature) && method.Maps.Any(map => map.Instructions.Any())),
                 $"{methodSignature} is missing");
 }