1 write to modified
Microsoft.AspNetCore.Components.Performance (1)
RenderTreeDiffBuilderBenchmark.cs (1)
51modified = new RenderTreeBuilder();
21 references to modified
Microsoft.AspNetCore.Components.Performance (21)
RenderTreeDiffBuilderBenchmark.cs (21)
52modified.OpenElement(0, "div"); 53modified.AddAttribute(1, "class", "form-group"); 55modified.OpenElement(2, "label"); 56modified.AddAttribute(3, "class", "control-label"); 57modified.AddAttribute(4, "for", "name"); 58modified.AddAttribute(5, "data-unvalidated", false); 59modified.AddContent(6, "Car"); 60modified.CloseElement(); 62modified.OpenElement(7, "input"); 63modified.AddAttribute(8, "class", "form-control"); 64modified.AddAttribute(9, "type", "text"); 65modified.AddAttribute(10, "name", "name"); 66modified.AddAttribute(11, "data-validation-state", "invalid"); 67modified.AddAttribute(12, "value", "Lamborghini"); 68modified.CloseElement(); 70modified.OpenElement(13, "span"); 71modified.AddAttribute(14, "class", "text-danger field-validation-invalid"); // changed 72modified.AddContent(15, "No, you can't afford that."); 73modified.CloseElement(); 75modified.CloseElement(); 82var diff = RenderTreeDiffBuilder.ComputeDiff(renderer, builder, 0, modified.GetFrames(), original.GetFrames());