13 references to ToSet
Microsoft.CodeAnalysis.Workspaces (13)
Diagnostics\Extensions.cs (2)
345Debug.Assert(documentAnalysisScope.ProjectAnalyzers.ToSet().IsSubsetOf(compilationWithAnalyzers.ProjectAnalyzers)); 346Debug.Assert(documentAnalysisScope.HostAnalyzers.ToSet().IsSubsetOf(compilationWithAnalyzers.HostAnalyzers));
FindSymbols\FindReferences\DependentTypeFinder.cs (2)
433dependencyGraph, sourceProject).ToSet(); 496.Concat(projects.Select(p => p.Id)).ToSet();
Log\AggregateLogger.cs (1)
102var set = aggregateLogger._loggers.Where(l => !predicate(l)).ToSet();
Recommendations\AbstractRecommendationService.cs (1)
52return containingType.GetContainingTypes().ToSet();
Rename\ConflictEngine\ConflictResolver.Session.cs (1)
366.ToSet();
src\Compilers\Core\Portable\InternalUtilities\EnumerableExtensions.cs (1)
158return source1.ToSet().SetEquals(source2);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (1)
772return type?.RemoveUnavailableTypeParameters(compilation, availableTypeParameters.Select(t => t.Name).ToSet());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
28var existingConstants = orderedExistingConstants.ToSet();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Editing\ImportAdderService.cs (1)
80return namespaceSymbols.Except(conflicts).ToSet();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxEditorExtensions.cs (1)
166var nodesToVerify = nodesBySemanticBoundary.Where(group => group.Skip(1).Any()).Flatten().ToSet();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceService.State.cs (1)
110select statement).ToSet();