65 references to Attribute
Microsoft.AspNetCore.Components (24)
ParameterView.cs (4)
190oldFinished = oldFrame.FrameTypeField != RenderTreeFrameType.Attribute; 191newFinished = newFrame.FrameTypeField != RenderTreeFrameType.Attribute; 260while (attributeFramesEndIndexExcl < ownerDescendantsEndIndexExcl && frames[attributeFramesEndIndexExcl].FrameType == RenderTreeFrameType.Attribute) 403if (_frames[nextIndex].FrameTypeField != RenderTreeFrameType.Attribute)
Rendering\RenderTreeBuilder.cs (5)
422if (frame.FrameTypeField != RenderTreeFrameType.Attribute) 424throw new ArgumentException($"The {nameof(frame.FrameType)} must be {RenderTreeFrameType.Attribute}."); 477if (prevFrame.FrameTypeField != RenderTreeFrameType.Attribute) 800if (buffer[i].FrameTypeField != RenderTreeFrameType.Attribute) 812Debug.Assert(frame.FrameTypeField == RenderTreeFrameType.Attribute, $"Frame type is {frame.FrameTypeField} at {i}");
Rendering\RenderTreeUpdater.cs (2)
32case RenderTreeFrameType.Attribute: 62if (attributeFrame.FrameTypeField != RenderTreeFrameType.Attribute)
RenderTree\Renderer.cs (1)
561case RenderTreeFrameType.Attribute:
RenderTree\RenderTreeDiffBuilder.cs (5)
796case RenderTreeFrameType.Attribute: 857case RenderTreeFrameType.Attribute: 907if (tree[index].FrameTypeField != RenderTreeFrameType.Attribute) 942case RenderTreeFrameType.Attribute: 1025else if (frame.FrameTypeField == RenderTreeFrameType.Attribute && frame.AttributeEventHandlerIdField > 0)
RenderTree\RenderTreeFrame.cs (6)
110/// If the <see cref="FrameType"/> property equals <see cref="RenderTreeFrameType.Attribute"/> 116/// If the <see cref="FrameType"/> property equals <see cref="RenderTreeFrameType.Attribute"/>, 122/// If the <see cref="FrameType"/> property equals <see cref="RenderTreeFrameType.Attribute"/>, 128/// If the <see cref="FrameType"/> property equals <see cref="RenderTreeFrameType.Attribute"/>, 362FrameTypeField = RenderTreeFrameType.Attribute; 462case RenderTreeFrameType.Attribute:
RenderTree\RenderTreeFrameArrayBuilder.cs (1)
72FrameTypeField = RenderTreeFrameType.Attribute,
Microsoft.AspNetCore.Components.Analyzers.Tests (1)
TestFiles\ComponentInternalUsageDiagnosticsAnalyzerTest\UsersRendererTypesInMethodBody.cs (1)
13var test = /*MMField*/RenderTreeFrameType.Attribute;
Microsoft.AspNetCore.Components.Authorization.Tests (1)
src\Components\Shared\test\AssertFrame.cs (1)
44Assert.Equal(RenderTreeFrameType.Attribute, frame.FrameType);
Microsoft.AspNetCore.Components.Endpoints (1)
Rendering\EndpointHtmlRenderer.EventDispatch.cs (1)
167if (candidate.FrameType == RenderTreeFrameType.Attribute)
Microsoft.AspNetCore.Components.Endpoints.Tests (4)
ImportMapTest.cs (4)
70Assert.Equal(RenderTreeFrameType.Attribute, frames.Array[1].FrameType); 117Assert.Equal(RenderTreeFrameType.Attribute, frames.Array[1].FrameType); 182Assert.Equal(RenderTreeFrameType.Attribute, frames.Array[1].FrameType); 241Assert.Equal(RenderTreeFrameType.Attribute, frames.Array[1].FrameType);
Microsoft.AspNetCore.Components.Forms.Tests (1)
src\Components\Shared\test\AssertFrame.cs (1)
44Assert.Equal(RenderTreeFrameType.Attribute, frame.FrameType);
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (1)
TestFiles\ComponentInternalUsageDiagnosticsAnalyzerTest\UsersRendererTypesInMethodBody.cs (1)
13var test = /*MMField*/RenderTreeFrameType.Attribute;
Microsoft.AspNetCore.Components.Server (1)
src\Components\Shared\src\RenderBatchWriter.cs (1)
144case RenderTreeFrameType.Attribute:
Microsoft.AspNetCore.Components.Server.Tests (4)
Circuits\RenderBatchWriterTest.cs (4)
236RenderTreeFrameType.Attribute, "Attribute with string value", "String value", 0, 0, 237RenderTreeFrameType.Attribute, "Attribute with nonstring value", NullStringMarker, 0, 0, 238RenderTreeFrameType.Attribute, "Attribute with delegate value", NullStringMarker, ((ulong)uint.MaxValue) + 1, 249RenderTreeFrameType.Attribute, "Attribute with string value", "String value", 0, 0,
Microsoft.AspNetCore.Components.Tests (18)
RendererTest.cs (17)
2650.Where(f => f.FrameType == RenderTreeFrameType.Attribute) 2684.Where(f => f.FrameType == RenderTreeFrameType.Attribute) 2726.Where(f => f.FrameType == RenderTreeFrameType.Attribute) 2777.Where(f => f.FrameType == RenderTreeFrameType.Attribute) 2812.Where(f => f.FrameType == RenderTreeFrameType.Attribute) 2864.Where(f => f.FrameType == RenderTreeFrameType.Attribute) 3057.Where(f => f.FrameType == RenderTreeFrameType.Attribute && f.AttributeName == "onmycustomevent") 3090.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.AttributeEventHandlerId != 0) 3132.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.AttributeEventHandlerId != 0) 3171.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.AttributeEventHandlerId != 0) 3211.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.AttributeEventHandlerId != 0) 3251.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.AttributeEventHandlerId != 0) 4335.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.AttributeEventHandlerId > 0) 4383.First(frame => frame.FrameType == RenderTreeFrameType.Attribute && frame.AttributeEventHandlerId > 0) 4669.Single(f => f.FrameType == RenderTreeFrameType.Attribute && f.AttributeName == "onmakeerror") 4708.Single(f => f.FrameType == RenderTreeFrameType.Attribute && f.AttributeName == "onmakeerror") 4757.Single(f => f.FrameType == RenderTreeFrameType.Attribute && f.AttributeName == "onmakeerror")
src\Components\Shared\test\AssertFrame.cs (1)
44Assert.Equal(RenderTreeFrameType.Attribute, frame.FrameType);
Microsoft.AspNetCore.Components.Web (2)
HtmlRendering\StaticHtmlRenderer.HtmlWriting.cs (2)
81case RenderTreeFrameType.Attribute: 296if (frame.FrameType != RenderTreeFrameType.Attribute)
Microsoft.AspNetCore.Components.Web.Tests (4)
Forms\EditFormTest.cs (2)
198.SkipWhile(f => f.FrameType != RenderTreeFrameType.Attribute) 199.TakeWhile(f => f.FrameType == RenderTreeFrameType.Attribute)
Forms\InputNumberTest.cs (1)
89frame.FrameType == RenderTreeFrameType.Attribute &&
src\Components\Shared\test\AssertFrame.cs (1)
44Assert.Equal(RenderTreeFrameType.Attribute, frame.FrameType);
Microsoft.AspNetCore.Components.WebView (1)
src\Components\Shared\src\RenderBatchWriter.cs (1)
144case RenderTreeFrameType.Attribute:
Microsoft.AspNetCore.Components.WebView.Test (2)
Infrastructure\TestDocument.cs (2)
214case RenderTreeFrameType.Attribute: 297if (descendantFrame.FrameType == RenderTreeFrameType.Attribute)