66 references to SelfClosing
Microsoft.AspNetCore.Mvc.TagHelpers (1)
InputTagHelper.cs (1)
334output.TagMode == TagMode.SelfClosing ? TagRenderMode.SelfClosing : TagRenderMode.StartTag;
Microsoft.AspNetCore.Mvc.TagHelpers.Test (42)
InputTagHelperTest.cs (31)
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, 893TagMode = TagMode.SelfClosing, 947TagMode = TagMode.SelfClosing, 1007TagMode = TagMode.SelfClosing, 1067TagMode = TagMode.SelfClosing, 1127TagMode = TagMode.SelfClosing, 1172TagMode = TagMode.SelfClosing, 1215Assert.Equal(TagMode.SelfClosing, output.TagMode); 1370TagMode = TagMode.SelfClosing, 1768TagMode = TagMode.SelfClosing, 1808Assert.Equal(TagMode.SelfClosing, output.TagMode); 1841TagMode = TagMode.SelfClosing, 1877Assert.Equal(TagMode.SelfClosing, output.TagMode); 1910TagMode = TagMode.SelfClosing, 1946Assert.Equal(TagMode.SelfClosing, output.TagMode); 2004TagMode = TagMode.SelfClosing, 2040Assert.Equal(TagMode.SelfClosing, output.TagMode); 2084TagMode = TagMode.SelfClosing, 2146TagMode = TagMode.SelfClosing, 2214TagMode = TagMode.SelfClosing, 2280TagMode = TagMode.SelfClosing, 2338TagMode = TagMode.SelfClosing,
LinkTagHelperTest.cs (1)
1164TagMode = TagMode.SelfClosing,
SelectTagHelperTest.cs (8)
214TagMode = TagMode.SelfClosing, 239Assert.Equal(TagMode.SelfClosing, output.TagMode); 304TagMode = TagMode.SelfClosing, 338Assert.Equal(TagMode.SelfClosing, output.TagMode); 395TagMode = TagMode.SelfClosing, 419Assert.Equal(TagMode.SelfClosing, output.TagMode); 484TagMode = TagMode.SelfClosing, 518Assert.Equal(TagMode.SelfClosing, output.TagMode);
TextAreaTagHelperTest.cs (2)
140TagMode = TagMode.SelfClosing, 151Assert.Equal(TagMode.SelfClosing, output.TagMode);
Microsoft.AspNetCore.Razor (3)
TagHelpers\TagHelperOutput.cs (3)
301if (TagMode == TagMode.SelfClosing) 350if (TagMode == TagMode.SelfClosing) 405if (TagMode == TagMode.SelfClosing)
Microsoft.AspNetCore.Razor.Runtime.Test (7)
Runtime\TagHelpers\TagHelperExecutionContextTest.cs (3)
110var updatedTagMode = TagMode.SelfClosing; 190[InlineData(TagMode.SelfClosing)] 497var executionContext = new TagHelperExecutionContext("input", tagMode: TagMode.SelfClosing);
Runtime\TagHelpers\TagHelperRunnerTest.cs (3)
112[InlineData(TagMode.SelfClosing)] 169Assert.Equal(TagMode.SelfClosing, output.TagMode); 223output.TagMode = TagMode.SelfClosing;
Runtime\TagHelpers\TagHelperScopeManagerTest.cs (1)
154[InlineData(TagMode.SelfClosing)]
Microsoft.AspNetCore.Razor.Test (13)
TagHelpers\TagHelperOutputTest.cs (13)
40var expectedTagMode = TagMode.SelfClosing; 557tagMode: TagMode.SelfClosing, 573tagMode: TagMode.SelfClosing, 664tagMode: TagMode.SelfClosing, 700tagMode: TagMode.SelfClosing, 748tagMode: TagMode.SelfClosing, 760tagMode: TagMode.SelfClosing, 772tagMode: TagMode.SelfClosing, 859tagMode: TagMode.SelfClosing, 871tagMode: TagMode.SelfClosing, 883tagMode: TagMode.SelfClosing, 955tagMode: TagMode.SelfClosing, 967tagMode: TagMode.SelfClosing,