9 references to SelectAsArray
Microsoft.CodeAnalysis.CodeStyle (9)
src\Analyzers\Core\Analyzers\AbstractBuiltInCodeStyleDiagnosticAnalyzer.cs (2)
84: this(supportedDiagnosticsWithOptions.SelectAsArray(static item => item.Descriptor)) 97: this(supportedDiagnosticsWithOptions.SelectAsArray(static item => item.Descriptor))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\EditorConfigFile.cs (2)
23private readonly Lazy<ImmutableArray<Section>> _sections = new(() => Options.SelectAsArray(x => x.Section).Distinct()); 82.SelectAsArray(section => (matchKind: section.GetMatchKind(filePath), section))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
352return typesToImplement.SelectAsArray(s => (s, members: GetUnimplementedMembers(classOrStructType, s, isImplemented, isValidImplementation, interfaceMemberGetter, cancellationToken)))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousTypeSymbolKey.cs (4)
23var propertyTypes = properties.SelectAsArray(p => p.Type); 24var propertyNames = properties.SelectAsArray(p => p.Name); 25var propertyIsReadOnly = properties.SelectAsArray(p => p.SetMethod == null); 26var propertyLocations = properties.SelectAsArray(p => p.Locations.FirstOrDefault());