6 references to EnumerableExtensions
Microsoft.CodeAnalysis.EditorFeatures (6)
EditorConfigSettings\DataProvider\Analyzer\AnalyzerSettingsProvider.cs (2)
14
using RoslynEnumerableExtensions = Microsoft.CodeAnalysis.Editor.EditorConfigSettings.Extensions.
EnumerableExtensions
;
31
var analyzerReferences =
RoslynEnumerableExtensions
.DistinctBy(projectsInScope.SelectMany(p => p.AnalyzerReferences), a => a.Id).ToImmutableArray();
EditorConfigSettings\DataProvider\NamingStyles\NamingStyleSettingsProvider.cs (2)
14
using RoslynEnumerableExtensions = Microsoft.CodeAnalysis.Editor.EditorConfigSettings.Extensions.
EnumerableExtensions
;
32
var allStyles =
RoslynEnumerableExtensions
.DistinctBy(namingPreferences.NamingStyles, s => s.Name).ToArray();
EditorConfigSettings\Updater\NamingStyles\NamingStyleSettingsUpdater.cs (2)
16
using RoslynEnumerableExtensions = Microsoft.CodeAnalysis.Editor.EditorConfigSettings.Extensions.
EnumerableExtensions
;
56
var allDistinctStyles =
RoslynEnumerableExtensions
.DistinctBy(allCurrentStyles.Select(x => x.style), x => x.Name).ToArray();