154 references to Create
IdeCoreBenchmarks (1)
IncrementalSourceGeneratorBenchmarks.cs (1)
137
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(
Microsoft.Analyzers.Extra.Tests (2)
Resources\RoslynTestUtils.cs (2)
193
var cgd = CSharpGeneratorDriver.
Create
(new[] { generator }, optionsProvider: optionsProvider);
223
CSharpGeneratorDriver cgd = CSharpGeneratorDriver.
Create
(new[] { generator.AsSourceGenerator() }, parseOptions: options);
Microsoft.Analyzers.Local.Tests (2)
Resources\RoslynTestUtils.cs (2)
193
var cgd = CSharpGeneratorDriver.
Create
(new[] { generator }, optionsProvider: optionsProvider);
223
CSharpGeneratorDriver cgd = CSharpGeneratorDriver.
Create
(new[] { generator.AsSourceGenerator() }, parseOptions: options);
Microsoft.AspNetCore.Http.Extensions.Tests (9)
RequestDelegateGenerator\CompileTimeCreationTests.cs (8)
61
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(generators: new[]
87
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(generators: new[]
169
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(generators: new[]
236
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(generators: new[]
290
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(generators: new[]
337
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(generators: new[]
673
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(generators: new[]
730
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(generators: new[]
RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (1)
58
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(generators: new[]
Microsoft.AspNetCore.Http.Microbenchmarks (2)
RequestDelegateGeneratorBenchmarks.cs (1)
36
_driver = CSharpGeneratorDriver.
Create
(generators: new[]
src\Http\Http.Extensions\test\RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (1)
58
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(generators: new[]
Microsoft.CodeAnalysis.CSharp (4)
CommandLine\CSharpCompiler.cs (1)
378
return CSharpGeneratorDriver.
Create
(generators, additionalTexts, (CSharpParseOptions)parseOptions, analyzerConfigOptionsProvider, driverOptions: new GeneratorDriverOptions(disabledOutputs: IncrementalGeneratorOutputKind.Host, baseDirectory: baseDirectory));
SourceGeneration\CSharpGeneratorDriver.cs (3)
43
=>
Create
(generators, additionalTexts: null);
51
=>
Create
(incrementalGenerators.Select(GeneratorExtensions.AsSourceGenerator), additionalTexts: null);
68
=>
Create
(generators, additionalTexts, parseOptions, optionsProvider, driverOptions: default);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (127)
SourceGeneration\GeneratorDriverTests.cs (36)
40
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(ImmutableArray<ISourceGenerator>.Empty, parseOptions: parseOptions);
508
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new[] { generator.AsSourceGenerator() }, parseOptions: parseOptions);
545
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(ImmutableArray<ISourceGenerator>.Empty, parseOptions: TestOptions.Regular);
620
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator, generator2, generator3 }, parseOptions: parseOptions);
1065
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
1094
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator, generator2, generator3 }, parseOptions: parseOptions);
1137
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
1399
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator, generator2, generator3 }, parseOptions: parseOptions);
1428
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
1450
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
1475
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
1507
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new[] { generator.AsSourceGenerator() }, parseOptions: parseOptions);
1547
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
1580
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator, generator2 }, parseOptions: parseOptions);
1604
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
1625
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
1691
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1960
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
2000
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, additionalTexts: texts, driverOptions: TestOptions.GeneratorDriverOptions);
2263
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
2399
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
2472
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
3238
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
3359
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new[] { generator.AsSourceGenerator() },
3395
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
3424
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
3464
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new[] { generator, generator2 }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
3503
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
3546
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
3574
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
3630
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new[] { generator }, parseOptions: parseOptions);
3664
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new[] { generator }, parseOptions: parseOptions);
3756
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new[] { generator }, parseOptions: parseOptions);
3789
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new[] { generator }, parseOptions: parseOptions);
3880
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new[] { generator }, parseOptions: parseOptions);
4022
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.cs (43)
78
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
120
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
157
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
187
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
217
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
244
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
271
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
299
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
330
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
366
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
405
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
434
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
467
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
500
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
532
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
564
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
595
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
626
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
659
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
690
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
719
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
753
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
782
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
819
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
856
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
893
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
930
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
967
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1003
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1038
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1075
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1113
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1151
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1189
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1227
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1424
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1471
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1518
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1561
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1609
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1662
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1721
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1773
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
SourceGeneration\GeneratorDriverTests_Attributes_SimpleName.cs (46)
49
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
81
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
107
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
132
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
157
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
185
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
217
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
249
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
283
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
316
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
342
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
368
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
394
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
427
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
455
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
483
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
510
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
541
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
574
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
606
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
638
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
666
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
694
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
722
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
749
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
776
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
805
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
836
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
866
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
895
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
923
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
951
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
980
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1012
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1052
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1098
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1151
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1202
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1257
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1310
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1368
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1416
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1461
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1512
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1563
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1624
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
SourceGeneration\SyntaxAwareGeneratorTests.cs (2)
1995
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
2024
GeneratorDriver driver = CSharpGeneratorDriver.
Create
(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Workspace\LanguageServices\CSharpCompilationFactoryService.cs (1)
57
=> CSharpGeneratorDriver.
Create
(generators, additionalTexts, (CSharpParseOptions)parseOptions, optionsProvider, new GeneratorDriverOptions(baseDirectory: generatedFilesBaseDirectory));
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Host\LanguageServices\TestCSharpCompilationFactoryServiceWithIncrementalGeneratorTracking.cs (1)
60
return CSharpGeneratorDriver.
Create
(generators, additionalTexts, (CSharpParseOptions)parseOptions, optionsProvider, new GeneratorDriverOptions(IncrementalGeneratorOutputKind.None, trackIncrementalGeneratorSteps: true, baseDirectory: TempRoot.Root));
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
278
var cgd = CSharpGeneratorDriver.
Create
(new[] { generator }, optionsProvider: optionsProvider);
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
278
var cgd = CSharpGeneratorDriver.
Create
(new[] { generator }, optionsProvider: optionsProvider);
Microsoft.Gen.Logging.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
278
var cgd = CSharpGeneratorDriver.
Create
(new[] { generator }, optionsProvider: optionsProvider);
Microsoft.Gen.Metrics.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
278
var cgd = CSharpGeneratorDriver.
Create
(new[] { generator }, optionsProvider: optionsProvider);
Microsoft.Gen.MetricsReports.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
278
var cgd = CSharpGeneratorDriver.
Create
(new[] { generator }, optionsProvider: optionsProvider);