36 implementations of IIncrementalGenerator
ConfigurationSchemaGenerator (2)
ConfigurationBindingGenerator.ForSchemaGeneration.cs (1)
15public sealed partial class ConfigurationBindingGenerator : IIncrementalGenerator
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (1)
17public sealed partial class ConfigurationBindingGenerator : IIncrementalGenerator
CSharpSyntaxGenerator (1)
SourceGenerator.cs (1)
24public sealed class SourceGenerator : IIncrementalGenerator
IdeCoreBenchmarks (1)
IncrementalSourceGeneratorBenchmarks.cs (1)
186internal sealed class PipelineCallbackGenerator : IIncrementalGenerator
Microsoft.AspNetCore.App.SourceGenerators (1)
PublicTopLevelProgramGenerator.cs (1)
11public class PublicProgramSourceGenerator : IIncrementalGenerator
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
RequestDelegateGenerator.cs (1)
18public sealed class RequestDelegateGenerator : IIncrementalGenerator
Microsoft.AspNetCore.SignalR.Client.SourceGenerator (2)
HubClientProxyGenerator.cs (1)
11internal sealed partial class HubClientProxyGenerator : IIncrementalGenerator
HubServerProxyGenerator.cs (1)
11internal sealed partial class HubServerProxyGenerator : IIncrementalGenerator
Microsoft.CodeAnalysis (1)
SourceGeneration\GeneratorAdaptor.cs (1)
16internal sealed class SourceGeneratorAdaptor : IIncrementalGenerator
Microsoft.CodeAnalysis.Compiler.Test.Resources (1)
Analyzers\DoNothingGenerator.cs (1)
10public sealed class DoNothingGenerator : IIncrementalGenerator
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
SourceGeneration\GeneratorDriverTests.cs (1)
4189private class InterceptorGenerator1 : IIncrementalGenerator
Microsoft.CodeAnalysis.Test.Utilities (3)
SourceGeneration\TestGenerators.cs (3)
165internal sealed class PipelineCallbackGenerator : IIncrementalGenerator 177internal sealed class PipelineCallbackGenerator2 : IIncrementalGenerator 189internal sealed class IncrementalAndSourceCallbackGenerator : CallbackGenerator, IIncrementalGenerator
Microsoft.CodeAnalysis.UnitTests (3)
Analyzers\AnalyzerFileReferenceTests.cs (3)
727public class TestIncrementalGenerator : IIncrementalGenerator 732public class TestIncrementalGeneratorWithNoAttrib : IIncrementalGenerator 738public class TestSourceAndIncrementalGenerator : IIncrementalGenerator, ISourceGenerator
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
SourceGeneration\GeneratorDriverTests.vb (2)
784Implements IIncrementalGenerator 795Implements IIncrementalGenerator
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
GenerateFileForEachAdditionalFileWithContentsCommented.cs (1)
14internal sealed class GenerateFileForEachAdditionalFileWithContentsCommented : IIncrementalGenerator
Microsoft.Extensions.Options.SourceGeneration (1)
Generator.cs (1)
16public class OptionsValidatorGenerator : IIncrementalGenerator
Microsoft.Gen.ContextualOptions (1)
ContextualOptionsGenerator.cs (1)
14public class ContextualOptionsGenerator : IIncrementalGenerator
Microsoft.Gen.Logging (1)
LoggingGenerator.cs (1)
15public class LoggingGenerator : IIncrementalGenerator
Microsoft.Gen.Metrics (1)
MetricsGenerator.cs (1)
15public class MetricsGenerator : IIncrementalGenerator
Microsoft.Interop.ComInterfaceGenerator (3)
ComClassGenerator.cs (1)
17public class ComClassGenerator : IIncrementalGenerator
ComInterfaceGenerator.cs (1)
19public sealed partial class ComInterfaceGenerator : IIncrementalGenerator
VtableIndexStubGenerator.cs (1)
20public sealed class VtableIndexStubGenerator : IIncrementalGenerator
Microsoft.Interop.JavaScript.JSImportGenerator (2)
JSExportGenerator.cs (1)
19public sealed class JSExportGenerator : IIncrementalGenerator
JSImportGenerator.cs (1)
19public sealed class JSImportGenerator : IIncrementalGenerator
Microsoft.Interop.LibraryImportGenerator (1)
LibraryImportGenerator.cs (1)
21public sealed class LibraryImportGenerator : IIncrementalGenerator
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
DownlevelLibraryImportGenerator.cs (1)
21public sealed class DownlevelLibraryImportGenerator : IIncrementalGenerator
System.Private.CoreLib.Generators (2)
EventSourceGenerator.cs (1)
14public partial class EventSourceGenerator : IIncrementalGenerator
ProductVersionInfoGenerator.cs (1)
11public partial class ProductVersionInfoGenerator : IIncrementalGenerator
System.Text.RegularExpressions.Generator (1)
RegexGenerator.cs (1)
21public partial class RegexGenerator : IIncrementalGenerator
System.Windows.Forms.Analyzers.CSharp (1)
System\Windows\Forms\CSharp\Generators\ApplicationConfiguration\ApplicationConfigurationGenerator.cs (1)
12internal class ApplicationConfigurationGenerator : IIncrementalGenerator
System.Windows.Forms.PrivateSourceGenerators (1)
System\Windows\Forms\SourceGenerators\EnumValidationGenerator.cs (1)
10public class EnumValidationGenerator : IIncrementalGenerator
51 references to IIncrementalGenerator
Microsoft.Analyzers.Extra.Tests (1)
Resources\RoslynTestUtils.cs (1)
204IIncrementalGenerator generator,
Microsoft.Analyzers.Local.Tests (1)
Resources\RoslynTestUtils.cs (1)
204IIncrementalGenerator generator,
Microsoft.AspNetCore.App.Analyzers.Test (1)
Verifiers\CSharpSourceGeneratorVerifier.cs (1)
15where TSourceGenerator : IIncrementalGenerator, new()
Microsoft.CodeAnalysis (20)
DiagnosticAnalyzer\AnalyzerFileReference.cs (1)
343if (generator is IIncrementalGenerator incrementalGenerator)
SourceGeneration\GeneratorDriver.cs (3)
230var generator = state.IncrementalGenerators[i]; 446private static ImmutableArray<IIncrementalGenerator> GetIncrementalGenerators(ImmutableArray<ISourceGenerator> generators, string sourceExtension) 451IIncrementalGenerator ig => ig,
SourceGeneration\GeneratorDriverState.cs (4)
17ImmutableArray<IIncrementalGenerator> incrementalGenerators, 51/// The set of <see cref="IIncrementalGenerator"/>s associated with this state. 57internal readonly ImmutableArray<IIncrementalGenerator> IncrementalGenerators; 107ImmutableArray<IIncrementalGenerator>? incrementalGenerators = null,
SourceGeneration\GeneratorExtensions.cs (6)
17/// For <see cref="IIncrementalGenerator"/>s a wrapper is created that also implements 37public static Type GetGeneratorType(this IIncrementalGenerator generator) 47/// Converts an <see cref="IIncrementalGenerator"/> into an <see cref="ISourceGenerator"/> object that can be used when constructing a <see cref="GeneratorDriver"/> 51public static ISourceGenerator AsSourceGenerator(this IIncrementalGenerator incrementalGenerator) => incrementalGenerator switch 58/// Converts an <see cref="ISourceGenerator"/> into an <see cref="IIncrementalGenerator"/> 62public static IIncrementalGenerator AsIncrementalGenerator(this ISourceGenerator sourceGenerator) => sourceGenerator switch
SourceGeneration\IncrementalContexts.cs (1)
23/// Context passed to an incremental generator when <see cref="IIncrementalGenerator.Initialize(IncrementalGeneratorInitializationContext)"/> is called
SourceGeneration\IncrementalValueProvider.cs (2)
15/// This is an opaque type that cannot be used directly. Instead an <see cref="IIncrementalGenerator" /> 36/// This is an opaque type that cannot be used directly. Instead an <see cref="IIncrementalGenerator" />
SourceGeneration\IncrementalWrapper.cs (2)
21internal IIncrementalGenerator Generator { get; } 23public IncrementalGeneratorWrapper(IIncrementalGenerator generator)
SourceGeneration\Nodes\IIncrementalGeneratorOutputNode.cs (1)
23/// Represents the various output kinds of an <see cref="IIncrementalGenerator"/>.
Microsoft.CodeAnalysis.CSharp (2)
SourceGeneration\CSharpGeneratorDriver.cs (2)
46/// Creates a new instance of <see cref="CSharpGeneratorDriver"/> with the specified <see cref="IIncrementalGenerator"/>s and default options 50public static CSharpGeneratorDriver Create(params IIncrementalGenerator[] incrementalGenerators)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
SourceGeneration\GeneratorDriverTests.cs (6)
4250var incrementalGenerator = generator.AsIncrementalGenerator(); 4261var incrementalGenerator = generator.AsIncrementalGenerator(); 4270IIncrementalGenerator generator = new PipelineCallbackGenerator(ctx => { }); 4273var incrementalGenerator = sourceGenerator.AsIncrementalGenerator(); 4281IIncrementalGenerator generator = new PipelineCallbackGenerator(ctx => { }); 4295var incrementalGenerator = generator.AsIncrementalGenerator();
SourceGeneration\StateTableTests.cs (1)
1350ImmutableArray<IIncrementalGenerator>.Empty,
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
SourceGeneration\GeneratorDriverTests.vb (2)
788Public Sub Initialize(context As IncrementalGeneratorInitializationContext) Implements IIncrementalGenerator.Initialize 802Public Sub Initialize(context As IncrementalGeneratorInitializationContext) Implements IIncrementalGenerator.Initialize
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
TestGeneratorReference.cs (1)
38public TestGeneratorReference(IIncrementalGenerator generator, string? analyzerFilePath = null)
Microsoft.Gen.ComplianceReports.Unit.Tests (3)
test\Generators\Shared\RoslynTestUtils.cs (3)
231IIncrementalGenerator generator, 289IIncrementalGenerator generator, 302IIncrementalGenerator generator,
Microsoft.Gen.ContextualOptions.Unit.Tests (3)
test\Generators\Shared\RoslynTestUtils.cs (3)
231IIncrementalGenerator generator, 289IIncrementalGenerator generator, 302IIncrementalGenerator generator,
Microsoft.Gen.Logging.Unit.Tests (3)
test\Generators\Shared\RoslynTestUtils.cs (3)
231IIncrementalGenerator generator, 289IIncrementalGenerator generator, 302IIncrementalGenerator generator,
Microsoft.Gen.Metrics.Unit.Tests (3)
test\Generators\Shared\RoslynTestUtils.cs (3)
231IIncrementalGenerator generator, 289IIncrementalGenerator generator, 302IIncrementalGenerator generator,
Microsoft.Gen.MetricsReports.Unit.Tests (3)
test\Generators\Shared\RoslynTestUtils.cs (3)
231IIncrementalGenerator generator, 289IIncrementalGenerator generator, 302IIncrementalGenerator generator,
System.Windows.Forms.Analyzers.CSharp.Tests (1)
Analyzers\Verifiers\CSharpIncrementalSourceGeneratorVerifier.cs (1)
12where TIncrementalGenerator : IIncrementalGenerator, new()