[Mono-bugs] [Bug 665396] Aresgen.exe should generate XML Comments resource types

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Feb 20 20:25:31 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=665396

https://bugzilla.novell.com/show_bug.cgi?id=665396#c1


--- Comment #1 from Joseph Hill <jhill at novell.com> 2011-02-21 01:25:30 UTC ---
In addition to having the doc comments say what the type mapping was in the doc
comments for the type declaration, i.e.

        /// <summary>
        /// Graphics resources read from Resources/Drawable* directories
        /// </summary>
        public partial class Drawable

We should output any information we've parsed that might be useful to see in
the tooltip.

For instance, instead of:

            // aapt resource value: 0x7f030000
            public const int Main = 2130903040;

Generate:
            /// <summary>
            /// Layout resource located in Resources/Values/Main.axml
            /// </summary>
            /// <remarks>
            /// aapt resource value: 0x7f030000
            /// </remarks>
            public const int Main = 2130903040;


Or instead of:
            // aapt resource value: 0x7f040000
            public const int Hello = 2130968576;


Generate:
            /// <summary>
            /// String resource read from string element with name "Hello", 
            /// located on line 3 of Resources/Values/Strings.xml
            /// <para>Value: "Hello World, Click Me!"</para>
            /// </summary>
            /// <remarks>
            /// aapt resource value: 0x7f040000
            /// </remarks>    
            public const int Hello = 2130968576;

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list