3 overrides of IsGeneratorEnabled
Microsoft.AspNetCore.Http.Extensions.Tests (3)
RequestDelegateGenerator\CompileTimeCreationTests.cs (1)
19
protected override bool
IsGeneratorEnabled
{ get; } = true;
RequestDelegateGenerator\CompileTimeIncrementalityTests.cs (1)
11
protected override bool
IsGeneratorEnabled
{ get; } = true;
RequestDelegateGenerator\RuntimeCreationTests.cs (1)
13
protected override bool
IsGeneratorEnabled
{ get; } = false;
6 references to IsGeneratorEnabled
Microsoft.AspNetCore.Http.Extensions.Tests (6)
RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (3)
49
if (!
IsGeneratorEnabled
)
121
var expectGeneratedCode = (expectGeneratedCodeOverride ?? true) &&
IsGeneratorEnabled
;
348
if (!
IsGeneratorEnabled
)
RequestDelegateGenerator\RequestDelegateCreationTests.KeyServices.cs (2)
43
if (
IsGeneratorEnabled
)
215
if (!
IsGeneratorEnabled
)
RequestDelegateGenerator\RequestDelegateCreationTests.QueryParameters.cs (1)
71
var parameterSource =
IsGeneratorEnabled
? "route or query string" : "query string";