49 writes to TagMode
Microsoft.AspNetCore.Mvc.TagHelpers (1)
ScriptTagHelper.cs (1)
256output.TagMode = TagMode.StartTagAndEndTag;
Microsoft.AspNetCore.Mvc.TagHelpers.Test (42)
InputTagHelperTest.cs (33)
94TagMode = TagMode.SelfClosing, 142TagMode = TagMode.SelfClosing, 189TagMode = TagMode.SelfClosing, 233TagMode = TagMode.SelfClosing, 285TagMode = TagMode.SelfClosing, 330TagMode = TagMode.SelfClosing, 384TagMode = TagMode.SelfClosing, 440TagMode = TagMode.SelfClosing, 491TagMode = TagMode.SelfClosing, 547TagMode = TagMode.SelfClosing, 659TagMode = TagMode.StartTagOnly, 732TagMode = TagMode.StartTagOnly, 803TagMode = TagMode.StartTagOnly, 893TagMode = TagMode.SelfClosing, 947TagMode = TagMode.SelfClosing, 1007TagMode = TagMode.SelfClosing, 1067TagMode = TagMode.SelfClosing, 1127TagMode = TagMode.SelfClosing, 1172TagMode = TagMode.SelfClosing, 1272TagMode = TagMode.StartTagOnly, 1370TagMode = TagMode.SelfClosing, 1438TagMode = TagMode.StartTagOnly, 1538TagMode = TagMode.StartTagOnly, 1650TagMode = TagMode.StartTagOnly, 1768TagMode = TagMode.SelfClosing, 1841TagMode = TagMode.SelfClosing, 1910TagMode = TagMode.SelfClosing, 2004TagMode = TagMode.SelfClosing, 2084TagMode = TagMode.SelfClosing, 2146TagMode = TagMode.SelfClosing, 2214TagMode = TagMode.SelfClosing, 2280TagMode = TagMode.SelfClosing, 2338TagMode = TagMode.SelfClosing,
LinkTagHelperTest.cs (1)
1164TagMode = TagMode.SelfClosing,
OptionTagHelperTest.cs (3)
414TagMode = TagMode.StartTagAndEndTag 485TagMode = TagMode.StartTagAndEndTag, 550TagMode = TagMode.StartTagAndEndTag,
SelectTagHelperTest.cs (4)
214TagMode = TagMode.SelfClosing, 304TagMode = TagMode.SelfClosing, 395TagMode = TagMode.SelfClosing, 484TagMode = TagMode.SelfClosing,
TextAreaTagHelperTest.cs (1)
140TagMode = TagMode.SelfClosing,
Microsoft.AspNetCore.Razor (1)
TagHelpers\TagHelperOutput.cs (1)
187TagMode = tagMode;
Microsoft.AspNetCore.Razor.Runtime (1)
Runtime\TagHelpers\TagHelperExecutionContext.cs (1)
69TagMode = tagMode
Microsoft.AspNetCore.Razor.Runtime.Test (1)
Runtime\TagHelpers\TagHelperRunnerTest.cs (1)
223output.TagMode = TagMode.SelfClosing;
Microsoft.AspNetCore.Razor.Test (2)
TagHelpers\TagHelperOutputTest.cs (2)
32TagMode = initialTagMode, 1106TagMode = tagMode
TagHelpersWebSite (1)
TagHelpers\WebsiteInformationTagHelper.cs (1)
27output.TagMode = TagMode.StartTagAndEndTag;
46 references to TagMode
Microsoft.AspNetCore.Mvc.TagHelpers (1)
InputTagHelper.cs (1)
334output.TagMode == TagMode.SelfClosing ? TagRenderMode.SelfClosing : TagRenderMode.StartTag;
Microsoft.AspNetCore.Mvc.TagHelpers.Test (29)
FormActionTagHelperTest.cs (2)
86Assert.Equal(TagMode.StartTagAndEndTag, output.TagMode); 160Assert.Equal(TagMode.StartTagAndEndTag, output.TagMode);
FormTagHelperTest.cs (9)
424Assert.Equal(TagMode.StartTagAndEndTag, output.TagMode); 495Assert.Equal(TagMode.StartTagAndEndTag, output.TagMode); 548Assert.Equal(TagMode.StartTagAndEndTag, output.TagMode); 618Assert.Equal(TagMode.StartTagAndEndTag, output.TagMode); 672Assert.Equal(TagMode.StartTagAndEndTag, output.TagMode); 729Assert.Equal(TagMode.StartTagAndEndTag, output.TagMode); 787Assert.Equal(TagMode.StartTagAndEndTag, output.TagMode); 841Assert.Equal(TagMode.StartTagAndEndTag, output.TagMode); 998Assert.Equal(TagMode.StartTagAndEndTag, output.TagMode);
InputTagHelperTest.cs (12)
690Assert.Equal(TagMode.StartTagOnly, output.TagMode); 761Assert.Equal(TagMode.StartTagOnly, output.TagMode); 832Assert.Equal(TagMode.StartTagOnly, output.TagMode); 1215Assert.Equal(TagMode.SelfClosing, output.TagMode); 1314Assert.Equal(TagMode.StartTagOnly, output.TagMode); 1479Assert.Equal(TagMode.StartTagOnly, output.TagMode); 1574Assert.Equal(TagMode.StartTagOnly, output.TagMode); 1692Assert.Equal(TagMode.StartTagOnly, output.TagMode); 1808Assert.Equal(TagMode.SelfClosing, output.TagMode); 1877Assert.Equal(TagMode.SelfClosing, output.TagMode); 1946Assert.Equal(TagMode.SelfClosing, output.TagMode); 2040Assert.Equal(TagMode.SelfClosing, output.TagMode);
LabelTagHelperTest.cs (1)
224Assert.Equal(TagMode.StartTagAndEndTag, output.TagMode);
SelectTagHelperTest.cs (4)
239Assert.Equal(TagMode.SelfClosing, output.TagMode); 338Assert.Equal(TagMode.SelfClosing, output.TagMode); 419Assert.Equal(TagMode.SelfClosing, output.TagMode); 518Assert.Equal(TagMode.SelfClosing, output.TagMode);
TextAreaTagHelperTest.cs (1)
151Assert.Equal(TagMode.SelfClosing, output.TagMode);
Microsoft.AspNetCore.Razor (10)
TagHelpers\TagHelperOutput.cs (10)
183/// <param name="tagMode">The <see cref="TagMode"/> to use.</param> 301if (TagMode == TagMode.SelfClosing) 309if (isTagNameNullOrWhitespace || TagMode == TagMode.StartTagAndEndTag) 318if (!isTagNameNullOrWhitespace && TagMode == TagMode.StartTagAndEndTag) 350if (TagMode == TagMode.SelfClosing) 358if (isTagNameNullOrWhitespace || TagMode == TagMode.StartTagAndEndTag) 365if (!isTagNameNullOrWhitespace && TagMode == TagMode.StartTagAndEndTag) 405if (TagMode == TagMode.SelfClosing) 413if (isTagNameNullOrWhitespace || TagMode == TagMode.StartTagAndEndTag) 422if (!isTagNameNullOrWhitespace && TagMode == TagMode.StartTagAndEndTag)
Microsoft.AspNetCore.Razor.Runtime.Test (5)
Runtime\TagHelpers\TagHelperExecutionContextTest.cs (2)
131Assert.Equal(updatedTagMode, output.TagMode); 202Assert.Equal(tagMode, output.TagMode);
Runtime\TagHelpers\TagHelperRunnerTest.cs (2)
129Assert.Equal(tagMode, executionContext.Output.TagMode); 169Assert.Equal(TagMode.SelfClosing, output.TagMode);
Runtime\TagHelpers\TagHelperScopeManagerTest.cs (1)
167Assert.Equal(tagMode, output.TagMode);
Microsoft.AspNetCore.Razor.Test (1)
TagHelpers\TagHelperOutputTest.cs (1)
47Assert.Equal(expectedTagMode, output.TagMode);