2 writes to AttributeNameField
Microsoft.AspNetCore.Components (2)
RenderTree\RenderTreeFrame.cs (1)
364AttributeNameField = attributeName;
RenderTree\RenderTreeFrameArrayBuilder.cs (1)
73AttributeNameField = attributeName,
21 references to AttributeNameField
Microsoft.AspNetCore.Components (21)
ParameterView.cs (5)
198if (!string.Equals(oldFrame.AttributeNameField, newFrame.AttributeNameField, StringComparison.Ordinal)) 237if (string.Equals(oldFrame.AttributeNameField, newFrame.AttributeNameField, StringComparison.Ordinal)) 411_current = new ParameterValue(frame.AttributeNameField, frame.AttributeValueField, false);
Rendering\RenderTreeBuilder.cs (3)
814if (!seenAttributeNames.TryAdd(frame.AttributeNameField, i)) 816var index = seenAttributeNames[frame.AttributeNameField]; 823seenAttributeNames[frame.AttributeNameField] = i;
Rendering\RenderTreeUpdater.cs (1)
68if (attributeFrame.AttributeNameField == attributeName)
RenderTree\RenderTreeDiffBuilder.cs (7)
433? (oldTree[oldStartIndex].SequenceField, oldTree[oldStartIndex].AttributeNameField) 436? (newTree[newStartIndex].SequenceField, newTree[newStartIndex].AttributeNameField) 510diffContext.AttributeDiffSet[newTree[i].AttributeNameField] = i; 515var oldName = oldTree[i].AttributeNameField; 859diffContext.Edits.Append(RenderTreeEdit.RemoveAttribute(diffContext.SiblingIndex, oldFrame.AttributeNameField)); 978newFrame.AttributeNameField.Length >= 3 && 979newFrame.AttributeNameField.StartsWith("on", StringComparison.Ordinal))
RenderTree\RenderTreeFrame.cs (5)
119public string AttributeName => AttributeNameField; 430=> new RenderTreeFrame(sequence, attributeName: AttributeNameField, AttributeValueField, AttributeEventHandlerIdField, AttributeEventUpdatesAttributeNameField); 436=> new RenderTreeFrame(SequenceField, attributeName: AttributeNameField, AttributeValueField, eventHandlerId, AttributeEventUpdatesAttributeNameField); 439=> new RenderTreeFrame(SequenceField, attributeName: AttributeNameField, attributeValue, AttributeEventHandlerIdField, AttributeEventUpdatesAttributeNameField); 442=> new RenderTreeFrame(SequenceField, attributeName: AttributeNameField, AttributeValueField, AttributeEventHandlerIdField, attributeUpdatesAttributeName);