9 references to SelectAsArray
Microsoft.CodeAnalysis (1)
Compilation\DeterministicKeyBuilder.cs (1)
331compilation.SyntaxTrees.SelectAsArray(static x => SyntaxTreeKey.Create(x)),
Microsoft.CodeAnalysis.CSharp (2)
BoundTree\LengthBasedStringSwitchData.cs (1)
157var labelForLength = CreateAndRegisterCharJumpTables(stringLength, group.SelectAsArray(c => (c.value.StringValue!, c.label)), charJumpTables, stringJumpTables);
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (1)
273g.SelectAsArray(state => (int)state),
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (1)
EndToEndTests.cs (1)
701var nodes = tree.GetRoot().DescendantNodes().OfType<InvocationExpressionSyntax>().SelectAsArray(node => model.GetInterceptableLocation(node));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\InterceptorsTests.cs (1)
47var nodes = tree.GetRoot().DescendantNodes().OfType<InvocationExpressionSyntax>().SelectAsArray(node => model.GetInterceptableLocation(node));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\CompilationAPITests.cs (1)
2713return type.GetMembers().OfType<IPropertySymbol>().SelectAsArray(p =>
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
CompilationTestUtils.cs (2)
470var expectedTypes = annotations.SelectAsArray(annotation => annotation.Text); 471var actualTypes = annotations.SelectAsArray(annotation =>
Microsoft.CodeAnalysis.Rebuild.UnitTests (1)
RoundTripUtil.cs (1)
94original.SyntaxTrees.SelectAsArray(x => compilationFactory.CreateSyntaxTree(x.FilePath, x.GetText())),