18 references to ErrorThrowingComponent
Microsoft.AspNetCore.Components.Tests (18)
RendererTest.cs (18)
4551builder.OpenComponent<ErrorThrowingComponent>(0); 4552builder.AddComponentParameter(1, nameof(ErrorThrowingComponent.ThrowDuringRender), exception); 4562var errorThrowingComponentId = batch.GetComponentFrames<ErrorThrowingComponent>().Single().ComponentId; 4582builder.OpenComponent<ErrorThrowingComponent>(0); 4583builder.AddComponentParameter(1, nameof(ErrorThrowingComponent.ThrowDuringParameterSettingSync), exception); 4592.GetComponentFrames<ErrorThrowingComponent>().Single().ComponentId; 4619builder.OpenComponent<ErrorThrowingComponent>(0); 4620builder.AddComponentParameter(1, nameof(ErrorThrowingComponent.ThrowDuringParameterSettingAsync), exceptionTcs?.Task); 4629.GetComponentFrames<ErrorThrowingComponent>().Single().ComponentId; 4658builder.OpenComponent<ErrorThrowingComponent>(0); 4659builder.AddComponentParameter(1, nameof(ErrorThrowingComponent.ThrowDuringEventSync), exception); 4667.GetComponentFrames<ErrorThrowingComponent>().Single().ComponentId; 4697builder.OpenComponent<ErrorThrowingComponent>(0); 4698builder.AddComponentParameter(1, nameof(ErrorThrowingComponent.ThrowDuringEventAsync), exceptionTcs.Task); 4706.GetComponentFrames<ErrorThrowingComponent>().Single().ComponentId; 4744builder.OpenComponent<ErrorThrowingComponent>(0); 4745builder.AddComponentParameter(1, nameof(ErrorThrowingComponent.ThrowDuringEventAsync), exceptionTcs.Task); 4755.GetComponentFrames<ErrorThrowingComponent>().Single().ComponentId;