459 references to Select
Aspire.Hosting (2)
Aspire.Hosting.Analyzers (1)
ConfigurationSchemaGenerator (2)
ILLink.CodeFixProvider (4)
ILLink.RoslynAnalyzer (1)
Microsoft.Analyzers.Local (1)
Microsoft.AspNetCore.Analyzer.Testing (1)
Microsoft.AspNetCore.App.Analyzers (3)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
Microsoft.Build (3)
Microsoft.CodeAnalysis (12)
Microsoft.CodeAnalysis.CodeStyle (16)
Microsoft.CodeAnalysis.CodeStyle.Fixes (20)
Microsoft.CodeAnalysis.CSharp (25)
Microsoft.CodeAnalysis.CSharp.CodeStyle (5)
src\Analyzers\CSharp\Analyzers\UseDeconstruction\CSharpUseDeconstructionDiagnosticAnalyzer.cs (1)
208.Select(s => s.Name)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (11)
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (14)
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Features (22)
src\Analyzers\CSharp\Analyzers\UseDeconstruction\CSharpUseDeconstructionDiagnosticAnalyzer.cs (1)
208.Select(s => s.Name)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (4)
ScriptTests.cs (3)
403AssertEx.Equal(new[] { "a", "b", "a", "x", "X" }, state.Variables.Select(v => v.Name));
404AssertEx.Equal(new object[] { '1', 2u, 3m, 5m, 20 }, state.Variables.Select(v => v.Value));
405AssertEx.Equal(new Type[] { typeof(char), typeof(uint), typeof(decimal), typeof(decimal), typeof(int) }, state.Variables.Select(v => v.Type));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (5)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (9)
Microsoft.CodeAnalysis.CSharp.Workspaces (7)
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (13)
Microsoft.CodeAnalysis.EditorFeatures (2)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (4)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver.UnitTests (1)
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Microsoft.CodeAnalysis.Features (63)
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
Microsoft.CodeAnalysis.LanguageServer (1)
Microsoft.CodeAnalysis.LanguageServer.Protocol (8)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (4)
Microsoft.CodeAnalysis.Rebuild.UnitTests (1)
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Microsoft.CodeAnalysis.Scripting.Desktop.UnitTests (1)
Microsoft.CodeAnalysis.Test.Utilities (5)
Microsoft.CodeAnalysis.UnitTests (12)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (13)
FlowAnalysis\FlowTestBase.vb (13)
228AssertEx.Equal(If(alwaysAssigned, {}), analysis.AlwaysAssigned.Select(Function(s) s.Name).ToArray())
229AssertEx.Equal(If(captured, {}), analysis.Captured.Select(Function(s) s.Name).ToArray())
230AssertEx.Equal(If(dataFlowsIn, {}), analysis.DataFlowsIn.Select(Function(s) s.Name).ToArray())
231AssertEx.Equal(If(dataFlowsOut, {}), analysis.DataFlowsOut.Select(Function(s) s.Name).ToArray())
232AssertEx.Equal(If(definitelyAssignedOnEntry, {}), analysis.DefinitelyAssignedOnEntry.Select(Function(s) s.Name).ToArray())
233AssertEx.Equal(If(definitelyAssignedOnExit, {}), analysis.DefinitelyAssignedOnExit.Select(Function(s) s.Name).ToArray())
234AssertEx.Equal(If(readInside, {}), analysis.ReadInside.Select(Function(s) s.Name).ToArray())
235AssertEx.Equal(If(readOutside, {}), analysis.ReadOutside.Select(Function(s) s.Name).ToArray())
236AssertEx.Equal(If(variablesDeclared, {}), analysis.VariablesDeclared.Select(Function(s) s.Name).ToArray())
237AssertEx.Equal(If(writtenInside, {}), analysis.WrittenInside.Select(Function(s) s.Name).ToArray())
238AssertEx.Equal(If(writtenOutside, {}), analysis.WrittenOutside.Select(Function(s) s.Name).ToArray())
239AssertEx.Equal(If(capturedInside, {}), analysis.CapturedInside.Select(Function(s) s.Name).ToArray())
240AssertEx.Equal(If(capturedOutside, {}), analysis.CapturedOutside.Select(Function(s) s.Name).ToArray())
Microsoft.CodeAnalysis.Workspaces (60)
Editing\SyntaxGenerator.cs (18)
193typeParameters: method.TypeParameters.Select(p => TypeParameter(p)),
194parameters: method.Parameters.Select(p => ParameterDeclaration(p)),
286parameters: method.Parameters.Select(p => ParameterDeclaration(p)),
452indexer.Parameters.Select(p => this.ParameterDeclaration(p)),
528var parameters = invoke?.Parameters.Select(p => this.ParameterDeclaration(p));
561constructorMethod.Parameters.Select(p => ParameterDeclaration(p)),
763type.TypeParameters.Select(TypeParameter),
767interfaceTypes: type.Interfaces.Select(TypeExpression),
772type.TypeParameters.Select(TypeParameter),
775interfaceTypes: type.Interfaces.Select(TypeExpression),
779type.TypeParameters.Select(TypeParameter),
781interfaceTypes: type.Interfaces.Select(TypeExpression),
793typeParameters: type.TypeParameters.Select(TypeParameter),
794parameters: invoke.Parameters.Select(p => ParameterDeclaration(p)),
864declaration = WithTypeParameters(declaration, typeParameters.Select(tp => TypeParameter(tp)));
875types: tp.ConstraintTypes.Select(TypeExpression));
1024var args = attribute.ConstructorArguments.Select(a => this.AttributeArgument(this.TypedConstantExpression(a)))
1025.Concat(attribute.NamedArguments.Select(n => this.AttributeArgument(n.Key, this.TypedConstantExpression(n.Value))))
Storage\SQLite\v2\SQLitePersistentStorage.Accessor.cs (5)
72({string.Join(",", _allColumns.Select(c => c.name))}) values ({string.Join(",", _allColumns.Select(n => "?"))})
80{string.Join(" and ", _primaryKeyColumns.Select(k => $"{k.name} = ?"))}
113{string.Join(",", _allColumns.Select(k => $"{k.name} {k.type} not null"))},
114primary key({string.Join(",", _primaryKeyColumns.Select(k => k.name))})
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Microsoft.CodeAnalysis.Workspaces.UnitTests (15)
UtilityTest\IntervalTreeTests.cs (15)
95var spans = GetIntervalsThatOverlapWith(tree, 5, 5).Select(t => t.Item3);
106var spans = GetIntervalsThatOverlapWith(tree, 5, 2).Select(i => i.Item3);
117var spans = GetIntervalsThatOverlapWith(tree, 8, 2).Select(i => i.Item3);
128var spans = GetIntervalsThatOverlapWith(tree, 7, 2).Select(i => i.Item3);
139var spans = GetIntervalsThatOverlapWith(tree, 4, 2).Select(i => i.Item3);
150var spans = GetIntervalsThatOverlapWith(tree, 9, 2).Select(i => i.Item3);
161var spans = GetIntervalsThatOverlapWith(tree, 4, 7).Select(i => i.Item3);
178Assert.True(Set("A").SetEquals(GetIntervalsThatOverlapWith(tree, 6, 2).Select(i => i.Item3)));
179Assert.True(Set("B").SetEquals(GetIntervalsThatOverlapWith(tree, 16, 2).Select(i => i.Item3)));
182Assert.True(Set("A", "B").SetEquals(GetIntervalsThatOverlapWith(tree, 2, 20).Select(i => i.Item3)));
183Assert.True(Set("A", "B").SetEquals(GetIntervalsThatOverlapWith(tree, 2, 14).Select(i => i.Item3)));
184Assert.True(Set("A", "B").SetEquals(GetIntervalsThatOverlapWith(tree, 6, 10).Select(i => i.Item3)));
185Assert.True(Set("A", "B").SetEquals(GetIntervalsThatOverlapWith(tree, 6, 20).Select(i => i.Item3)));
323var set1 = new HashSet<string>(GetIntervalsThatOverlapWith(tree, start, length).Select(i => i.Item3));
330var set3 = new HashSet<string>(GetIntervalsThatIntersectWith(tree, start, length).Select(i => i.Item3));
Microsoft.Gen.ContextualOptions (2)
Microsoft.Gen.Logging (2)
Microsoft.Interop.ComInterfaceGenerator (3)
Microsoft.Interop.JavaScript.JSImportGenerator (2)
Microsoft.Interop.SourceGeneration (1)
Microsoft.ML.Data (1)
Microsoft.ML.Samples (8)
Microsoft.ML.TensorFlow (2)
Microsoft.ML.Transforms (1)
Microsoft.ML.Vision (1)
Microsoft.VisualStudio.LanguageServices (20)
Microsoft.VisualStudio.LanguageServices.Xaml (1)
Roslyn.Test.PdbUtilities (1)
Roslyn.VisualStudio.Next.UnitTests (1)
RunTests (4)
System.Text.Json.SourceGeneration (2)
System.Windows.Forms.Design.Tests (1)