We Moved - This Forum is now Read-Only

Our new community is now available at https://support.submain.com/community/. We will leave historical discussions here in this forum view-only mode for search purposes, but moving forward, please post your questions in the appropriate category in the new community.

 
  SubMain - CodeIt.Right The First Time!

/Community

Support Community for SubMain Products
 Home Products Services Download Purchase Support
Search
 
Home Forums Blogs Tutorials/CIR Tutorials/GD Downloads
Welcome to SubMain Community Sign in | Join | Help

GhostDoc engine gets broken if CodeElement.ReturnType is type of List<T>

  •  07-19-2012, 2:26 PM

    GhostDoc engine gets broken if CodeElement.ReturnType is type of List<T>

    Hi all,

    I
    've introduced my own rules to extend the xml output of properties, methods, fields, etc. As mentioned in the subject, the processor stops processing, if it hits on a List<T> type.

    Take this short code snippet as an example:
    public List<string> TestMethod(List<string> test)
    {
            return test;
    }

    Furthermore I've got some strange behavior with fields and CodeElement.ReturnType. If I will go to ignore CodeElement.HasReturnType, the CodeElement.ReturnType is representing the actual field type, which is quite good. Unfortunately, accessing this property of CodeElement will result in an error too.


    W
    hat I've also figured out: If I write additional documentation tags such as <typeparam>, these tags become duplicated in case Context.GetNonGeneratedTags() is used.

    I'm using the latest version of GhostDoc. Please provide some feedback, if and when this issue will be addressed.

    Regards, Cadenza 

     

View Complete Thread
 
     
 
Home |  Products |  Services |  Download |  Purchase |  Support |  Community |  About Us |