Bug Report T465726
Visible to All Users

Selection Expand works incorrectly on an enum with XML Doc comments

created 8 years ago

Consider the current .cs file:

C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication48 { /// <summary> /// Determines which assembly to resolve when resolving an assembly by name from the iCore system database. /// </summary> public enum AssemblyResolveOption { /// <summary> /// Only assemblies with commit status 'Committed' will be resolved. /// </summary> Committed = 0, /// <summary> /// The latest built assembly will be resolved, regardless of its commit status. /// </summary> LatestBuilt = 1, /// <summary> /// Same as LatestBuilt, but if the associated project indicates that it needs recompilation, it will be compiled before the /// assembly is resolved. /// </summary> LatestWithRebuild = 2 } }

If you place the cursor on the "public" keyword and press Ctrl-W to invoke the expand selection, the selection starts after the first triple-slash, and ends before the last field of the enum.  Expected behavior would be to select the entire enum without the leading summary, with another press including the leading summary of the enum as well.

Comments (3)
DevExpress Support Team 8 years ago

    Hello Peter,

    Thank you for pointing out this issue and providing a code sample.
    I have reproduced this issue, and we will fix this behavior in future releases.
    We will notify you as soon as we have any results.

      This bug appears to be back again in version 17.1.4 running in VS 2017. :(

      DevExpress Support Team 8 years ago

        Hi Peter,

        Thank you for contacting us.
        I am concerned to hear that you encountered this issue again.
        I managed to reproduce it with CRR 17.1.4 and VS 2017.
        We will research this issue and let you know when we make any progress.

        Answers approved by DevExpress Support

        created 8 years ago

        We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

        Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.