271 references to RunGeneratorAsync
Microsoft.AspNetCore.Http.Extensions.Tests (271)
RequestDelegateGenerator\CompileTimeCreationTests.AsParameters.cs (3)
28var (generatorRunResult, compilation) = await RunGeneratorAsync(source); 79var (generatorRunResult, _) = await RunGeneratorAsync(source); 98var (generatorRunResult, _) = await RunGeneratorAsync(source);
RequestDelegateGenerator\CompileTimeCreationTests.cs (15)
24var (generatorRunResult, compilation) = await RunGeneratorAsync(""" 41var (_, compilation) = await RunGeneratorAsync(source); 141var (_, compilation) = await RunGeneratorAsync(source); 196var (generatorRunResult, compilation) = await RunGeneratorAsync(source); 378var (_, compilation) = await RunGeneratorAsync(source); 404var (_, compilation) = await RunGeneratorAsync(source); 423var (_, compilation) = await RunGeneratorAsync(source); 454var (_, compilation) = await RunGeneratorAsync(source); 471var (_, compilation) = await RunGeneratorAsync(source); 497var (_, compilation) = await RunGeneratorAsync(source); 545var (_, compilation) = await RunGeneratorAsync(source); 584var (result, compilation) = await RunGeneratorAsync(source); 603var (result, compilation) = await RunGeneratorAsync(source); 751var (generatorRunResult, _) = await RunGeneratorAsync(source); 773var (generatorRunResult, compilation) = await RunGeneratorAsync(source);
RequestDelegateGenerator\CompileTimeCreationTests.Routes.cs (3)
17var (result, compilation) = await RunGeneratorAsync(source); 40var (result, compilation) = await RunGeneratorAsync(source); 66var (result, compilation) = await RunGeneratorAsync(source);
RequestDelegateGenerator\CompileTimeIncrementalityTests.cs (4)
19var (result, compilation) = await RunGeneratorAsync(source, updatedSource); 36var (result, compilation) = await RunGeneratorAsync(source, updatedSource); 53var (result, compilation) = await RunGeneratorAsync(source, updatedSource); 74var (result, compilation) = await RunGeneratorAsync(source, updatedSource);
RequestDelegateGenerator\RequestDelegateCreationTests.Arrays.cs (31)
25var (results, compilation) = await RunGeneratorAsync(""" 46var (results, compilation) = await RunGeneratorAsync(""" 67var (results, compilation) = await RunGeneratorAsync(""" 88var (results, compilation) = await RunGeneratorAsync(""" 159var (results, compilation) = await RunGeneratorAsync($$""" 186var (results, compilation) = await RunGeneratorAsync(""" 207var (results, compilation) = await RunGeneratorAsync(""" 228var (results, compilation) = await RunGeneratorAsync(""" 249var (results, compilation) = await RunGeneratorAsync(""" 269var (results, compilation) = await RunGeneratorAsync(""" 290var (results, compilation) = await RunGeneratorAsync(""" 311var (results, compilation) = await RunGeneratorAsync(""" 332var (results, compilation) = await RunGeneratorAsync(""" 354var (results, compilation) = await RunGeneratorAsync(""" 375var (results, compilation) = await RunGeneratorAsync(""" 397var (results, compilation) = await RunGeneratorAsync(""" 418var (results, compilation) = await RunGeneratorAsync(""" 440var (results, compilation) = await RunGeneratorAsync(""" 461var (results, compilation) = await RunGeneratorAsync(""" 483var (results, compilation) = await RunGeneratorAsync(""" 504var (results, compilation) = await RunGeneratorAsync(""" 526var (results, compilation) = await RunGeneratorAsync(""" 547var (results, compilation) = await RunGeneratorAsync(""" 569var (results, compilation) = await RunGeneratorAsync(""" 590var (results, compilation) = await RunGeneratorAsync(""" 611var (results, compilation) = await RunGeneratorAsync(""" 638var (results, compilation) = await RunGeneratorAsync(""" 665var (results, compilation) = await RunGeneratorAsync(""" 692var (results, compilation) = await RunGeneratorAsync(""" 719var (results, compilation) = await RunGeneratorAsync(""" 756var (_, compilation) = await RunGeneratorAsync(source);
RequestDelegateGenerator\RequestDelegateCreationTests.AsParameters.cs (11)
24var (_, compilation) = await RunGeneratorAsync(source); 57var (_, compilation) = await RunGeneratorAsync(source); 92var (_, compilation) = await RunGeneratorAsync(source); 196var (_, compilation) = await RunGeneratorAsync(source); 220var (_, compilation) = await RunGeneratorAsync(source); 231var (_, compilation) = await RunGeneratorAsync(""" 275var (_, compilation) = await RunGeneratorAsync(source); 309var (_, compilation) = await RunGeneratorAsync(source); 336var (_, compilation) = await RunGeneratorAsync(source); 362var (_, compilation) = await RunGeneratorAsync(source); 377var (_, compilation) = await RunGeneratorAsync(source);
RequestDelegateGenerator\RequestDelegateCreationTests.BindAsync.cs (9)
53var (_, compilation) = await RunGeneratorAsync(source); 74var (_, compilation) = await RunGeneratorAsync(source); 95var (_, compilation) = await RunGeneratorAsync(source); 125var (_, compilation) = await RunGeneratorAsync(source); 167var (_, compilation) = await RunGeneratorAsync(source.ToString()); 191var (_, compilation) = await RunGeneratorAsync(source); 243var (_, compilation) = await RunGeneratorAsync(source); 299var (_, compilation) = await RunGeneratorAsync(source); 320var (_, compilation) = await RunGeneratorAsync(source);
RequestDelegateGenerator\RequestDelegateCreationTests.cs (18)
29var (results, compilation) = await RunGeneratorAsync($""" 50var (results, compilation) = await RunGeneratorAsync(""" 87var (result, compilation) = await RunGeneratorAsync(source); 109var (_, compilation) = await RunGeneratorAsync(source); 122var (results, compilation) = await RunGeneratorAsync(source); 207var (_, compilation) = await RunGeneratorAsync(source); 264var (_, compilation) = await RunGeneratorAsync(source); 304var (_, compilation) = await RunGeneratorAsync(source); 346var (_, compilation) = await RunGeneratorAsync(source); 391var (_, compilation) = await RunGeneratorAsync(source); 409var (_, compilation) = await RunGeneratorAsync(source); 427var (_, compilation) = await RunGeneratorAsync(source); 453var (_, compilation) = await RunGeneratorAsync(source); 479var (_, compilation) = await RunGeneratorAsync(source); 500var (_, compilation) = await RunGeneratorAsync(source); 525var (_, compilation) = await RunGeneratorAsync(source); 550var (_, compilation) = await RunGeneratorAsync(source); 580var (_, compilation) = await RunGeneratorAsync(source);
RequestDelegateGenerator\RequestDelegateCreationTests.Filters.cs (14)
30var (_, compilation) = await RunGeneratorAsync(source); 58var (_, compilation) = await RunGeneratorAsync(source); 95var (_, compilation) = await RunGeneratorAsync(source); 137var (_, compilation) = await RunGeneratorAsync(source); 179var (_, compilation) = await RunGeneratorAsync(source); 221var (_, compilation) = await RunGeneratorAsync(source); 265var (_, compilation) = await RunGeneratorAsync(source); 295var (_, compilation) = await RunGeneratorAsync(source); 336var (_, compilation) = await RunGeneratorAsync(source); 399var (_, compilation) = await RunGeneratorAsync(source); 456var (_, compilation) = await RunGeneratorAsync(source); 522var (_, compilation) = await RunGeneratorAsync(source); 546var (_, compilation) = await RunGeneratorAsync(source); 613var (_, compilation) = await RunGeneratorAsync(source);
RequestDelegateGenerator\RequestDelegateCreationTests.Forms.cs (27)
22var (_, compilation) = await RunGeneratorAsync(source); 57var (_, compilation) = await RunGeneratorAsync(source); 92var (_, compilation) = await RunGeneratorAsync(source); 130var (_, compilation) = await RunGeneratorAsync(source); 166var (_, compilation) = await RunGeneratorAsync(source); 209var (_, compilation) = await RunGeneratorAsync(source); 246var (_, compilation) = await RunGeneratorAsync(source); 282var (_, compilation) = await RunGeneratorAsync(source); 318var (_, compilation) = await RunGeneratorAsync(source); 355var (_, compilation) = await RunGeneratorAsync(source); 389var (_, compilation) = await RunGeneratorAsync(source); 438var (_, compilation) = await RunGeneratorAsync(source); 478var (_, compilation) = await RunGeneratorAsync(source); 541var (_, compilation) = await RunGeneratorAsync(source); 588var (_, compilation) = await RunGeneratorAsync(source); 635var (_, compilation) = await RunGeneratorAsync(source); 664var (_, compilation) = await RunGeneratorAsync(source); 697var (_, compilation) = await RunGeneratorAsync(source); 727var (_, compilation) = await RunGeneratorAsync(source); 757var (_, compilation) = await RunGeneratorAsync(source); 815var (_, compilation) = await RunGeneratorAsync(source); 863var (_, compilation) = await RunGeneratorAsync(source); 892var (_, compilation) = await RunGeneratorAsync(source); 920var (_, compilation) = await RunGeneratorAsync(source); 957var (_, compilation) = await RunGeneratorAsync(source); 991var (_, compilation) = await RunGeneratorAsync(source); 1031var (_, compilation) = await RunGeneratorAsync(source);
RequestDelegateGenerator\RequestDelegateCreationTests.JsonBody.cs (10)
81var (_, compilation) = await RunGeneratorAsync(source); 101var (_, compilation) = await RunGeneratorAsync(source); 127var (_, compilation) = await RunGeneratorAsync(source); 223var (_, compilation) = await RunGeneratorAsync(source); 263var (_, compilation) = await RunGeneratorAsync(source); 304var (_, compilation) = await RunGeneratorAsync(source); 345var (_, compilation) = await RunGeneratorAsync(source); 394var (_, compilation) = await RunGeneratorAsync(source); 422var (_, compilation) = await RunGeneratorAsync(source); 462var (_, compilation) = await RunGeneratorAsync(source);
RequestDelegateGenerator\RequestDelegateCreationTests.JsonBodyOrService.cs (5)
47var (_, compilation) = await RunGeneratorAsync(source); 77var (_, compilation) = await RunGeneratorAsync(source); 118var (_, compilation) = await RunGeneratorAsync(source); 190var (_, compilation) = await RunGeneratorAsync(source); 213var (_, compilation) = await RunGeneratorAsync(source);
RequestDelegateGenerator\RequestDelegateCreationTests.KeyServices.cs (10)
19var (_, compilation) = await RunGeneratorAsync(source); 39var (result, compilation) = await RunGeneratorAsync(source); 60var (_, compilation) = await RunGeneratorAsync(source); 85var (_, compilation) = await RunGeneratorAsync(source); 105var (_, compilation) = await RunGeneratorAsync(source); 122var (_, compilation) = await RunGeneratorAsync(source); 138var (_, compilation) = await RunGeneratorAsync(source); 158var (_, compilation) = await RunGeneratorAsync(source); 185var (_, compilation) = await RunGeneratorAsync(source); 213var (_, compilation) = await RunGeneratorAsync(source);
RequestDelegateGenerator\RequestDelegateCreationTests.Logging.cs (15)
31var (_, compilation) = await RunGeneratorAsync(source); 93var (_, compilation) = await RunGeneratorAsync(source); 141var (_, compilation) = await RunGeneratorAsync(source); 178var (_, compilation) = await RunGeneratorAsync(source); 215var (_, compilation) = await RunGeneratorAsync(source); 259var (_, compilation) = await RunGeneratorAsync(source); 295var (_, compilation) = await RunGeneratorAsync(source); 339var (_, compilation) = await RunGeneratorAsync(source); 376var (_, compilation) = await RunGeneratorAsync(source); 422var (_, compilation) = await RunGeneratorAsync(source); 471var (_, compilation) = await RunGeneratorAsync(source); 508var (_, compilation) = await RunGeneratorAsync(source); 549var (_, compilation) = await RunGeneratorAsync(source); 589var (_, compilation) = await RunGeneratorAsync(source); 629var (_, compilation) = await RunGeneratorAsync(source);
RequestDelegateGenerator\RequestDelegateCreationTests.Metadata.cs (33)
28var (_, compilation) = await RunGeneratorAsync(""" 44var (_, compilation) = await RunGeneratorAsync(""" 60var (_, compilation) = await RunGeneratorAsync(""" 74var (_, compilation) = await RunGeneratorAsync(""" 88var (_, compilation) = await RunGeneratorAsync(""" 102var (_, compilation) = await RunGeneratorAsync(""" 116var (_, compilation) = await RunGeneratorAsync(""" 130var (_, compilation) = await RunGeneratorAsync(""" 146var (_, compilation) = await RunGeneratorAsync(""" 161var (_, compilation) = await RunGeneratorAsync(""" 174var (_, compilation) = await RunGeneratorAsync(""" 188var (_, compilation) = await RunGeneratorAsync(""" 203var (_, compilation) = await RunGeneratorAsync(""" 219var (_, compilation) = await RunGeneratorAsync(""" 234var (_, compilation) = await RunGeneratorAsync(""" 249var (_, compilation) = await RunGeneratorAsync(""" 264var (_, compilation) = await RunGeneratorAsync(""" 280var (_, compilation) = await RunGeneratorAsync(""" 295var (_, compilation) = await RunGeneratorAsync(""" 310var (_, compilation) = await RunGeneratorAsync(""" 325var (_, compilation) = await RunGeneratorAsync(""" 340var (_, compilation) = await RunGeneratorAsync(""" 355var (_, compilation) = await RunGeneratorAsync(""" 375var (_, compilation) = await RunGeneratorAsync(""" 394var (_, compilation) = await RunGeneratorAsync(""" 411var (_, compilation) = await RunGeneratorAsync(""" 428var (_, compilation) = await RunGeneratorAsync(""" 445var (_, compilation) = await RunGeneratorAsync(""" 461var (_, compilation) = await RunGeneratorAsync(""" 477var (_, compilation) = await RunGeneratorAsync(""" 493var (_, compilation) = await RunGeneratorAsync(""" 508var (_, compilation) = await RunGeneratorAsync(""" 551var (_, compilation) = await RunGeneratorAsync("""
RequestDelegateGenerator\RequestDelegateCreationTests.QueryParameters.cs (5)
44var (_, compilation) = await RunGeneratorAsync(source); 86var (results, compilation) = await RunGeneratorAsync(""" 110var (results, compilation) = await RunGeneratorAsync(""" 131var (results, compilation) = await RunGeneratorAsync(""" 166var (results, compilation) = await RunGeneratorAsync($"""app.MapGet("/", ([FromQuery(Name = @"{name}")] string queryValue) => queryValue);""");
RequestDelegateGenerator\RequestDelegateCreationTests.Responses.cs (24)
28var (result, compilation) = await RunGeneratorAsync(source); 52var (result, compilation) = await RunGeneratorAsync(source); 75var (result, compilation) = await RunGeneratorAsync(source); 109var (result, compilation) = await RunGeneratorAsync(source); 133var (result, compilation) = await RunGeneratorAsync(source); 160var (result, compilation) = await RunGeneratorAsync(source); 185var (result, compilation) = await RunGeneratorAsync(source); 213var (result, compilation) = await RunGeneratorAsync(source); 234var (result, compilation) = await RunGeneratorAsync(source); 304var (_, compilation) = await RunGeneratorAsync(source); 342var (_, compilation) = await RunGeneratorAsync(source); 377var (_, compilation) = await RunGeneratorAsync(source); 403var (_, compilation) = await RunGeneratorAsync(source); 460var (_, compilation) = await RunGeneratorAsync(source); 481var (_, compilation) = await RunGeneratorAsync(source); 562var (_, compilation) = await RunGeneratorAsync(source); 642var (_, compilation) = await RunGeneratorAsync(source); 665var (_, compilation) = await RunGeneratorAsync(source); 753var (_, compilation) = await RunGeneratorAsync(source); 772var (_, compilation) = await RunGeneratorAsync(source); 830var (_, compilation) = await RunGeneratorAsync(source); 886var (_, compilation) = await RunGeneratorAsync(source); 968var (_, compilation) = await RunGeneratorAsync(source); 988var (result, compilation) = await RunGeneratorAsync(source);
RequestDelegateGenerator\RequestDelegateCreationTests.RouteParameter.cs (7)
47var (_, compilation) = await RunGeneratorAsync(source); 107var (_, compilation) = await RunGeneratorAsync(source); 131var (_, compilation) = await RunGeneratorAsync(source); 148var (_, compilation) = await RunGeneratorAsync(source); 182var (_, compilation) = await RunGeneratorAsync($$"""app.MapGet(@"/{{{routeParameterName}}}", ([FromRoute(Name=@"{{routeParameterName}}")] string routeValue) => routeValue);"""); 195var (_, compilation) = await RunGeneratorAsync($$"""app.MapGet(@"/{foo}", (int foo) => foo);"""); 217var (_, compilation) = await RunGeneratorAsync(
RequestDelegateGenerator\RequestDelegateCreationTests.SpecialTypes.cs (8)
33var (_, compilation) = await RunGeneratorAsync(source); 52var (_, compilation) = await RunGeneratorAsync(source); 75var (_, compilation) = await RunGeneratorAsync(source); 96var (_, compilation) = await RunGeneratorAsync(source); 115var (_, compilation) = await RunGeneratorAsync(source); 139var (_, compilation) = await RunGeneratorAsync(source); 243var (_, compilation) = await RunGeneratorAsync(source); 275var (_, compilation) = await RunGeneratorAsync(source);
RequestDelegateGenerator\RequestDelegateCreationTests.TryParse.cs (9)
67var (_, compilation) = await RunGeneratorAsync($$""" 112var (_, compilation) = await RunGeneratorAsync(source); 144var (_, compilation) = await RunGeneratorAsync(source); 159var (results, compilation) = await RunGeneratorAsync($$""" 182var (results, compilation) = await RunGeneratorAsync(""" 206var (results, compilation) = await RunGeneratorAsync(""" 223var (results, compilation) = await RunGeneratorAsync(""" 248var (_, compilation) = await RunGeneratorAsync($$""" 270var (_, compilation) = await RunGeneratorAsync($$"""
RequestDelegateGenerator\RuntimeCreationTests.ComplexFormBinding.cs (7)
20var (_, compilation) = await RunGeneratorAsync(source); 52var (_, compilation) = await RunGeneratorAsync(source); 88var (_, compilation) = await RunGeneratorAsync(source); 121var (_, compilation) = await RunGeneratorAsync(source); 158var (_, compilation) = await RunGeneratorAsync(source); 197var (_, compilation) = await RunGeneratorAsync(source); 230var (_, compilation) = await RunGeneratorAsync(source);
RequestDelegateGenerator\RuntimeCreationTests.cs (3)
24var (result, compilation) = await RunGeneratorAsync(source); 36var (result, compilation) = await RunGeneratorAsync(source); 50var (result, compilation) = await RunGeneratorAsync(source);