1 instantiation of MyStartup
Microsoft.AspNetCore.Tests (1)
WebApplicationTests.cs (1)
1835
var ex4 = Assert.Throws<NotSupportedException>(() => builder.WebHost.UseStartup(context => new
MyStartup
()));
2 references to MyStartup
Microsoft.AspNetCore.Tests (2)
WebApplicationTests.cs (2)
1833
var ex2 = Assert.Throws<NotSupportedException>(() => builder.WebHost.UseStartup<
MyStartup
>());
1834
var ex3 = Assert.Throws<NotSupportedException>(() => builder.WebHost.UseStartup(typeof(
MyStartup
)));