aspnetcore/test/Microsoft.AspNet.Mvc.Core.Test/Rendering
dougbu 8ab11bc073 Correct XML comment syntax
- fix problems at least with Roslyn compiler and VS IntelliSense or the Object Browser
 - `<see langref="keyword"/>` generates nothing
 - `<example>` at top level (outside `<summary>`) generates nothing
 - curly braces don't become angle brackets outside `<see cref="reference"/>` references
  - yeah, a point @yishaigalatzer asked about in a previous PR
- `<see href="reference"/>` is not valid
- correct some invalid use of angle brackets and remove useless empty elements
- correct unresolved XML comment references; generally, add namespace prefix

Symptoms for some of the above issues included
- generated XML comments such as `<!-- Badly formed XML comment ... -->`, usually indicating an unclosed element
- generated XML attributes such as `cref="!:..."`, indicating a broken reference
 - in a couple of cases we had `<typeparamref cref="TOption"/>`; attribute should be `"name"`

Few wording changes beyond
- `"opening </form> tag"` -> `"<form> start tag"`
- `"closing </form> tag"` -> `"</form> end tag"`

Also correct two typos in `HtmlHelper`

Will create a unit test to ensure XML syntax doesn't degrade going forward.  Separate PR.
- for now, check using `dir -r *.xml | sls '!'`
2014-08-05 14:24:48 -07:00
..
CompositeViewEngineTest.cs
DefaultDisplayTemplatesTests.cs
DefaultEditorTemplatesTests.cs
DefaultTemplatesUtilities.cs Updating tests using Moq to workaround Roslyn changes 2014-08-04 17:13:19 -07:00
HtmlAttributePropertyHelperTest.cs
HtmlHelperDisplayNameExtensionsTest.cs Remove useless `.ToString()` calls in tests 2014-08-01 21:06:23 -07:00
HtmlHelperDisplayTextTest.cs Correct XML comment syntax 2014-08-05 14:24:48 -07:00
HtmlHelperLabelExtensionsTest.cs Add more `ModelMetadata` and HTML helper tests 2014-07-24 18:32:35 -07:00
HtmlHelperNameExtensionsTest.cs Remove useless `.ToString()` calls in tests 2014-08-01 21:06:23 -07:00
HtmlHelperValueExtensionsTest.cs Add `HtmlHelperDisplayTextTest` and `HtmlHelperValueExtensionsTest` classes 2014-08-01 21:06:28 -07:00
ViewContextTests.cs
ViewDataOfTTest.cs