private void GetResults() { uint resultSize = m_core.GetResultSize(); if (resultSize == 0) { m_results = new CoreResult[0]; return; } m_results = m_core.GetResult(0, resultSize); }