/// <summary> /// Tests if the test runner executable contains the specific symbol /// </summary> /// <param name="symbol">The symbol to locate</param> /// <returns>true if the requested symbol is identified by the test runner executable; false otherwise</returns> private bool ContainsSymbol(string symbol) { try { // Search symbols on the TestRunner not on the source. Source could be .dll which may not contain list_content functionality. using (DebugHelper dbgHelp = new DebugHelper(this.TestRunnerExecutable)) { return(dbgHelp.ContainsSymbol(symbol)); } } catch (Win32Exception ex) { Logger.Exception(ex, "Could not create a DBGHELP instance for '{0}' to determine whether symbols are available.", this.Source); } return(false); }