/// <summary> /// Adds the TODO comment to an element. /// </summary> /// <param name="element">The element.</param> public static void AddToDoComment(this LanguageElement element) { if (element == null) { throw new ArgumentNullException("element", "element is null."); } Contract.EndContractBlock(); var todo = new Comment() { CommentType = CommentType.SingleLine, Name = " TODO: Add Contracts Here" }; element.InsertNode(0, todo); }