private static string MakeErrorMessage( int startLine, int startColumn, string jsonPath, ErrorNumber errorNumber, params object[] args) { var result = ResultFactory.CreateResult(startLine, startColumn, jsonPath, errorNumber, args) .SetResultFile(TestUtil.TestFilePath); return(result.FormatForVisualStudio(RuleFactory.GetRuleFromErrorNumber(errorNumber))); }