/// <summary> /// Returns a string for a return tag if one is necessary. /// </summary> /// <param name="position">Position of the last slash in the triple slash comment</param> /// <returns>Return tag line as a string.</returns> private string GetReturnTag(int position) { string shouldCreate = StubUtils.ShouldCreateReturnTag(position, this.view.TextSnapshot); string result = NewLine() + "@returns {" + shouldCreate.Trim() + "}"; return(result); }