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