47 references to Collect
CSharpSyntaxGenerator (1)
SourceGenerator.cs (1)
52var syntaxXmlFiles = context.AdditionalTextsProvider.Where(at => Path.GetFileName(at.Path) == "Syntax.xml").Collect();
Microsoft.AspNetCore.Http.RequestDelegateGenerator (5)
RequestDelegateGenerator.cs (4)
160.Collect() 171.Collect() 237.Collect() 272var endpointsAndHelpers = interceptorDefinitions.Collect().Combine(endpointHelpers).Combine(httpVerbs).Combine(helperTypes);
src\Shared\RoslynUtils\IncrementalValuesProviderExtensions.cs (1)
16return source.Collect().SelectMany((values, _) =>
Microsoft.AspNetCore.SignalR.Client.SourceGenerator (4)
HubClientProxyGenerator.cs (2)
19.Collect(); 29.Combine(memberAccessExpressions.Collect());
HubServerProxyGenerator.cs (2)
19.Collect(); 29.Combine(memberAccessExpressions.Collect());
Microsoft.CodeAnalysis (2)
SourceGeneration\GeneratorAdaptor.cs (1)
54.Combine(context.AdditionalTextsProvider.Collect()).Select((p, _) => p.Item1 with { AdditionalTexts = p.Item2 });
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithSimpleName.cs (1)
78.Collect()
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
SourceGeneration\GeneratorDriverTests.cs (4)
1988var compilationSource = ctx.CompilationProvider.Combine(ctx.AdditionalTextsProvider.Collect()) 2119.Collect(); 2559ctx.CompilationProvider.Combine(classDeclarations.Collect()); 4215.Collect();
SourceGeneration\SyntaxAwareGeneratorTests.cs (2)
1744var source2 = source.Combine(context.AdditionalTextsProvider.Collect()) 1800var joinedSource = source.Combine(comparerSource.Collect());
Microsoft.Extensions.Logging.Generators (1)
LoggerMessageGenerator.Roslyn4.0.cs (1)
35context.CompilationProvider.Combine(classDeclarations.Collect());
Microsoft.Extensions.Options.SourceGeneration (1)
Generator.cs (1)
28context.CompilationProvider.Combine(typeDeclarations.Collect());
Microsoft.Gen.ComplianceReports (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
70var compilationAndTypes = context.CompilationProvider.Combine(declarations.Collect());
Microsoft.Gen.ContextualOptions (2)
ContextualOptionsGenerator.cs (1)
25context.CompilationProvider.Combine(typeDeclarations.Collect());
src\Generators\Shared\GeneratorUtilities.cs (1)
70var compilationAndTypes = context.CompilationProvider.Combine(declarations.Collect());
Microsoft.Gen.Logging (2)
LoggingGenerator.cs (1)
26context.CompilationProvider.Combine(typeDeclarations.Collect());
src\Generators\Shared\GeneratorUtilities.cs (1)
70var compilationAndTypes = context.CompilationProvider.Combine(declarations.Collect());
Microsoft.Gen.Metrics (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
70var compilationAndTypes = context.CompilationProvider.Combine(declarations.Collect());
Microsoft.Gen.MetricsReports (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
70var compilationAndTypes = context.CompilationProvider.Combine(declarations.Collect());
Microsoft.Interop.ComInterfaceGenerator (4)
ComInterfaceGenerator.cs (2)
62.Collect() 78.Collect()
VtableIndexStubGenerator.cs (2)
111.Collect() 122.Collect()
Microsoft.Interop.JavaScript.JSImportGenerator (4)
JSExportGenerator.cs (3)
64context.RegisterDiagnostics(stubEnvironment.Combine(attributedMethods.Collect()).SelectMany((data, ct) => 98.Collect(); 109.Collect();
JSImportGenerator.cs (1)
62context.RegisterDiagnostics(stubEnvironment.Combine(attributedMethods.Collect()).SelectMany((data, ct) =>
Microsoft.Interop.LibraryImportGenerator (1)
LibraryImportGenerator.cs (1)
74.Combine(attributedMethods.Collect())
Microsoft.Interop.SourceGeneration (7)
IncrementalGeneratorInitializationContextExtensions.cs (3)
27.Collect() 39.Collect() 75.Collect();
IncrementalValuesProviderExtensions.cs (4)
15.Collect() 16.Combine(right.Collect()) 57return first.Collect().Combine(second.Collect()).SelectMany((data, ct) => data.Left.AddRange(data.Right));
System.Text.RegularExpressions.Generator (1)
RegexGenerator.cs (1)
115.Collect()
System.Windows.Forms.Analyzers.CSharp (1)
System\Windows\Forms\CSharp\Generators\ApplicationConfiguration\ApplicationConfigurationGenerator.cs (1)
86.Combine(syntaxProvider.Collect())
System.Windows.Forms.PrivateSourceGenerators (2)
System\Windows\Forms\SourceGenerators\EnumValidationGenerator.cs (2)
74IncrementalValuesProvider<EnumValidationInfo> enumsToValidate = context.CompilationProvider.Combine(argumentsToValidate.Collect()).SelectMany( 82enumsToValidate.Collect(),