14 references to AddOutput
Microsoft.CodeAnalysis (1)
SourceGeneration\RunResults.cs (1)
125
/// A collection of items added via <see cref="HostOutputProductionContext.
AddOutput
(string, object)"/>.
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
CommandLineTests.cs (1)
10518
hostCtx.
AddOutput
("output", "value");
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (11)
SourceGeneration\GeneratorDriverTests.cs (11)
3220
ctx.RegisterHostOutput(ctx.CompilationOptionsProvider, (context, ct) => context.
AddOutput
("Host", ""));
4649
var generator = new PipelineCallbackGenerator((ctx) => { ctx.RegisterHostOutput(ctx.CompilationProvider, (hostCtx, c) => { hostCtx.
AddOutput
("a", "value"); }); });
4666
var generator = new PipelineCallbackGenerator((ctx) => { ctx.RegisterHostOutput(ctx.CompilationProvider, (hostCtx, c) => { hostCtx.
AddOutput
("a", "value"); }); });
4684
var generator = new PipelineCallbackGenerator((ctx) => { ctx.RegisterHostOutput(ctx.CompilationProvider, (hostCtx, c) => { hostCtx.
AddOutput
("a", "value"); hostCtx.
AddOutput
("b", "value2"); }); });
4704
var generator = new PipelineCallbackGenerator((ctx) => { ctx.RegisterHostOutput(ctx.CompilationProvider, (hostCtx, c) => { hostCtx.
AddOutput
("a", "value"); hostCtx.
AddOutput
("a", "value2"); }); });
4721
var generator1 = new PipelineCallbackGenerator((ctx) => { ctx.RegisterHostOutput(ctx.CompilationProvider, (hostCtx, c) => { hostCtx.
AddOutput
("gen1", "value1"); }); });
4722
var generator2 = new PipelineCallbackGenerator2((ctx) => { ctx.RegisterHostOutput(ctx.CompilationProvider, (hostCtx, c) => { hostCtx.
AddOutput
("gen2", "value2"); }); });
4739
var generator1 = new PipelineCallbackGenerator((ctx) => { ctx.RegisterHostOutput(ctx.CompilationProvider, (hostCtx, c) => { hostCtx.
AddOutput
("gen", "value1"); }); });
4740
var generator2 = new PipelineCallbackGenerator2((ctx) => { ctx.RegisterHostOutput(ctx.CompilationProvider, (hostCtx, c) => { hostCtx.
AddOutput
("gen", "value2"); }); });
Microsoft.CodeAnalysis.ExternalAccess.RazorCompiler (1)
GeneratorExtensions.cs (1)
29
ctx.
AddOutput
(output.Item1, output.Item2);