13 references to Create
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
GeneratorDriverCacheTests.cs (1)
101private static GeneratorDriver[] GetDrivers(int count) => Enumerable.Range(0, count).Select(i => CSharpGeneratorDriver.Create(Array.Empty<ISourceGenerator>())).ToArray();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
SourceGeneration\GeneratorDriverTests.cs (5)
3939GeneratorDriver driver = CSharpGeneratorDriver.Create(new ISourceGenerator[] { generator }); 3982GeneratorDriver driver = CSharpGeneratorDriver.Create(new ISourceGenerator[] { generator }); 4310GeneratorDriver driver = CSharpGeneratorDriver.Create(generator1, generator2); 4379GeneratorDriver driver = CSharpGeneratorDriver.Create(generator1, generator2); 4407GeneratorDriver driver = CSharpGeneratorDriver.Create(generator1);
SourceGeneration\SyntaxAwareGeneratorTests.cs (1)
2096GeneratorDriver driver = CSharpGeneratorDriver.Create(new[] { testGenerator, testGenerator2 });
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
370_ = CSharpGeneratorDriver.Create(new Generator(receiver)).RunGenerators(comp!);
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
370_ = CSharpGeneratorDriver.Create(new Generator(receiver)).RunGenerators(comp!);
Microsoft.Gen.Logging.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
370_ = CSharpGeneratorDriver.Create(new Generator(receiver)).RunGenerators(comp!);
Microsoft.Gen.Metrics.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
370_ = CSharpGeneratorDriver.Create(new Generator(receiver)).RunGenerators(comp!);
Microsoft.Gen.MetricsReports.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
370_ = CSharpGeneratorDriver.Create(new Generator(receiver)).RunGenerators(comp!);
System.Windows.Forms.PrivateSourceGenerators.Tests (1)
EnumValidationTests.cs (1)
307CSharpGeneratorDriver driver = CSharpGeneratorDriver.Create(generator);