20 writes to FrameTypeField
Microsoft.AspNetCore.Components (20)
RenderTree\RenderTreeFrame.cs (10)
309
FrameTypeField
= RenderTreeFrameType.Element;
320
FrameTypeField
= RenderTreeFrameType.Component;
337
FrameTypeField
= RenderTreeFrameType.Region;
348
FrameTypeField
= RenderTreeFrameType.Markup;
353
FrameTypeField
= RenderTreeFrameType.Text;
362
FrameTypeField
= RenderTreeFrameType.Attribute;
374
FrameTypeField
= RenderTreeFrameType.ElementReferenceCapture;
384
FrameTypeField
= RenderTreeFrameType.ComponentReferenceCapture;
418
=> new RenderTreeFrame { SequenceField = sequence,
FrameTypeField
= RenderTreeFrameType.NamedEvent, NamedEventTypeField = eventType, NamedEventAssignedNameField = assignedName };
421
=> new RenderTreeFrame { SequenceField = sequence,
FrameTypeField
= RenderTreeFrameType.ComponentRenderMode, ComponentRenderModeField = renderMode };
RenderTree\RenderTreeFrameArrayBuilder.cs (10)
27
FrameTypeField
= RenderTreeFrameType.Element,
42
FrameTypeField
= RenderTreeFrameType.Text,
57
FrameTypeField
= RenderTreeFrameType.Markup,
72
FrameTypeField
= RenderTreeFrameType.Attribute,
88
FrameTypeField
= RenderTreeFrameType.Component,
103
FrameTypeField
= RenderTreeFrameType.ElementReferenceCapture,
118
FrameTypeField
= RenderTreeFrameType.ComponentReferenceCapture,
134
FrameTypeField
= RenderTreeFrameType.Region,
148
FrameTypeField
= RenderTreeFrameType.ComponentRenderMode,
163
FrameTypeField
= RenderTreeFrameType.NamedEvent,
37 references to FrameTypeField
Microsoft.AspNetCore.Components (37)
ParameterView.cs (3)
190
oldFinished = oldFrame.
FrameTypeField
!= RenderTreeFrameType.Attribute;
191
newFinished = newFrame.
FrameTypeField
!= RenderTreeFrameType.Attribute;
403
if (_frames[nextIndex].
FrameTypeField
!= RenderTreeFrameType.Attribute)
Rendering\RenderTreeBuilder.cs (12)
422
if (frame.
FrameTypeField
!= RenderTreeFrameType.Attribute)
477
if (prevFrame.
FrameTypeField
!= RenderTreeFrameType.Attribute)
479
throw new InvalidOperationException($"Incorrect frame type: '{prevFrame.
FrameTypeField
}'");
541
switch (parentFrame.
FrameTypeField
)
550
throw new InvalidOperationException($"Cannot set a key on a frame of type {parentFrame.
FrameTypeField
}.");
617
if (_entries.Buffer[parentFrameIndexValue].
FrameTypeField
!= RenderTreeFrameType.Component)
652
if (parentFrame.
FrameTypeField
!= RenderTreeFrameType.Component)
739
? _entries.Buffer[parentIndex.Value].
FrameTypeField
800
if (buffer[i].
FrameTypeField
!= RenderTreeFrameType.Attribute)
812
Debug.Assert(frame.
FrameTypeField
== RenderTreeFrameType.Attribute, $"Frame type is {frame.
FrameTypeField
} at {i}");
855
if (frame.
FrameTypeField
!= RenderTreeFrameType.None)
Rendering\RenderTreeUpdater.cs (3)
27
switch (frame.
FrameTypeField
)
62
if (attributeFrame.
FrameTypeField
!= RenderTreeFrameType.Attribute)
94
switch (otherFrame.
FrameTypeField
)
RenderTree\Renderer.cs (1)
527
if (frame.
FrameTypeField
!= RenderTreeFrameType.Component)
RenderTree\RenderTreeDiffBuilder.cs (16)
377
switch (frame.
FrameTypeField
)
392
switch (frame.
FrameTypeField
)
541
switch (frame.
FrameTypeField
)
566
var newFrameType = newFrame.
FrameTypeField
;
567
if (oldFrame.
FrameTypeField
!= newFrameType)
749
throw new NotImplementedException($"Encountered unsupported frame type during diffing: {newTree[newFrameIndex].
FrameTypeField
}");
794
switch (newFrame.
FrameTypeField
)
847
throw new NotImplementedException($"Unexpected frame type during {nameof(InsertNewFrame)}: {newFrame.
FrameTypeField
}");
855
switch (oldFrame.
FrameTypeField
)
897
throw new NotImplementedException($"Unexpected frame type during {nameof(RemoveOldFrame)}: {oldFrame.
FrameTypeField
}");
907
if (tree[index].
FrameTypeField
!= RenderTreeFrameType.Attribute)
937
switch (frame.
FrameTypeField
)
995
if (parentFrame.
FrameTypeField
!= RenderTreeFrameType.Component)
1021
if (frame.
FrameTypeField
== RenderTreeFrameType.Component && frame.ComponentStateField != null)
1025
else if (frame.
FrameTypeField
== RenderTreeFrameType.Attribute && frame.AttributeEventHandlerIdField > 0)
1029
else if (frame.
FrameTypeField
== RenderTreeFrameType.NamedEvent)
RenderTree\RenderTreeFrame.cs (2)
59
public RenderTreeFrameType FrameType =>
FrameTypeField
;
460
switch (
FrameTypeField
)