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