2 types derived from GeneratorDriver
Microsoft.CodeAnalysis.CSharp (1)
SourceGeneration\CSharpGeneratorDriver.cs (1)
18
public sealed class CSharpGeneratorDriver :
GeneratorDriver
Microsoft.CodeAnalysis.VisualBasic (1)
SourceGeneration\VisualBasicGeneratorDriver.vb (1)
16
Inherits
GeneratorDriver
460 references to GeneratorDriver
IdeCoreBenchmarks (1)
IncrementalSourceGeneratorBenchmarks.cs (1)
137
GeneratorDriver
driver = CSharpGeneratorDriver.Create(
Microsoft.Analyzers.Extra.Tests (2)
Resources\RoslynTestUtils.cs (2)
194
var
gd = cgd.RunGenerators(comp!, cancellationToken);
225
var
gd = cgd.RunGenerators(comp!, cancellationToken);
Microsoft.Analyzers.Local.Tests (2)
Resources\RoslynTestUtils.cs (2)
194
var
gd = cgd.RunGenerators(comp!, cancellationToken);
225
var
gd = cgd.RunGenerators(comp!, cancellationToken);
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)
19
private
GeneratorDriver
_driver;
src\Http\Http.Extensions\test\RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (1)
58
GeneratorDriver
driver = CSharpGeneratorDriver.Create(generators: new[]
Microsoft.CodeAnalysis (27)
CommandLine\CommonCompiler.cs (2)
824
GeneratorDriver
? driver = null;
877
private protected abstract
GeneratorDriver
CreateGeneratorDriver(string baseDirectory, ParseOptions parseOptions, ImmutableArray<ISourceGenerator> generators, AnalyzerConfigOptionsProvider analyzerConfigOptionsProvider, ImmutableArray<AdditionalText> additionalTexts);
SourceGeneration\GeneratorDriver.cs (16)
44
/// Run generators and produce an updated <see cref="
GeneratorDriver
"/> containing the results.
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);
54
/// Run generators and produce an updated <see cref="
GeneratorDriver
"/> containing the results.
60
public
GeneratorDriver
RunGenerators(Compilation compilation, Func<GeneratorFilterContext, bool>? generatorFilter, CancellationToken cancellationToken = default)
66
public
GeneratorDriver
RunGeneratorsAndUpdateCompilation(Compilation compilation, out Compilation outputCompilation, out ImmutableArray<Diagnostic> diagnostics, CancellationToken cancellationToken = default)
85
public
GeneratorDriver
AddGenerators(ImmutableArray<ISourceGenerator> generators)
94
public
GeneratorDriver
ReplaceGenerators(ImmutableArray<ISourceGenerator> generators)
116
public
GeneratorDriver
RemoveGenerators(ImmutableArray<ISourceGenerator> generators)
135
public
GeneratorDriver
AddAdditionalTexts(ImmutableArray<AdditionalText> additionalTexts)
141
public
GeneratorDriver
RemoveAdditionalTexts(ImmutableArray<AdditionalText> additionalTexts)
147
public
GeneratorDriver
ReplaceAdditionalText(AdditionalText oldText, AdditionalText newText)
162
public
GeneratorDriver
ReplaceAdditionalTexts(ImmutableArray<AdditionalText> newTexts) => FromState(_state.With(additionalTexts: newTexts));
164
public
GeneratorDriver
WithUpdatedParseOptions(ParseOptions newOptions) => newOptions is object
168
public
GeneratorDriver
WithUpdatedAnalyzerConfigOptions(AnalyzerConfigOptionsProvider newOptions) => newOptions is object
459
internal abstract
GeneratorDriver
FromState(GeneratorDriverState state);
SourceGeneration\GeneratorDriverCache.cs (6)
17
private readonly (string cacheKey,
GeneratorDriver
driver)[] _cachedDrivers = new (string,
GeneratorDriver
)[maxCacheSize];
23
public
GeneratorDriver
? TryGetDriver(string cacheKey) => AddOrUpdateMostRecentlyUsed(cacheKey, driver: null);
25
public void CacheGenerator(string cacheKey,
GeneratorDriver
driver) => AddOrUpdateMostRecentlyUsed(cacheKey, driver);
37
private
GeneratorDriver
? AddOrUpdateMostRecentlyUsed(string cacheKey,
GeneratorDriver
? driver)
SourceGeneration\GeneratorDriverOptions.cs (1)
11
/// Options passed to a <see cref="
GeneratorDriver
"/> during creation.
SourceGeneration\GeneratorExtensions.cs (1)
47
/// Converts an <see cref="IIncrementalGenerator"/> into an <see cref="ISourceGenerator"/> object that can be used when constructing a <see cref="
GeneratorDriver
"/>
SourceGeneration\Nodes\IIncrementalGeneratorOutputNode.cs (1)
26
/// Can be passed as a bit field when creating a <see cref="
GeneratorDriver
"/> to selectively disable outputs.
Microsoft.CodeAnalysis.CSharp (3)
CommandLine\CSharpCompiler.cs (1)
376
private protected override
GeneratorDriver
CreateGeneratorDriver(string baseDirectory, ParseOptions parseOptions, ImmutableArray<ISourceGenerator> generators, AnalyzerConfigOptionsProvider analyzerConfigOptionsProvider, ImmutableArray<AdditionalText> additionalTexts)
SourceGeneration\CSharpGeneratorDriver.cs (2)
16
/// A <see cref="
GeneratorDriver
"/> implementation for the CSharp language.
73
internal override
GeneratorDriver
FromState(GeneratorDriverState state) => new CSharpGeneratorDriver(state);
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (16)
CommandLineTests.cs (11)
13932
var generatorPrefix =
GeneratorDriver
.GetFilePathPrefixForGenerator(dir.Path, generator);
13973
var generatorPrefix =
GeneratorDriver
.GetFilePathPrefixForGenerator(dir.Path, generator);
14012
var generator1Prefix =
GeneratorDriver
.GetFilePathPrefixForGenerator(dir.Path, generator);
14013
var generator2Prefix =
GeneratorDriver
.GetFilePathPrefixForGenerator(dir.Path, generator2);
14098
var generatorPrefix =
GeneratorDriver
.GetFilePathPrefixForGenerator(generatedDir.Path, generator);
14124
var generatorPrefix =
GeneratorDriver
.GetFilePathPrefixForGenerator(generatedDir.Path, generator1);
14159
var generator1Prefix =
GeneratorDriver
.GetFilePathPrefixForGenerator(generatedDir.Path, generator);
14160
var generator2Prefix =
GeneratorDriver
.GetFilePathPrefixForGenerator(generatedDir.Path, generator2);
14200
var generatorPrefix =
GeneratorDriver
.GetFilePathPrefixForGenerator(generatedDir.Path, generator);
14317
var generatorPrefix =
GeneratorDriver
.GetFilePathPrefixForGenerator(generatedDir.Path, generator);
14629
var generatorPrefix =
GeneratorDriver
.GetFilePathPrefixForGenerator(objDir.Path, generator);
GeneratorDriverCacheTests.cs (5)
18
var
driver = driverCache.TryGetDriver("0");
30
var
driver = driverCache.TryGetDriver("0");
44
var
driver = driverCache.TryGetDriver("0");
71
var
driver = driverCache.TryGetDriver("0");
101
private static
GeneratorDriver
[] GetDrivers(int count) => Enumerable.Range(0, count).Select(i => CSharpGeneratorDriver.Create(Array.Empty<ISourceGenerator>())).ToArray();
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (1)
EndToEndTests.cs (1)
825
GeneratorDriver
driver = CSharpGeneratorDriver.Create(
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (252)
SourceGeneration\GeneratorDriverFuzzTests.cs (4)
311
GeneratorDriver
driver1 = CSharpGeneratorDriver.Create(generators, originalInputs);
321
GeneratorDriver
driver2 = CSharpGeneratorDriver.Create(generators, editedInputs);
520
GeneratorDriver
driver1 = CSharpGeneratorDriver.Create(new[] { generator }, originalInputs);
540
GeneratorDriver
driver2 = CSharpGeneratorDriver.Create(new[] { generator }, editedInputs);
SourceGeneration\GeneratorDriverTests.cs (115)
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);
761
var
oldDriver = driver;
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);
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([generator.AsSourceGenerator()], parseOptions: parseOptions);
1595
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
1628
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new ISourceGenerator[] { generator, generator2 }, parseOptions: parseOptions);
1652
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
1673
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
1739
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
1788
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new ISourceGenerator[] { generator }, additionalTexts: new[] { text1 }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
2008
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
2048
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new ISourceGenerator[] { generator }, parseOptions: parseOptions, additionalTexts: texts, driverOptions: TestOptions.GeneratorDriverOptions);
2185
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new[] { generator }, parseOptions: parseOptions);
2205
static void verify(ref
GeneratorDriver
driver, Compilation compilation, string generatedContent)
2244
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new[] { generator }, parseOptions: parseOptions);
2263
static void verify(ref
GeneratorDriver
driver, Compilation compilation, string[] generatedContent)
2311
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
2353
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
2406
static void verify(ref
GeneratorDriver
driver, Compilation compilation, string[] generatedContent)
2447
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new ISourceGenerator[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
2513
GeneratorDriver
driver = CSharpGeneratorDriver.Create([generator1, generator2], parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
2560
GeneratorDriver
driver = CSharpGeneratorDriver.Create([generator], parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
2602
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
2625
GeneratorDriver
driver = CSharpGeneratorDriver.Create(
2695
GeneratorDriver
driver = CSharpGeneratorDriver.Create(
2763
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new ISourceGenerator[] { generator }, parseOptions: parseOptions, optionsProvider: optionsProvider, driverOptions: TestOptions.GeneratorDriverOptions);
2841
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new ISourceGenerator[] { generator }, parseOptions: parseOptions, additionalTexts: new[] { additionalText1, additionalText2, additionalText3 }, driverOptions: TestOptions.GeneratorDriverOptions);
3031
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new ISourceGenerator[] { generator }, parseOptions: parseOptions, additionalTexts: new[] { additionalText }, driverOptions: TestOptions.GeneratorDriverOptions);
3221
GeneratorDriver
driver = CSharpGeneratorDriver.Create(
3289
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new[] { generator.AsSourceGenerator() }, parseOptions: parseOptions, additionalTexts: new[] { new InMemoryAdditionalText("text.txt", "") }, driverOptions: TestOptions.GeneratorDriverOptions);
3336
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new[] { generator1.AsSourceGenerator(), generator2.AsSourceGenerator() }, parseOptions: parseOptions, additionalTexts: new[] { additionalText }, driverOptions: TestOptions.GeneratorDriverOptions);
3368
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
3423
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new[] { generator.AsSourceGenerator() }, parseOptions: parseOptions, additionalTexts: new[] { new InMemoryAdditionalText("text.txt", "") }, driverOptions: TestOptions.GeneratorDriverOptions);
3449
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new[] { generator.AsSourceGenerator() },
3489
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new[] { generator.AsSourceGenerator() },
3525
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
3554
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
3594
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new[] { generator, generator2 }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
3633
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
3676
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
3704
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new[] { generator }, parseOptions: parseOptions, driverOptions: TestOptions.GeneratorDriverOptions);
3760
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new[] { generator }, parseOptions: parseOptions);
3794
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new[] { generator }, parseOptions: parseOptions);
3823
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new[] { generator }, parseOptions: parseOptions);
3854
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new[] { generator }, parseOptions: parseOptions);
3886
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new[] { generator }, parseOptions: parseOptions);
3919
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new[] { generator }, parseOptions: parseOptions);
3948
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new[] { generator }, parseOptions: parseOptions);
3978
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new[] { generator }, parseOptions: parseOptions);
4010
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new[] { generator }, parseOptions: parseOptions);
4039
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new[] { generator }, parseOptions: parseOptions);
4069
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new ISourceGenerator[] { generator });
4112
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new ISourceGenerator[] { generator });
4152
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new ISourceGenerator[] { generator }, parseOptions: parseOptions);
4208
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new[] { generator }, parseOptions: parseOptions);
4224
static void verify(ref
GeneratorDriver
driver, Compilation compilation)
4302
GeneratorDriver
driver = CSharpGeneratorDriver.Create(
4309
void verify(ref
GeneratorDriver
driver, Compilation compilation)
4440
GeneratorDriver
driver = CSharpGeneratorDriver.Create(generator1, generator2);
4486
GeneratorDriver
driver = CSharpGeneratorDriver.Create([generator1, generator2], parseOptions: parseOptions);
4509
GeneratorDriver
driver = CSharpGeneratorDriver.Create(generator1, generator2);
4537
GeneratorDriver
driver = CSharpGeneratorDriver.Create(generator1);
4572
GeneratorDriver
driver = CSharpGeneratorDriver.Create(new[] { generator1 });
4594
GeneratorDriver
driver = CSharpGeneratorDriver.Create([generator], parseOptions: parseOptions);
4615
GeneratorDriver
driver = CSharpGeneratorDriver.Create([generator1, generator2], parseOptions: parseOptions);
4651
GeneratorDriver
driver = CSharpGeneratorDriver.Create([generator.AsSourceGenerator()], parseOptions: parseOptions);
4668
GeneratorDriver
driver = CSharpGeneratorDriver.Create(
4686
GeneratorDriver
driver = CSharpGeneratorDriver.Create([generator.AsSourceGenerator()], parseOptions: parseOptions);
4706
GeneratorDriver
driver = CSharpGeneratorDriver.Create([generator.AsSourceGenerator()], parseOptions: parseOptions);
4724
GeneratorDriver
driver = CSharpGeneratorDriver.Create([generator1.AsSourceGenerator(), generator2.AsSourceGenerator()], parseOptions: parseOptions);
4742
GeneratorDriver
driver = CSharpGeneratorDriver.Create([generator1.AsSourceGenerator(), generator2.AsSourceGenerator()], parseOptions: parseOptions);
4759
GeneratorDriver
driver = CSharpGeneratorDriver.Create([generator.AsSourceGenerator()], parseOptions: parseOptions);
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.cs (45)
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);
1289
static void verify(ref
GeneratorDriver
driver, Compilation compilation, params (string HintName, string SourceText)[] expectedGeneratedSources)
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)
56
GeneratorDriver
ICompilationFactoryService.CreateGeneratorDriver(ParseOptions parseOptions, ImmutableArray<ISourceGenerator> generators, AnalyzerConfigOptionsProvider optionsProvider, ImmutableArray<AdditionalText> additionalTexts, string? generatedFilesBaseDirectory)
Microsoft.CodeAnalysis.VisualBasic (2)
CommandLine\VisualBasicCompiler.vb (1)
300
Private Protected Overrides Function CreateGeneratorDriver(baseDirectory As String, parseOptions As ParseOptions, generators As ImmutableArray(Of ISourceGenerator), analyzerConfigOptionsProvider As AnalyzerConfigOptionsProvider, additionalTexts As ImmutableArray(Of AdditionalText)) As
GeneratorDriver
SourceGeneration\VisualBasicGeneratorDriver.vb (1)
32
Friend Overrides Function FromState(state As GeneratorDriverState) As
GeneratorDriver
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (2)
CommandLineTests.vb (2)
10573
Dim generatorPrefix =
GeneratorDriver
.GetFilePathPrefixForGenerator(baseDirectory:=generatedDir.Path, generator)
10620
Dim generatorPrefix =
GeneratorDriver
.GetFilePathPrefixForGenerator(baseDirectory:=generatedDir.Path, generator)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (102)
SourceGeneration\GeneratorDriverTests.vb (24)
28
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(testGenerator), parseOptions:=parseOptions)
50
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(testGenerator),
66
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(testGenerator), parseOptions:=parseOptions)
94
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(testGenerator), parseOptions:=parseOptions)
117
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(testGenerator), parseOptions:=parseOptions)
133
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(testGenerator), parseOptions:=parseOptions)
149
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(testGenerator), parseOptions:=parseOptions)
163
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(testGenerator), parseOptions:=parseOptions)
316
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(generator), parseOptions:=parseOptions)
348
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(generator), parseOptions:=parseOptions)
377
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(generator), parseOptions:=parseOptions)
408
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(generator), parseOptions:=parseOptions)
438
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(generator), parseOptions:=parseOptions)
469
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(generator), parseOptions:=parseOptions)
498
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(generator), parseOptions:=parseOptions)
528
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(generator), parseOptions:=parseOptions)
558
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(generator), parseOptions:=parseOptions)
587
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(generator), parseOptions:=parseOptions)
600
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(New IncrementalGeneratorWrapper(testGenerator)), parseOptions:=parseOptions)
618
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(testGenerator), parseOptions:=parseOptions)
654
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator1, generator2), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
696
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
732
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(generator), parseOptions:=TestOptions.Regular)
759
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(gen), parseOptions:=TestOptions.Regular)
SourceGeneration\GeneratorDriverTests_Attributes_FullyQualifiedName.vb (31)
84
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
125
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
168
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
196
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
225
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
251
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
282
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
311
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
340
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
369
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
400
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
443
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
484
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
524
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
563
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
602
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
642
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
678
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
715
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
752
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
789
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
826
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
863
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
899
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
946
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
993
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
1036
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
1085
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
1138
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
1196
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
1250
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
SourceGeneration\GeneratorDriverTests_Attributes_SimpleName.vb (47)
55
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
87
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
113
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
138
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
163
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
192
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
224
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
256
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
288
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
319
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
345
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
371
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
397
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
430
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
458
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
486
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
513
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
543
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
574
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
604
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
634
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
662
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
690
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
718
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
745
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
772
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
799
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
826
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
855
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
884
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
911
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
937
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
966
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
994
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
1020
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
1047
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
1079
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
1119
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
1160
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
1200
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
1242
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
1288
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
1325
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
1365
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
1406
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
1448
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
1500
Dim driver As
GeneratorDriver
= VisualBasicGeneratorDriver.Create(ImmutableArray.Create(Of ISourceGenerator)(generator), parseOptions:=parseOptions, driverOptions:=TestOptions.GeneratorDriverOptions)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Workspace\LanguageServices\VisualBasicCompilationFactoryService.vb (1)
68
generatedFilesBaseDirectory As String) As
GeneratorDriver
Implements ICompilationFactoryService.CreateGeneratorDriver
Microsoft.CodeAnalysis.Workspaces (21)
SourceGeneration\IRemoteSourceGenerationService.cs (2)
33
/// cref="
GeneratorDriver
"/> should be included.</param>
44
/// cref="
GeneratorDriver
"/> should be included.</param>
Workspace\Host\CompilationFactory\ICompilationFactoryService.cs (1)
18
GeneratorDriver
CreateGeneratorDriver(ParseOptions parseOptions, ImmutableArray<ISourceGenerator> generators, AnalyzerConfigOptionsProvider optionsProvider, ImmutableArray<AdditionalText> additionalTexts, string? generatedFilesBaseDirectory);
Workspace\Solution\SolutionCompilationState.CompilationTrackerGeneratorInfo.cs (1)
21
GeneratorDriver
? Driver)
Workspace\Solution\SolutionCompilationState.cs (1)
1819
public
GeneratorDriver
? GetGeneratorDriver(Project project)
Workspace\Solution\SolutionCompilationState.ICompilationTracker.cs (1)
17
GeneratorDriver
? GeneratorDriver { get; }
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (1)
93
public
GeneratorDriver
? GeneratorDriver
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (4)
228
private async Task<(Compilation compilationWithGeneratedFiles, TextDocumentStates<SourceGeneratedDocumentState> generatedDocuments,
GeneratorDriver
? generatorDriver)> ComputeNewGeneratorInfoInCurrentProcessAsync(
232
GeneratorDriver
? generatorDriver,
391
static
GeneratorDriver
CreateGeneratorDriver(ProjectState projectState)
406
static void CheckGeneratorDriver(
GeneratorDriver
generatorDriver, ProjectState projectState)
Workspace\Solution\SolutionCompilationState.TranslationAction.cs (3)
13
/// Represents a change that needs to be made to a <see cref="Compilation"/>, <see cref="
GeneratorDriver
"/>, or both
48
public abstract
GeneratorDriver
TransformGeneratorDriver(
GeneratorDriver
generatorDriver);
Workspace\Solution\SolutionCompilationState.TranslationAction_Actions.cs (6)
52
public override
GeneratorDriver
TransformGeneratorDriver(
GeneratorDriver
generatorDriver)
100
public override
GeneratorDriver
TransformGeneratorDriver(
GeneratorDriver
generatorDriver)
129
public override
GeneratorDriver
TransformGeneratorDriver(
GeneratorDriver
generatorDriver)
Workspace\Solution\SolutionCompilationState.WithFrozenSourceGeneratedDocumentsCompilationTracker.cs (1)
43
public
GeneratorDriver
? GeneratorDriver => UnderlyingTracker.GeneratorDriver;
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Host\LanguageServices\TestCSharpCompilationFactoryServiceWithIncrementalGeneratorTracking.cs (1)
58
GeneratorDriver
ICompilationFactoryService.CreateGeneratorDriver(ParseOptions parseOptions, ImmutableArray<ISourceGenerator> generators, AnalyzerConfigOptionsProvider optionsProvider, ImmutableArray<AdditionalText> additionalTexts, string? generatedFilesBaseDirectory)
Microsoft.Gen.ComplianceReports.Unit.Tests (3)
test\Generators\Shared\RoslynTestUtils.cs (3)
235
GeneratorDriver
gd = cgd.RunGenerators(compilation, cancellationToken);
279
var
gd = cgd.RunGenerators(comp!, cancellationToken);
324
GeneratorDriver
gd = cgd.RunGenerators(comp!, cancellationToken);
Microsoft.Gen.ContextualOptions.Unit.Tests (3)
test\Generators\Shared\RoslynTestUtils.cs (3)
235
GeneratorDriver
gd = cgd.RunGenerators(compilation, cancellationToken);
279
var
gd = cgd.RunGenerators(comp!, cancellationToken);
324
GeneratorDriver
gd = cgd.RunGenerators(comp!, cancellationToken);
Microsoft.Gen.Logging.Unit.Tests (3)
test\Generators\Shared\RoslynTestUtils.cs (3)
235
GeneratorDriver
gd = cgd.RunGenerators(compilation, cancellationToken);
279
var
gd = cgd.RunGenerators(comp!, cancellationToken);
324
GeneratorDriver
gd = cgd.RunGenerators(comp!, cancellationToken);
Microsoft.Gen.Metrics.Unit.Tests (3)
test\Generators\Shared\RoslynTestUtils.cs (3)
235
GeneratorDriver
gd = cgd.RunGenerators(compilation, cancellationToken);
279
var
gd = cgd.RunGenerators(comp!, cancellationToken);
324
GeneratorDriver
gd = cgd.RunGenerators(comp!, cancellationToken);
Microsoft.Gen.MetricsReports.Unit.Tests (3)
test\Generators\Shared\RoslynTestUtils.cs (3)
235
GeneratorDriver
gd = cgd.RunGenerators(compilation, cancellationToken);
279
var
gd = cgd.RunGenerators(comp!, cancellationToken);
324
GeneratorDriver
gd = cgd.RunGenerators(comp!, cancellationToken);