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
in Search
 
Home Forums Blogs Tutorials/CIR Tutorials/GD Downloads
Welcome to SubMain Community Sign in | Join | Help

Duplicating Type Constraint

Last post 03-20-2018, 2:42 PM by Serge B. (SubMain). 1 replies.
Sort Posts: Previous Next
  •  03-20-2018, 4:58 AM 5092

    Duplicating Type Constraint

    I'm having an issue where documenting methods with type constraints causes the syntax for the type constraint to duplicate.  The example below is an overridden method, but the same thing happens if the me

     

    For example:

         public T DoSomething<T> where T : Page {...}

    This produces documentation as follows: 

         public T DoSomething<T>() where T : Page, Page 

  •  03-20-2018, 2:42 PM 5093 in reply to 5092

    Re: Duplicating Type Constraint

    Can you please provide more details about the issue or, perhaps, a screenshot?

    Thanks!

     


    Thank you,
    Serge Baranovsky
    http://submain.com - .NET Developer Tools  |  Microsoft MVP  |  ASP Insider
    » » CodeIt.Right Will Fix Your Code!™ - http://submain.com/codeit.right
    » » C#/VB .NET Coding Guidelines - FREE 100+ page ebook (PDF) http://submain.com/guidelines
View as RSS news feed in XML
 
     
 
Home |  Products |  Services |  Download |  Purchase |  Support |  Community |  About Us |