1 instantiation of GeneratorPostInitializationContext
Microsoft.CodeAnalysis (1)
SourceGeneration\GeneratorContexts.cs (1)
206Callbacks.PostInitCallback = (context) => callback(new GeneratorPostInitializationContext(context.AdditionalSources, context.CancellationToken));
10 references to GeneratorPostInitializationContext
Microsoft.CodeAnalysis (4)
SourceGeneration\GeneratorContexts.cs (4)
194/// any generators that have opted in will have their provided callback invoked with a <see cref="GeneratorPostInitializationContext"/> instance 202/// <param name="callback">An <see cref="Action{T}"/> that accepts a <see cref="GeneratorPostInitializationContext"/> that will be invoked after initialization.</param> 203public void RegisterForPostInitialization(Action<GeneratorPostInitializationContext> callback) 252/// Context passed to a source generator when it has opted-in to PostInitialization via <see cref="GeneratorInitializationContext.RegisterForPostInitialization(Action{GeneratorPostInitializationContext})"/>
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
SourceGeneration\GeneratorDriverTests.cs (6)
887static void postInit(GeneratorPostInitializationContext context) 913static void postInit(GeneratorPostInitializationContext context) 940static void postInit(GeneratorPostInitializationContext context) 970void postInit(GeneratorPostInitializationContext context) 1000static void postInit(GeneratorPostInitializationContext context) 1035static void postInit(GeneratorPostInitializationContext context)