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