10 references to RunGenerators
Microsoft.CodeAnalysis (2)
SourceGeneration\GeneratorDriver.cs (2)
48public GeneratorDriver RunGenerators(Compilation compilation) => RunGenerators(compilation, generatorFilter: null, cancellationToken: default); 51public GeneratorDriver RunGenerators(Compilation compilation, CancellationToken cancellationToken) => RunGenerators(compilation, generatorFilter: null, cancellationToken);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
SourceGeneration\GeneratorDriverTests.cs (8)
4321driver = driver.RunGenerators(compilation, ctx => ctx.Generator == generator1); 4331driver = driver.RunGenerators(compilation, ctx => ctx.Generator == generator2); 4363driver = driver.RunGenerators(compilation, ctx => ctx.Generator == generator1); 4381driver = driver.RunGenerators(compilation, ctx => ctx.Generator == generator1); 4410driver = driver.RunGenerators(compilation, ctx => false); 4414driver = driver.RunGenerators(compilation, ctx => true); 4466driver = driver.RunGenerators(compilation, (ctx) => false); 4495driver = driver.RunGenerators(compilation, (ctx) => ctx.Generator == generator1);