14 references to Select
Microsoft.CodeAnalysis (2)
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithSimpleName.cs (2)
72
.
Select
((info, cancellationToken) => getGlobalAliasesInCompilationUnit(syntaxHelper, info.Tree.GetRoot(cancellationToken)))
109
.
Select
((tuple, c) => (tuple.Left.Tree, GetMatchingNodes(syntaxHelper, tuple.Right, tuple.Left.Tree, simpleName, predicate, c)))
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
SourceGeneration\GeneratorDriverTests.cs (5)
1682
ctx.RegisterSourceOutput(ctx.AdditionalTextsProvider.
Select
((at, ct) => at).WithTrackingName("AdditionalTextsTransform"), (spc, at) => { });
2108
.
Select
((c, ct) => c).WithTrackingName("Classes");
2413
ctx.RegisterSourceOutput(ctx.AdditionalTextsProvider.
Select
((t, _) => t.Path).WithTrackingName("Paths"), (spc, p) => { });
2599
var paths = texts.
Select
((t, _) => t?.Path).WithTrackingName("Path");
2600
var contents = texts.
Select
((t, ct) => t?.GetText(ct)?.ToString()).WithTrackingName("Content");
SourceGeneration\SyntaxAwareGeneratorTests.cs (5)
1399
.
Select
((s, ct) => s).WithTrackingName("Fields");
1690
context.RegisterSourceOutput(source.
Select
((s, ct) => $"Output1_{s}").WithTrackingName("Output"), (spc, fieldName) =>
1694
context.RegisterSourceOutput(source.
Select
((s, ct) => $"Output2_{s}").WithTrackingName("Output"), (spc, fieldName) =>
1753
context.RegisterSourceOutput(source2.
Select
((value, ct) => value.Left.Left.Left).WithTrackingName("Output"), (spc, output) =>
1806
context.RegisterSourceOutput(joinedSource.
Select
((value, ct) => value.Left).WithTrackingName("Output"), (spc, fieldName) =>
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
EditAndContinue\CompileTimeSolutionProviderTests.cs (1)
96
var sources = context.AdditionalTextsProvider.Combine(isDisabled).
Select
((pair, ct) =>
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
GenerateFileForEachAdditionalFileWithContentsCommented.cs (1)
20
context.RegisterSourceOutput(context.AdditionalTextsProvider.
Select
((t, ct) => t).WithTrackingName(StepName), (context, additionalText) =>