dotnet/roslyn

Not allowed to resolve a type with an XML tag, until it fully closed

Open

#11.486 geöffnet am 21. Mai 2016

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (4.257 Forks)batch import
Area-CompilersBugConcept-Diagnostic Clarityhelp wanted

Repository-Metriken

Stars
 (20.414 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 6T 17h) (256 gemergte PRs in 30 T)

Beschreibung

  1. Given the following code, Ctrl+. at $
        /// <summary>
        ///     Returns a value indicating whether the current project has the specified capability
        /// </summary>
        /// <exception cref="ArgumentNullException$"
        bool Contains(string capability);

Expected: To be be offered to add "using System" to resolve ArgumentNullException Actual: Not offered

Need to completely close the XML tag before I'm allowed to resolve:

        /// <summary>
        ///     Returns a value indicating whether the current project has the specified capability
        /// </summary>
        /// <exception cref="ArgumentNullException"></exception>
        bool Contains(string capability);

This is a bit annoying, because completion doesn't close it for when you choose <exception from completion window.

Contributor Guide