1 instantiation of CSharpGeneratorDriver
Microsoft.CodeAnalysis.CSharp (1)
SourceGeneration\CSharpGeneratorDriver.cs (1)
73
internal override GeneratorDriver FromState(GeneratorDriverState state) => new
CSharpGeneratorDriver
(state);
321 references to CSharpGeneratorDriver
IdeCoreBenchmarks (1)
IncrementalSourceGeneratorBenchmarks.cs (1)
137
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(
Microsoft.Analyzers.Extra.Tests (4)
Resources\RoslynTestUtils.cs (4)
193
var
cgd =
CSharpGeneratorDriver
.Create(new[] { generator }, optionsProvider: optionsProvider);
223
CSharpGeneratorDriver
cgd =
CSharpGeneratorDriver
.Create(new[] { generator.AsSourceGenerator() }, parseOptions: options);
Microsoft.Analyzers.Local.Tests (4)
Resources\RoslynTestUtils.cs (4)
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 (12)
CommandLine\CSharpCompiler.cs (1)
378
return
CSharpGeneratorDriver
.Create(generators, additionalTexts, (CSharpParseOptions)parseOptions, analyzerConfigOptionsProvider, driverOptions: new GeneratorDriverOptions(disabledOutputs: IncrementalGeneratorOutputKind.Host, baseDirectory: baseDirectory));
SourceGeneration\CSharpGeneratorDriver.cs (11)
21
/// Creates a new instance of <see cref="
CSharpGeneratorDriver
"/>
38
/// Creates a new instance of <see cref="
CSharpGeneratorDriver
"/> with the specified <see cref="ISourceGenerator"/>s and default options
41
/// <returns>A new <see cref="
CSharpGeneratorDriver
"/> instance.</returns>
42
public static
CSharpGeneratorDriver
Create(params ISourceGenerator[] generators)
46
/// Creates a new instance of <see cref="
CSharpGeneratorDriver
"/> with the specified <see cref="IIncrementalGenerator"/>s and default options
49
/// <returns>A new <see cref="
CSharpGeneratorDriver
"/> instance.</returns>
50
public static
CSharpGeneratorDriver
Create(params IIncrementalGenerator[] incrementalGenerators)
54
/// Creates a new instance of <see cref="
CSharpGeneratorDriver
"/> with the specified <see cref="ISourceGenerator"/>s and the provided options or default.
61
/// <returns>A new <see cref="
CSharpGeneratorDriver
"/> instance.</returns>
62
public static
CSharpGeneratorDriver
Create(IEnumerable<ISourceGenerator> generators, IEnumerable<AdditionalText>? additionalTexts = null, CSharpParseOptions? parseOptions = null, AnalyzerConfigOptionsProvider? optionsProvider = null, GeneratorDriverOptions driverOptions = default)
67
public static
CSharpGeneratorDriver
Create(IEnumerable<ISourceGenerator> generators, IEnumerable<AdditionalText>? additionalTexts, CSharpParseOptions? parseOptions, AnalyzerConfigOptionsProvider? optionsProvider)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
GeneratorDriverCacheTests.cs (1)
101
private static GeneratorDriver[] GetDrivers(int count) => Enumerable.Range(0, count).Select(i =>
CSharpGeneratorDriver
.Create(Array.Empty<ISourceGenerator>())).ToArray();
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
PDB\PDBTests.cs (2)
110
var
driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator }, parseOptions: TestOptions.Regular);
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (1)
EndToEndTests.cs (1)
810
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (244)
SourceGeneration\GeneratorDriverTests.cs (110)
40
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(ImmutableArray<ISourceGenerator>.Empty, parseOptions: parseOptions);
63
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, parseOptions: parseOptions);
85
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, parseOptions: parseOptions);
106
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, parseOptions: parseOptions);
134
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator }, parseOptions: parseOptions);
166
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator }, parseOptions: parseOptions);
224
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator }, parseOptions: parseOptions);
260
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, parseOptions: parseOptions);
283
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, parseOptions: parseOptions);
305
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, parseOptions: parseOptions);
327
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, parseOptions: parseOptions);
351
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator, generator2 }, parseOptions: parseOptions);
384
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, parseOptions: parseOptions);
411
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, parseOptions: parseOptions);
438
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, parseOptions: parseOptions);
469
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, parseOptions: parseOptions);
508
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator.AsSourceGenerator() }, parseOptions: parseOptions);
529
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator, generator2 }, parseOptions: parseOptions);
545
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(ImmutableArray<ISourceGenerator>.Empty, parseOptions: TestOptions.Regular);
558
GeneratorDriver driver =
CSharpGeneratorDriver
.Create([generator], parseOptions: TestOptions.Regular);
588
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, parseOptions: parseOptions);
620
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new ISourceGenerator[] { generator, generator2, generator3 }, parseOptions: parseOptions);
673
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator, generator2 }, parseOptions: parseOptions);
720
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator, generator2 }, parseOptions: parseOptions);
760
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator, testGenerator2 }, parseOptions: parseOptions);
782
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, parseOptions: parseOptions);
808
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator }, parseOptions: parseOptions);
835
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator }, parseOptions: parseOptions, additionalTexts: texts);
863
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator }, parseOptions: parseOptions, optionsProvider: options);
894
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, parseOptions: parseOptions);
921
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, parseOptions: parseOptions);
949
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator, generator2 }, parseOptions: parseOptions);
978
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, parseOptions: parseOptions);
1008
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, parseOptions: parseOptions);
1043
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, 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);
1203
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(ImmutableArray.Create(gen), parseOptions: parseOptions);
1275
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(ImmutableArray.Create(gen), parseOptions: parseOptions);
1371
var
driver =
CSharpGeneratorDriver
.Create(new[] { gen }, 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);
1740
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new ISourceGenerator[] { generator }, additionalTexts: new[] { text1 }, 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);
2137
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, parseOptions: parseOptions);
2196
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, parseOptions: parseOptions);
2263
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
2305
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
2399
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
2472
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
2495
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(
2565
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(
2633
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new ISourceGenerator[] { generator }, parseOptions: parseOptions, optionsProvider: optionsProvider, driverOptions: TestOptions.GeneratorDriverOptions);
2711
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new ISourceGenerator[] { generator }, parseOptions: parseOptions, additionalTexts: new[] { additionalText1, additionalText2, additionalText3 }, driverOptions: TestOptions.GeneratorDriverOptions);
2901
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new ISourceGenerator[] { generator }, parseOptions: parseOptions, additionalTexts: new[] { additionalText }, driverOptions: TestOptions.GeneratorDriverOptions);
3091
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(
3159
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator.AsSourceGenerator() }, parseOptions: parseOptions, additionalTexts: new[] { new InMemoryAdditionalText("text.txt", "") }, driverOptions: TestOptions.GeneratorDriverOptions);
3206
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator1.AsSourceGenerator(), generator2.AsSourceGenerator() }, parseOptions: parseOptions, additionalTexts: new[] { additionalText }, driverOptions: TestOptions.GeneratorDriverOptions);
3238
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
3293
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator.AsSourceGenerator() }, parseOptions: parseOptions, additionalTexts: new[] { new InMemoryAdditionalText("text.txt", "") }, driverOptions: TestOptions.GeneratorDriverOptions);
3319
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator.AsSourceGenerator() },
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);
3693
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, parseOptions: parseOptions);
3724
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);
3818
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, parseOptions: parseOptions);
3848
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, parseOptions: parseOptions);
3880
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, parseOptions: parseOptions);
3909
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, parseOptions: parseOptions);
3939
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new ISourceGenerator[] { generator });
3982
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new ISourceGenerator[] { generator });
4022
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
4078
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, parseOptions: parseOptions);
4172
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(
4297
var
generatorDriver =
CSharpGeneratorDriver
.Create(incrementalGenerator);
4310
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(generator1, generator2);
4356
GeneratorDriver driver =
CSharpGeneratorDriver
.Create([generator1, generator2], parseOptions: parseOptions);
4379
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(generator1, generator2);
4407
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(generator1);
4442
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator1 });
4464
GeneratorDriver driver =
CSharpGeneratorDriver
.Create([generator], parseOptions: parseOptions);
4485
GeneratorDriver driver =
CSharpGeneratorDriver
.Create([generator1, generator2], parseOptions: parseOptions);
4521
GeneratorDriver driver =
CSharpGeneratorDriver
.Create([generator.AsSourceGenerator()], parseOptions: parseOptions);
4538
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(
4556
GeneratorDriver driver =
CSharpGeneratorDriver
.Create([generator.AsSourceGenerator()], parseOptions: parseOptions);
4576
GeneratorDriver driver =
CSharpGeneratorDriver
.Create([generator.AsSourceGenerator()], parseOptions: parseOptions);
4594
GeneratorDriver driver =
CSharpGeneratorDriver
.Create([generator1.AsSourceGenerator(), generator2.AsSourceGenerator()], parseOptions: parseOptions);
4612
GeneratorDriver driver =
CSharpGeneratorDriver
.Create([generator1.AsSourceGenerator(), generator2.AsSourceGenerator()], parseOptions: parseOptions);
4629
GeneratorDriver driver =
CSharpGeneratorDriver
.Create([generator.AsSourceGenerator()], parseOptions: parseOptions);
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.cs (46)
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);
1265
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { generator }, parseOptions: parseOptions);
1340
var driver =
CSharpGeneratorDriver
.Create([generator], parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1386
var driver =
CSharpGeneratorDriver
.Create([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 (42)
45
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator }, parseOptions: parseOptions);
71
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator }, parseOptions: parseOptions);
96
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator }, parseOptions: parseOptions);
122
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator }, parseOptions: parseOptions);
148
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator }, parseOptions: parseOptions);
175
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator }, parseOptions: parseOptions);
246
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator }, parseOptions: parseOptions);
285
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator }, parseOptions: parseOptions);
327
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator }, parseOptions: parseOptions);
381
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator }, parseOptions: parseOptions);
423
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator }, parseOptions: parseOptions);
471
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator1, testGenerator2 }, parseOptions: parseOptions);
513
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator, testGenerator2 }, parseOptions: parseOptions);
562
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator }, parseOptions: parseOptions);
593
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator }, parseOptions: parseOptions);
634
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator }, parseOptions: parseOptions);
688
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator }, parseOptions: parseOptions);
746
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator, testGenerator2 }, parseOptions: parseOptions);
804
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator }, parseOptions: parseOptions);
830
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator }, parseOptions: parseOptions);
864
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { new IncrementalGeneratorWrapper(testGenerator) }, parseOptions: parseOptions);
910
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { new IncrementalGeneratorWrapper(testGenerator) }, parseOptions: parseOptions);
956
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { new IncrementalGeneratorWrapper(testGenerator) }, parseOptions: parseOptions);
1023
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { new IncrementalGeneratorWrapper(testGenerator) }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1098
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { new IncrementalGeneratorWrapper(testGenerator) }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1186
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { new IncrementalGeneratorWrapper(testGenerator) }, parseOptions: parseOptions);
1231
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { new IncrementalGeneratorWrapper(testGenerator) }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1314
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(
1402
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(
1522
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(
1584
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { new IncrementalGeneratorWrapper(testGenerator) }, parseOptions: parseOptions);
1641
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { new IncrementalGeneratorWrapper(testGenerator) }, parseOptions: parseOptions);
1694
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { new IncrementalGeneratorWrapper(testGenerator) }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1753
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { new IncrementalGeneratorWrapper(testGenerator) }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1807
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { new IncrementalGeneratorWrapper(testGenerator) }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1861
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { new IncrementalGeneratorWrapper(testGenerator) }, parseOptions: parseOptions);
1902
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { new IncrementalGeneratorWrapper(testGenerator) }, parseOptions: parseOptions);
1948
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { new IncrementalGeneratorWrapper(testGenerator), new IncrementalGeneratorWrapper(testGenerator2) }, parseOptions: parseOptions);
1995
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
2024
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
2055
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator }, parseOptions: parseOptions);
2096
GeneratorDriver driver =
CSharpGeneratorDriver
.Create(new[] { testGenerator, testGenerator2 });
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Workspace\LanguageServices\CSharpCompilationFactoryService.cs (1)
57
=>
CSharpGeneratorDriver
.Create(generators, additionalTexts, (CSharpParseOptions)parseOptions, optionsProvider, new GeneratorDriverOptions(baseDirectory: generatedFilesBaseDirectory));
Microsoft.CodeAnalysis.Features.Test.Utilities (2)
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (2)
269
var
generatorDriver =
CSharpGeneratorDriver
.Create(
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 (7)
test\Generators\Shared\RoslynTestUtils.cs (7)
234
CSharpGeneratorDriver
cgd =
CSharpGeneratorDriver
.Create(new[] { generator });
278
var
cgd =
CSharpGeneratorDriver
.Create(new[] { generator }, optionsProvider: optionsProvider);
322
CSharpGeneratorDriver
cgd =
CSharpGeneratorDriver
.Create(generator);
370
_ =
CSharpGeneratorDriver
.Create(new Generator(receiver)).RunGenerators(comp!);
Microsoft.Gen.ContextualOptions.Unit.Tests (7)
test\Generators\Shared\RoslynTestUtils.cs (7)
234
CSharpGeneratorDriver
cgd =
CSharpGeneratorDriver
.Create(new[] { generator });
278
var
cgd =
CSharpGeneratorDriver
.Create(new[] { generator }, optionsProvider: optionsProvider);
322
CSharpGeneratorDriver
cgd =
CSharpGeneratorDriver
.Create(generator);
370
_ =
CSharpGeneratorDriver
.Create(new Generator(receiver)).RunGenerators(comp!);
Microsoft.Gen.Logging.Unit.Tests (7)
test\Generators\Shared\RoslynTestUtils.cs (7)
234
CSharpGeneratorDriver
cgd =
CSharpGeneratorDriver
.Create(new[] { generator });
278
var
cgd =
CSharpGeneratorDriver
.Create(new[] { generator }, optionsProvider: optionsProvider);
322
CSharpGeneratorDriver
cgd =
CSharpGeneratorDriver
.Create(generator);
370
_ =
CSharpGeneratorDriver
.Create(new Generator(receiver)).RunGenerators(comp!);
Microsoft.Gen.Metrics.Unit.Tests (7)
test\Generators\Shared\RoslynTestUtils.cs (7)
234
CSharpGeneratorDriver
cgd =
CSharpGeneratorDriver
.Create(new[] { generator });
278
var
cgd =
CSharpGeneratorDriver
.Create(new[] { generator }, optionsProvider: optionsProvider);
322
CSharpGeneratorDriver
cgd =
CSharpGeneratorDriver
.Create(generator);
370
_ =
CSharpGeneratorDriver
.Create(new Generator(receiver)).RunGenerators(comp!);
Microsoft.Gen.MetricsReports.Unit.Tests (7)
test\Generators\Shared\RoslynTestUtils.cs (7)
234
CSharpGeneratorDriver
cgd =
CSharpGeneratorDriver
.Create(new[] { generator });
278
var
cgd =
CSharpGeneratorDriver
.Create(new[] { generator }, optionsProvider: optionsProvider);
322
CSharpGeneratorDriver
cgd =
CSharpGeneratorDriver
.Create(generator);
370
_ =
CSharpGeneratorDriver
.Create(new Generator(receiver)).RunGenerators(comp!);
System.Windows.Forms.PrivateSourceGenerators.Tests (2)
EnumValidationTests.cs (2)
307
CSharpGeneratorDriver
driver =
CSharpGeneratorDriver
.Create(generator);