316 references to OpenElement
Microsoft.AspNetCore.Components (1)
Rendering\RenderTreeBuilder.cs (1)
61/// must be balanced with calls to <see cref="OpenElement(int, string)"/>.
Microsoft.AspNetCore.Components.Endpoints (1)
Assets\ImportMap.cs (1)
63builder.OpenElement(0, "script");
Microsoft.AspNetCore.Components.Endpoints.Tests (6)
EndpointHtmlRendererTest.cs (6)
980builder.OpenElement(0, "form"); 1016builder.OpenElement(0, "form"); 1508builder.OpenElement(0, "form"); 1521builder.OpenElement(0, "form"); 1551builder.OpenElement(0, "form"); 1570builder.OpenElement(0, "form");
Microsoft.AspNetCore.Components.Performance (8)
RenderTreeDiffBuilderBenchmark.cs (8)
26original.OpenElement(0, "div"); 29original.OpenElement(2, "label"); 36original.OpenElement(7, "input"); 43original.OpenElement(13, "span"); 52modified.OpenElement(0, "div"); 55modified.OpenElement(2, "label"); 62modified.OpenElement(7, "input"); 70modified.OpenElement(13, "span");
Microsoft.AspNetCore.Components.Server.Tests (14)
Circuits\CircuitHostTest.cs (1)
910builder.OpenElement(0, "my element");
Circuits\RemoteRendererTest.cs (13)
40builder.OpenElement(0, "my element"); 61builder.OpenElement(0, "my element"); 85builder.OpenElement(0, "my element"); 148builder.OpenElement(0, "my element"); 205builder.OpenElement(0, "my element"); 225builder.OpenElement(0, "offline element"); 268builder.OpenElement(0, "my element"); 288builder.OpenElement(0, "offline element"); 336builder.OpenElement(0, "my element"); 351builder.OpenElement(0, "offline element"); 393builder.OpenElement(0, "my element"); 408builder.OpenElement(0, "offline element"); 734builder.OpenElement(0, "my element");
Microsoft.AspNetCore.Components.Tests (211)
ComponentBaseTest.cs (1)
496builder.OpenElement(0, "p");
RendererTest.cs (23)
35builder.OpenElement(0, "my element"); 3121builder.OpenElement(0, "input"); 3160builder.OpenElement(0, "input"); 3194builder.OpenElement(0, "input"); 3234builder.OpenElement(0, "input"); 3274builder.OpenElement(0, "parent elem"); 3277builder.OpenElement(3, "child elem"); 4168builder.OpenElement(0, "my element"); 4532builder.OpenElement(0, "myElem"); 4992builder.OpenElement(0, "h2"); 5014builder.OpenElement(0, "h2"); 5244builder.OpenElement(0, "strong"); 5308builder.OpenElement(0, "grandparent"); 5311builder.OpenElement(1, "parent"); 5312builder.OpenElement(2, "some element"); 5441builder.OpenElement(0, "my button"); 5486builder.OpenElement(0, "input"); 5491builder.OpenElement(4, "input"); 5603builder.OpenElement(0, "p"); 5683builder.OpenElement(0, "div"); 5897builder.OpenElement(0, "p"); 5910builder.OpenElement(0, "element with event"); 6029builder.OpenElement(0, "someelem");
Rendering\RenderTreeBuilderTest.cs (75)
52builder.OpenElement(0, "some elem"); 147builder.OpenElement(0, "my element"); 162builder.OpenElement(0, "my element"); 178builder.OpenElement(0, "my element"); 198builder.OpenElement(0, "root"); // 1: <root> 201builder.OpenElement(0, "child"); // 4: <child> 203builder.OpenElement(0, "grandchild"); // 6: <grandchild> 209builder.OpenElement(0, "child 2"); // 10: <child 2> 238builder.OpenElement(0, "myelement"); // 0: <myelement 241builder.OpenElement(0, "child"); // 3: <child 264builder.OpenElement(0, "myelement"); 283builder.OpenElement(0, "myelement"); 329builder.OpenElement(0, "myelement"); 336builder.OpenElement(3, "child"); 413builder.OpenElement(0, "myelement"); 476builder.OpenElement(0, "some element"); 491builder.OpenElement(0, "some element"); 506builder.OpenElement(0, "some element"); 549builder.OpenElement(0, "some element"); 594builder.OpenElement(0, "some element"); 606builder.OpenElement(10, "parent"); // 0: <parent> 634builder.OpenElement(10, "parent"); // 0: <parent> 661builder.OpenElement(10, "parent"); // 0: <parent> 665builder.OpenElement(3, "another"); // 4: <another> 690fragmentBuilder.OpenElement(1, "Fragment element"); 696builder.OpenElement(10, "parent"); 717builder.OpenElement(0, "myelement"); // 0: <myelement 786builder.OpenElement(0, "myelement"); 842builder.OpenElement(0, "myelement"); 895builder.OpenElement(1, "elem"); 911builder.OpenElement(0, "elem"); 929builder.OpenElement(0, "elem"); 986builder.OpenElement(0, "elem"); 1004builder.OpenElement(0, "elem"); 1063builder.OpenElement(0, "elem"); 1081builder.OpenElement(0, "elem"); 1100builder.OpenElement(0, "elem"); 1118builder.OpenElement(0, "elem"); 1180builder.OpenElement(0, "elem"); 1199builder.OpenElement(0, "elem"); 1218builder.OpenElement(0, "elem"); 1277builder.OpenElement(0, "elem"); 1296builder.OpenElement(0, "elem"); 1315builder.OpenElement(0, "elem"); 1373builder.OpenElement(0, "elem"); 1391builder.OpenElement(0, "elem"); 1428builder.OpenElement(0, "elem"); 1466builder.OpenElement(0, "elem"); 1506builder.OpenElement(0, "elem"); 1545builder.OpenElement(0, "elem"); 1564builder.OpenElement(0, "elem"); 1583builder.OpenElement(0, "elem"); 1622builder.OpenElement(0, "elem"); 1641builder.OpenElement(0, "elem"); 1660builder.OpenElement(0, "elem"); 1678builder.OpenElement(0, "elem"); 1696builder.OpenElement(0, "elem"); 1761builder.OpenElement(0, "some element"); 1777builder.OpenElement(0, "elem"); 1817builder.OpenElement(0, "div"); 1840builder.OpenElement(0, "div"); 1865builder.OpenElement(0, "div"); 1890builder.OpenElement(0, "div"); 1960builder.OpenElement(0, "div"); 1966builder.OpenElement(0, "strong"); 1990builder.OpenElement(0, "div"); 2026builder.OpenElement(0, "myElem"); 2044builder.OpenElement(0, "outerElem"); 2045builder.OpenElement(1, "innerElem"); 2133builder.OpenElement(0, "something"); 2190builder.OpenElement(0, "elem"); 2223builder.OpenElement(0, "elem"); 2238builder.OpenElement(0, "elem"); 2253builder.OpenElement(0, "elem"); 2268builder.OpenElement(0, "elem");
RenderTreeDiffBuilderTest.cs (103)
54builder.OpenElement(0, "Some Element"); 59builder.OpenElement(0, "Some Element"); 115oldTree.OpenElement(0, "container"); 120newTree.OpenElement(0, "container"); 125newTree.OpenElement(0, "container"); 150oldTree.OpenElement(0, "container"); 155oldTree.OpenElement(0, "container"); 160newTree.OpenElement(0, "container"); 180oldTree.OpenElement(0, "container"); 185newTree.OpenElement(0, "container"); 444oldTree.OpenElement(1, "el"); 448newTree.OpenElement(2, "other"); 451newTree.OpenElement(1, "el"); 455newTree.OpenElement(0, "other 2"); 475oldTree.OpenElement(2, "other"); 478oldTree.OpenElement(1, "el"); 482oldTree.OpenElement(0, "other 2"); 485newTree.OpenElement(1, "el"); 506oldTree.OpenElement(0, "el"); 509newTree.OpenElement(0, "el"); 536oldTree.OpenElement(0, "el"); 540newTree.OpenElement(0, "el"); 788oldTree.OpenElement(123, "old element"); 790newTree.OpenElement(123, "new element"); 836oldTree.OpenElement(0, "My element"); 839newTree.OpenElement(0, "My element"); 861oldTree.OpenElement(0, "My element"); 865newTree.OpenElement(0, "My element"); 885oldTree.OpenElement(0, "My element"); 889newTree.OpenElement(0, "My element"); 914oldTree.OpenElement(0, "My element"); 918newTree.OpenElement(0, "My element"); 945oldTree.OpenElement(0, "My element"); 948newTree.OpenElement(0, "My element"); 974oldTree.OpenElement(0, "My element"); 978newTree.OpenElement(0, "My element"); 1004oldTree.OpenElement(0, "My element"); 1008newTree.OpenElement(0, "My element"); 1035oldTree.OpenElement(0, "My element"); 1039newTree.OpenElement(0, "My element"); 1066oldTree.OpenElement(0, "My element"); 1070newTree.OpenElement(0, "My element"); 1096oldTree.OpenElement(0, "My element"); 1100newTree.OpenElement(0, "My element"); 1127oldTree.OpenElement(0, "My element"); 1131newTree.OpenElement(0, "My element"); 1158oldTree.OpenElement(0, "My element"); 1163newTree.OpenElement(0, "My element"); 1185oldTree.OpenElement(0, "My element"); 1190newTree.OpenElement(0, "My element"); 1212oldTree.OpenElement(0, "My element"); 1217newTree.OpenElement(0, "My element"); 1239oldTree.OpenElement(0, "My element"); 1244newTree.OpenElement(0, "My element"); 1266oldTree.OpenElement(0, "My element"); 1271newTree.OpenElement(0, "My element"); 1293oldTree.OpenElement(0, "My element"); 1298newTree.OpenElement(0, "My element"); 1321oldTree.OpenElement(10, "root"); 1322oldTree.OpenElement(11, "child"); 1323oldTree.OpenElement(12, "grandchild"); 1330newTree.OpenElement(10, "root"); 1331newTree.OpenElement(11, "child"); 1332newTree.OpenElement(12, "grandchild"); 1361oldTree.OpenElement(10, "root"); 1363oldTree.OpenElement(12, "Subtree that will not change"); 1364oldTree.OpenElement(13, "Another"); 1370newTree.OpenElement(10, "root"); 1372newTree.OpenElement(12, "Subtree that will not change"); 1373newTree.OpenElement(13, "Another"); 1426newTree.OpenElement(1, "root"); 1552oldTree.OpenElement(11, "container"); // 1: <container> 1555newTree.OpenElement(11, "container"); // 1: <container> 1614oldTree.OpenElement(11, "container"); // 1: <container> 1621newTree.OpenElement(11, "container"); // 1: <container> 1652oldTree.OpenElement(0, "My element"); 1655newTree.OpenElement(0, "My element"); 1678oldTree.OpenElement(0, "My element"); 1681newTree.OpenElement(0, "My element"); 1844newTree.OpenElement(0, "My element"); 1884oldTree.OpenElement(0, "My element"); 1887newTree.OpenElement(0, "My element"); 1972oldTree.OpenElement(0, "container"); 1979oldTree.OpenElement(0, "container"); 1984newTree.OpenElement(0, "container"); 1991newTree.OpenElement(0, "container"); 2175oldTree.OpenElement(0, "some elem"); 2201newTree.OpenElement(0, "some elem"); 2222oldTree.OpenElement(0, "existing"); 2226newTree.OpenElement(0, "existing"); 2230newTree.OpenElement(2, "new element"); 2253oldTree.OpenElement(0, "retaining"); 2257oldTree.OpenElement(2, "removing"); 2261newTree.OpenElement(0, "retaining"); 2279oldTree.OpenElement(0, "elem"); 2283newTree.OpenElement(0, "elem"); 2307oldTree.OpenElement(0, "elem"); 2312newTree.OpenElement(0, "elem"); 2333oldTree.OpenElement(0, "elem"); 2338newTree.OpenElement(0, "elem"); 2366oldTree.OpenElement(0, "elem"); 2371newTree.OpenElement(0, "elem"); 2444builder.OpenElement(0, "el");
RenderTreeUpdaterTest.cs (9)
19builder.OpenElement(0, "elem"); 47builder.OpenElement(0, "elem"); 72builder.OpenElement(0, "elem"); 77builder.OpenElement(3, "elem"); 110builder.OpenElement(0, "elem"); 135builder.OpenElement(0, "elem"); 159builder.OpenElement(0, "grandparent"); 161builder.OpenElement(2, "sibling before"); // To show that non-ancestors aren't expanded 163builder.OpenElement(3, "elem with handler");
Microsoft.AspNetCore.Components.Web (21)
Forms\AntiforgeryToken.cs (1)
42builder.OpenElement(0, "input");
Forms\EditForm.cs (1)
140builder.OpenElement(0, "form");
Forms\InputCheckbox.cs (1)
34builder.OpenElement(0, "input");
Forms\InputDate.cs (1)
86builder.OpenElement(0, "input");
Forms\InputFile.cs (1)
60builder.OpenElement(0, "input");
Forms\InputNumber.cs (1)
54builder.OpenElement(0, "input");
Forms\InputRadio.cs (1)
65builder.OpenElement(0, "input");
Forms\InputSelect.cs (1)
41builder.OpenElement(0, "select");
Forms\InputText.cs (1)
34builder.OpenElement(0, "input");
Forms\InputTextArea.cs (1)
34builder.OpenElement(0, "textarea");
Forms\ValidationMessage.cs (1)
73builder.OpenElement(0, "div");
Forms\ValidationSummary.cs (2)
75builder.OpenElement(0, "ul"); 80builder.OpenElement(3, "li");
Head\HeadOutlet.cs (1)
61builder.OpenElement(0, "title");
Head\PageTitle.cs (1)
31builder.OpenElement(0, "title");
Routing\FocusOnNavigate.cs (1)
69builder.OpenElement(0, CustomElementName);
Routing\NavLink.cs (1)
162builder.OpenElement(0, "a");
Virtualization\Virtualize.cs (3)
224builder.OpenElement(0, SpacerElement); 285builder.OpenElement(7, SpacerElement); 459builder.OpenElement(0, "div");
Web\ErrorBoundary.cs (1)
47builder.OpenElement(2, "div");
Microsoft.AspNetCore.Components.Web.Tests (52)
HtmlRendering\HtmlRendererTest.cs (51)
52rtb.OpenElement(0, "p"); 74rtb.OpenElement(0, "p"); 97rtb.OpenElement(0, "p"); 120rtb.OpenElement(0, "p"); 143rtb.OpenElement(0, "p"); 174rtb.OpenElement(0, "p"); 200rtb.OpenElement(0, "p"); 225rtb.OpenElement(0, "input"); 248rtb.OpenElement(0, "input"); 271rtb.OpenElement(0, "p"); 272rtb.OpenElement(1, "span"); 300rtb.OpenElement(0, "p"); 301rtb.OpenElement(1, "span"); 304rtb.OpenElement(3, "span"); 335rtb.OpenElement(0, "p"); 336rtb.OpenElement(1, "select"); 342rtb.OpenElement(5, "option"); 351rtb.OpenElement(9, "option"); // To show other value-matching options don't get marked as selected 376rtb.OpenElement(0, "textarea"); 401rtb.OpenElement(0, "textarea"); 426rtb.OpenElement(0, "textarea"); 450rtb.OpenElement(0, "textarea"); 474rtb.OpenElement(0, "input"); 498rtb.OpenElement(0, "meta"); 521rtb.OpenElement(0, "input"); 551rtb.OpenElement(0, "select"); 556rtb.OpenElement(2, "optgroup"); 557rtb.OpenElement(3, "option"); 588rtb.OpenElement(0, "p"); 589rtb.OpenElement(1, "span"); 619rtb.OpenElement(0, "p"); 620rtb.OpenElement(1, "span"); 650rtb.OpenElement(0, "p"); 651rtb.OpenElement(1, "input"); 685rtb.OpenElement(0, "p"); 686rtb.OpenElement(1, "span"); 713rtb.OpenElement(0, "p"); 715rtb.OpenElement(2, "span"); 840builder.OpenElement(0, "p"); 989rtb.OpenElement(0, "script"); 1018rtb.OpenElement(0, "div"); 1041rtb.OpenElement(0, "form"); 1064rtb.OpenElement(0, "form"); 1092rtb.OpenElement(0, "form"); 1126rtb.OpenElement(0, "form"); 1147rtb.OpenElement(0, "form"); 1169rtb.OpenElement(0, "form"); 1191rtb.OpenElement(0, "form"); 1230builder.OpenElement(0, "p"); 1260builder.OpenElement(0, "p"); 1288rtb.OpenElement(1, "span");
Virtualization\VirtualizeTest.cs (1)
134builder.OpenElement(0, "div");
Microsoft.AspNetCore.Components.WebView.Test (2)
WebViewManagerTests.cs (2)
133builder.OpenElement(0, "p"); 157builder.OpenElement(0, "p");