123 references to RunGeneratorsAndUpdateCompilation
Microsoft.AspNetCore.Http.Extensions.Tests (10)
RequestDelegateGenerator\CompileTimeCreationTests.cs (8)
67driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var updatedCompilation, 93driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var updatedCompilation, 175driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var updatedCompilation, 242driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var updatedCompilation, 296driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var updatedCompilation, 343driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var updatedCompilation, 679driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var updatedCompilation, 736driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var updatedCompilation,
RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (2)
64driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var updatedCompilation, 71driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out updatedCompilation,
Microsoft.AspNetCore.Http.Microbenchmarks (3)
RequestDelegateGeneratorBenchmarks.cs (1)
47_driver.RunGeneratorsAndUpdateCompilation(_compilation, out var _, out var _);
src\Http\Http.Extensions\test\RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (2)
64driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var updatedCompilation, 71driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out updatedCompilation,
Microsoft.CodeAnalysis (1)
CommandLine\CommonCompiler.cs (1)
839driver = driver.RunGeneratorsAndUpdateCompilation(input, out var compilationOut, out var diagnostics);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
PDB\PDBTests.cs (1)
111driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out _);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (85)
SourceGeneration\GeneratorDriverTests.cs (60)
41driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var diagnostics); 64driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var diagnostics); 107driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out _); 108driver = driver.RunGeneratorsAndUpdateCompilation(outputCompilation, out outputCompilation, out _); 109driver.RunGeneratorsAndUpdateCompilation(outputCompilation, out outputCompilation, out _); 135driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out _); 167driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out _); 225driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation1, out _); 226driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation2, out _); 227driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation3, out _); 261driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var generatorDiagnostics); 284driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var generatorDiagnostics); 306driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out _); 328driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var generatorDiagnostics); 352driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var generatorDiagnostics); 385driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var generatorDiagnostics); 412driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var generatorDiagnostics); 439driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var generatorDiagnostics); 470driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var generatorDiagnostics); 509driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var generatorDiagnostics); 530driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var generatorDiagnostics); 721driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out _, out var fullDiagnostics); 764driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var outputDiagnostics, cts.Token) 783driver.RunGeneratorsAndUpdateCompilation(compilation, out _, out var outputDiagnostics); 809driver.RunGeneratorsAndUpdateCompilation(compilation, out _, out _); 836driver.RunGeneratorsAndUpdateCompilation(compilation, out _, out _); 864driver.RunGeneratorsAndUpdateCompilation(compilation, out _, out _); 895driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out _); 922driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out _); 950driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out _); 979driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out _, out _); 980driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out _, out _); 981driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out _); 1009driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var generatorDiagnostics); 1044driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var generatorDiagnostics); 1206driver.RunGeneratorsAndUpdateCompilation(updatedCompilation, out var outputCompilation, out var diagnostics); 1277driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var diagnostics); 1372driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var diagnostics); 1605driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var diagnostics); 1626driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var diagnostics); 2159driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var generatorDiagnostics); 2217driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var generatorDiagnostics); 2360driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var generatorDiagnostics); 3575driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out compilation, out var diagnostics); 3587driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out compilation, out diagnostics); 3599driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out compilation, out diagnostics); 3631driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out compilation, out var diagnostics); 3665driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out compilation, out var diagnostics); 3694driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out compilation, out var diagnostics); 3725driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out compilation, out var diagnostics); 3757driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out compilation, out var diagnostics); 3790driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out compilation, out var diagnostics); 3819driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out compilation, out var diagnostics); 3849driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out compilation, out var diagnostics); 3881driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out compilation, out var diagnostics); 3910driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out compilation, out var diagnostics); 4096driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var generatorDiagnostics); 4181driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var generatorDiagnostics); 4358driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var outputDiagnostics); 4366driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out outputCompilation, out outputDiagnostics);
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.cs (1)
1291driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var generatorDiagnostics);
SourceGeneration\SyntaxAwareGeneratorTests.cs (24)
46driver.RunGeneratorsAndUpdateCompilation(compilation, out _, out _); 72driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out _); 97driver.RunGeneratorsAndUpdateCompilation(compilation, out _, out _); 123driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out _); 149driver.RunGeneratorsAndUpdateCompilation(compilation, out _, out _); 176driver.RunGeneratorsAndUpdateCompilation(compilation, out _, out _); 247driver.RunGeneratorsAndUpdateCompilation(compilation, out _, out _); 286driver.RunGeneratorsAndUpdateCompilation(compilation, out _, out _); 328driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out _, out _); 343driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out _, out _); 382driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var outputDiagnostics); 424driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var outputDiagnostics); 472driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var outputDiagnostics); 514driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var outputDiagnostics); 563driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var outputDiagnostics); 594driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var outputDiagnostics); 635driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var outputDiagnostics); 689driver.RunGeneratorsAndUpdateCompilation(compilation, out _, out _); 747driver.RunGeneratorsAndUpdateCompilation(compilation, out _, out _); 805driver.RunGeneratorsAndUpdateCompilation(compilation, out _, out _); 831driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var outputDiagnostics); 1862driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var outputDiagnostics); 1903driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var outputDiagnostics); 1949driver = driver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var outputDiagnostics);
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (1)
294generatorDriver.RunGeneratorsAndUpdateCompilation(compilation, out var outputCompilation, out var generatorDiagnostics);
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (21)
SourceGeneration\GeneratorDriverTests.vb (21)
32driver.RunGeneratorsAndUpdateCompilation(compilation, outputCompilation, outputDiagnostics) 56driver.RunGeneratorsAndUpdateCompilation(compilation, outputCompilation, outputDiagnostics) 70driver.RunGeneratorsAndUpdateCompilation(compilation, outputCompilation, outputDiagnostics) 98driver.RunGeneratorsAndUpdateCompilation(compilation, outputCompilation, outputDiagnostics) 121driver.RunGeneratorsAndUpdateCompilation(compilation, outputCompilation, outputDiagnostics) 137driver.RunGeneratorsAndUpdateCompilation(compilation, outputCompilation, outputDiagnostics) 153driver.RunGeneratorsAndUpdateCompilation(compilation, outputCompilation, outputDiagnostics) 318driver.RunGeneratorsAndUpdateCompilation(compilation, compilation, Diagnostics) 350driver.RunGeneratorsAndUpdateCompilation(compilation, compilation, diagnostics) 379driver.RunGeneratorsAndUpdateCompilation(compilation, compilation, diagnostics) 410driver.RunGeneratorsAndUpdateCompilation(compilation, compilation, diagnostics) 440driver.RunGeneratorsAndUpdateCompilation(compilation, compilation, diagnostics) 471driver.RunGeneratorsAndUpdateCompilation(compilation, compilation, diagnostics) 500driver.RunGeneratorsAndUpdateCompilation(compilation, compilation, diagnostics) 530driver.RunGeneratorsAndUpdateCompilation(compilation, compilation, diagnostics) 560driver.RunGeneratorsAndUpdateCompilation(compilation, compilation, diagnostics) 589driver.RunGeneratorsAndUpdateCompilation(compilation, compilation, diagnostics) 604driver.RunGeneratorsAndUpdateCompilation(compilation, outputCompilation, outputDiagnostics) 622driver.RunGeneratorsAndUpdateCompilation(compilation, outputCompilation, outputDiagnostics) 656driver.RunGeneratorsAndUpdateCompilation(compilation, outputCompilation, diagnostics) 683driver.RunGeneratorsAndUpdateCompilation(compilation, outputCompilation, diagnostics)
System.Windows.Forms.PrivateSourceGenerators.Tests (1)
EnumValidationTests.cs (1)
308driver.RunGeneratorsAndUpdateCompilation(compilation, out Compilation outputCompilation, out ImmutableArray<Diagnostic> diagnostics);