73 references to Select
Microsoft.AspNetCore.Http.RequestDelegateGenerator (2)
RequestDelegateGenerator.cs (2)
19.Select((endpoint, _) => 40.Select((endpointWithLocations, _) => EmitInterceptorDefinition(endpointWithLocations));
Microsoft.AspNetCore.OpenApi.SourceGenerators (3)
XmlCommentGenerator.cs (3)
18.Select(ParseXmlFile); 27.Select(ParseComments); 39.Select(EmitCommentsCache);
Microsoft.CodeAnalysis (2)
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithSimpleName.cs (2)
72.Select((info, cancellationToken) => getGlobalAliasesInCompilationUnit(syntaxHelper, info.Tree.GetRoot(cancellationToken))) 108.Select((tuple, c) => (tuple.Left.Tree, GetMatchingNodes(syntaxHelper, tuple.Right, tuple.Left.Tree, simpleName, predicate, c)))
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (16)
SourceGeneration\GeneratorDriverFuzzTests.cs (2)
87var provider1 = provider.Select((additionalText, _) => (AdditionalText)new InMemoryAdditionalText(additionalText.Path, additionalText.GetText()!.ToString() switch 215var provider4 = provider4_1.Combine(provider4_2.Collect()).Select((pair, _)
SourceGeneration\GeneratorDriverTests.cs (9)
1506.Select((c, _) => c.Identifier.ValueText) 1788ctx.RegisterSourceOutput(ctx.AdditionalTextsProvider.Select((at, ct) => at).WithTrackingName("AdditionalTextsTransform"), (spc, at) => { }); 2233.Select((n, _) => n); 2330.Select((n, _) => n) 2446.Select((c, ct) => c).WithTrackingName("Classes"); 2843ctx.RegisterSourceOutput(ctx.AdditionalTextsProvider.Select((t, _) => t.Path).WithTrackingName("Paths"), (spc, p) => { }); 3029var paths = texts.Select((t, _) => t?.Path).WithTrackingName("Path"); 3030var contents = texts.Select((t, ct) => t?.GetText(ct)?.ToString()).WithTrackingName("Content"); 4234.Select(static (node, _) => (ClassDeclarationSyntax)node)
SourceGeneration\SyntaxAwareGeneratorTests.cs (5)
1394.Select((s, ct) => s).WithTrackingName("Fields"); 1685context.RegisterSourceOutput(source.Select((s, ct) => $"Output1_{s}").WithTrackingName("Output"), (spc, fieldName) => 1689context.RegisterSourceOutput(source.Select((s, ct) => $"Output2_{s}").WithTrackingName("Output"), (spc, fieldName) => 1748context.RegisterSourceOutput(source2.Select((value, ct) => value.Left.Left.Left).WithTrackingName("Output"), (spc, output) => 1801context.RegisterSourceOutput(joinedSource.Select((value, ct) => value.Left).WithTrackingName("Output"), (spc, fieldName) =>
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
AbstractResxGenerator.cs (2)
144.Select(static (resourceFile, cancellationToken) => 177var resourceFilesToGenerateSourceWithNames = resourceFilesToGenerateSource.Combine(renameMapping).Select(
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
GenerateFileForEachAdditionalFileWithContentsCommented.cs (1)
20context.RegisterSourceOutput(context.AdditionalTextsProvider.Select((t, ct) => t).WithTrackingName(StepName), (context, additionalText) =>
Microsoft.Extensions.Logging.Generators (2)
src\libraries\Common\src\Roslyn\SyntaxValueProvider_ForAttributeWithSimpleName.cs (2)
108.Select((info, cancellationToken) => getGlobalAliasesInCompilationUnit(info.Tree.GetRoot(cancellationToken))) 152.Select((tuple, c) => (tuple.Left.Tree, GetMatchingNodes(syntaxHelper, tuple.Right, tuple.Left.Tree, simpleName, predicate, c)))
Microsoft.Extensions.Validation.ValidationsGenerator (1)
ValidationsGenerator.cs (1)
50.Select(ExtractValidatableEndpoint);
Microsoft.Gen.BuildMetadata (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
67.Select((t, _) => t!);
Microsoft.Gen.ComplianceReports (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
67.Select((t, _) => t!);
Microsoft.Gen.ContextualOptions (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
67.Select((t, _) => t!);
Microsoft.Gen.Logging (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
67.Select((t, _) => t!);
Microsoft.Gen.MetadataExtractor (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
67.Select((t, _) => t!);
Microsoft.Gen.Metrics (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
67.Select((t, _) => t!);
Microsoft.Gen.MetricsReports (1)
src\Generators\Shared\GeneratorUtilities.cs (1)
67.Select((t, _) => t!);
Microsoft.Interop.ComInterfaceGenerator (11)
ComClassGenerator.cs (2)
29.Select(static (data, ct) => 41.Select(static (info, ct) => new ItemAndSyntaxes<ComClassInfo>(info,
ComInterfaceGenerator.cs (2)
148.Select(static (x, ct) => new ItemAndSyntaxes<ComInterfaceAndMethodsContext>(x, 164.Select(static (methodSyntaxes, ct) =>
VtableIndexStubGenerator.cs (7)
56.Select(static (data, ct) => new 62.Select( 70.Select( 85.Select( 95.Select(static (context, ct) => context.ContainingSyntaxContext) 98.Select(static (context, ct) => GenerateNativeInterfaceMetadata(context)); 109.Select(static (vtable, ct) => GeneratePopulateVTableMethod(vtable));
Microsoft.Interop.JavaScript.JSImportGenerator (8)
JSExportGenerator.cs (5)
55.Select(static (data, ct) => new 61.Select( 65.Select( 72.Select( 83.Select(
JSImportGenerator.cs (3)
56.Select(static (data, ct) => new 62.Select( 66.Select(
Microsoft.Interop.LibraryImportGenerator (3)
LibraryImportGenerator.cs (3)
63.Select(static (data, ct) => new 70.Select( 75.Select(
Microsoft.Interop.LibraryImportGenerator.Downlevel (3)
DownlevelLibraryImportGenerator.cs (3)
57.Select(static (data, ct) => new 63.Select( 67.Select(
Microsoft.Interop.SourceGeneration (5)
DiagnosticOr.cs (1)
99var values = provider.Where(x => x.HasValue).Select(static (x, ct) => x.Value);
IncrementalGeneratorInitializationContextExtensions.cs (1)
73.Select(
IncrementalValuesProviderExtensions.cs (3)
27return provider.Select(static (node, ct) => node.NormalizeWhitespace()); 32return (provider.Select(static (data, ct) => data.Item1), provider.Select(static (data, ct) => data.Item2));
Microsoft.Maui.Controls.BindingSourceGen (1)
BindingSourceGenerator.cs (1)
34 .Select(static (binding, t) => binding.Value)
Microsoft.Maui.Controls.SourceGen (3)
CodeBehindGenerator.cs (3)
44 .Select(ComputeProjectItem) 49 .Select(ComputeXamlProjectItem) 73 .Select(static (t, _) => (t.Left.Left, t.Left.Right, t.Right))
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Roslyn4.0.cs (1)
44.Select(static (tuple, cancellationToken) =>
System.Text.RegularExpressions.Generator (2)
RegexGenerator.cs (2)
72.Select((methodOrDiagnostic, _) => 92.Select((state, _) =>