24 implementations of IImmutableSet
GenerateDocumentationAndConfigFiles (1)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
66internal readonly partial struct ImmutableSegmentedHashSet<T> : IImmutableSet<T>, ISet<T>, ICollection, IEquatable<ImmutableSegmentedHashSet<T>>
Metrics (1)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
66internal readonly partial struct ImmutableSegmentedHashSet<T> : IImmutableSet<T>, ISet<T>, ICollection, IEquatable<ImmutableSegmentedHashSet<T>>
Metrics.Legacy (1)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
66internal readonly partial struct ImmutableSegmentedHashSet<T> : IImmutableSet<T>, ISet<T>, ICollection, IEquatable<ImmutableSegmentedHashSet<T>>
Microsoft.CodeAnalysis (1)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
66internal readonly partial struct ImmutableSegmentedHashSet<T> : IImmutableSet<T>, ISet<T>, ICollection, IEquatable<ImmutableSegmentedHashSet<T>>
Microsoft.CodeAnalysis.Analyzers (1)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
66internal readonly partial struct ImmutableSegmentedHashSet<T> : IImmutableSet<T>, ISet<T>, ICollection, IEquatable<ImmutableSegmentedHashSet<T>>
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
66internal readonly partial struct ImmutableSegmentedHashSet<T> : IImmutableSet<T>, ISet<T>, ICollection, IEquatable<ImmutableSegmentedHashSet<T>>
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
66internal readonly partial struct ImmutableSegmentedHashSet<T> : IImmutableSet<T>, ISet<T>, ICollection, IEquatable<ImmutableSegmentedHashSet<T>>
Microsoft.CodeAnalysis.CodeStyle (1)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
66internal readonly partial struct ImmutableSegmentedHashSet<T> : IImmutableSet<T>, ISet<T>, ICollection, IEquatable<ImmutableSegmentedHashSet<T>>
Microsoft.CodeAnalysis.Collections.Package (1)
Segmented\ImmutableSegmentedHashSet`1.cs (1)
66internal readonly partial struct ImmutableSegmentedHashSet<T> : IImmutableSet<T>, ISet<T>, ICollection, IEquatable<ImmutableSegmentedHashSet<T>>
Microsoft.CodeAnalysis.Extensions.Package (1)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
66internal readonly partial struct ImmutableSegmentedHashSet<T> : IImmutableSet<T>, ISet<T>, ICollection, IEquatable<ImmutableSegmentedHashSet<T>>
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
66internal readonly partial struct ImmutableSegmentedHashSet<T> : IImmutableSet<T>, ISet<T>, ICollection, IEquatable<ImmutableSegmentedHashSet<T>>
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
66internal readonly partial struct ImmutableSegmentedHashSet<T> : IImmutableSet<T>, ISet<T>, ICollection, IEquatable<ImmutableSegmentedHashSet<T>>
Microsoft.CodeAnalysis.PublicApiAnalyzers (1)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
66internal readonly partial struct ImmutableSegmentedHashSet<T> : IImmutableSet<T>, ISet<T>, ICollection, IEquatable<ImmutableSegmentedHashSet<T>>
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
66internal readonly partial struct ImmutableSegmentedHashSet<T> : IImmutableSet<T>, ISet<T>, ICollection, IEquatable<ImmutableSegmentedHashSet<T>>
Microsoft.CodeAnalysis.Threading.Package (1)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
66internal readonly partial struct ImmutableSegmentedHashSet<T> : IImmutableSet<T>, ISet<T>, ICollection, IEquatable<ImmutableSegmentedHashSet<T>>
Microsoft.CodeAnalysis.Workspaces (1)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
66internal readonly partial struct ImmutableSegmentedHashSet<T> : IImmutableSet<T>, ISet<T>, ICollection, IEquatable<ImmutableSegmentedHashSet<T>>
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
66internal readonly partial struct ImmutableSegmentedHashSet<T> : IImmutableSet<T>, ISet<T>, ICollection, IEquatable<ImmutableSegmentedHashSet<T>>
Roslyn.Diagnostics.Analyzers (1)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
66internal readonly partial struct ImmutableSegmentedHashSet<T> : IImmutableSet<T>, ISet<T>, ICollection, IEquatable<ImmutableSegmentedHashSet<T>>
System.Collections.Immutable (4)
System\Collections\Immutable\ImmutableHashSet_1.cs (1)
19public sealed partial class ImmutableHashSet<T> : IImmutableSet<T>, IReadOnlyCollection<T>, ICollection<T>, ISet<T>, IReadOnlySet<T>, ICollection, IStrongEnumerable<T, ImmutableHashSet<T>.Enumerator>
System\Collections\Immutable\ImmutableHashSet_1.HashBucketByRefEqualityComparer.cs (1)
11public sealed partial class ImmutableHashSet<T> : IImmutableSet<T>, IReadOnlyCollection<T>, ICollection<T>, ISet<T>, ICollection, IStrongEnumerable<T, ImmutableHashSet<T>.Enumerator>
System\Collections\Immutable\ImmutableHashSet_1.HashBucketByValueEqualityComparer.cs (1)
11public sealed partial class ImmutableHashSet<T> : IImmutableSet<T>, IReadOnlyCollection<T>, ICollection<T>, ISet<T>, ICollection, IStrongEnumerable<T, ImmutableHashSet<T>.Enumerator>
System\Collections\Immutable\ImmutableSortedSet_1.cs (1)
24public sealed partial class ImmutableSortedSet<T> : IImmutableSet<T>, IReadOnlySet<T>, IReadOnlyList<T>, IList<T>, ISet<T>, IList, IStrongEnumerable<T, ImmutableSortedSet<T>.Enumerator>
Test.Utilities (1)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
66internal readonly partial struct ImmutableSegmentedHashSet<T> : IImmutableSet<T>, ISet<T>, ICollection, IEquatable<ImmutableSegmentedHashSet<T>>
Text.Analyzers (1)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
66internal readonly partial struct ImmutableSegmentedHashSet<T> : IImmutableSet<T>, ISet<T>, ICollection, IEquatable<ImmutableSegmentedHashSet<T>>
596 references to IImmutableSet
GenerateDocumentationAndConfigFiles (15)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (14)
325IImmutableSet<T> IImmutableSet<T>.Clear() 328IImmutableSet<T> IImmutableSet<T>.Add(T value) 331IImmutableSet<T> IImmutableSet<T>.Remove(T value) 334IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other) 337IImmutableSet<T> IImmutableSet<T>.Except(IEnumerable<T> other) 340IImmutableSet<T> IImmutableSet<T>.SymmetricExcept(IEnumerable<T> other) 343IImmutableSet<T> IImmutableSet<T>.Union(IEnumerable<T> other)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (1)
184where TSet : IImmutableSet<TValue>
Metrics (15)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (14)
325IImmutableSet<T> IImmutableSet<T>.Clear() 328IImmutableSet<T> IImmutableSet<T>.Add(T value) 331IImmutableSet<T> IImmutableSet<T>.Remove(T value) 334IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other) 337IImmutableSet<T> IImmutableSet<T>.Except(IEnumerable<T> other) 340IImmutableSet<T> IImmutableSet<T>.SymmetricExcept(IEnumerable<T> other) 343IImmutableSet<T> IImmutableSet<T>.Union(IEnumerable<T> other)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (1)
184where TSet : IImmutableSet<TValue>
Metrics.Legacy (15)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (14)
325IImmutableSet<T> IImmutableSet<T>.Clear() 328IImmutableSet<T> IImmutableSet<T>.Add(T value) 331IImmutableSet<T> IImmutableSet<T>.Remove(T value) 334IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other) 337IImmutableSet<T> IImmutableSet<T>.Except(IEnumerable<T> other) 340IImmutableSet<T> IImmutableSet<T>.SymmetricExcept(IEnumerable<T> other) 343IImmutableSet<T> IImmutableSet<T>.Union(IEnumerable<T> other)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (1)
184where TSet : IImmutableSet<TValue>
Microsoft.AspNetCore.Analyzers (1)
CompilationFeatureDetector.cs (1)
16public static async Task<IImmutableSet<string>> DetectFeaturesAsync(
Microsoft.AspNetCore.Analyzers.Test (3)
CompilationFeatureDetectorTest.cs (3)
39var features = await CompilationFeatureDetector.DetectFeaturesAsync(compilation); 79var features = await CompilationFeatureDetector.DetectFeaturesAsync(compilation); 119var features = await CompilationFeatureDetector.DetectFeaturesAsync(compilation);
Microsoft.AspNetCore.Components.Endpoints (5)
FormMapping\Converters\CollectionAdapters\ImmutableHashSetBufferAdapter.cs (3)
20public static CollectionConverter<IImmutableSet<TElement>> CreateInterfaceConverter(FormDataConverter<TElement> elementConverter) 23IImmutableSet<TElement>, 25IImmutableSet<TElement>,
FormMapping\Factories\Collections\TypedCollectionConverterFactory.cs (2)
77var _ when type == (typeof(IImmutableSet<TElement>)) => true, 177var _ when type.IsAssignableTo(typeof(IImmutableSet<TElement>)) =>
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Binding\FormDataMapperTests.cs (1)
866CanDeserialize_Collection<IImmutableSet<int>, ImmutableHashSet<int>, int>(expected);
Microsoft.AspNetCore.Http.Extensions (5)
src\Components\Endpoints\src\FormMapping\Converters\CollectionAdapters\ImmutableHashSetBufferAdapter.cs (3)
20public static CollectionConverter<IImmutableSet<TElement>> CreateInterfaceConverter(FormDataConverter<TElement> elementConverter) 23IImmutableSet<TElement>, 25IImmutableSet<TElement>,
src\Components\Endpoints\src\FormMapping\Factories\Collections\TypedCollectionConverterFactory.cs (2)
77var _ when type == (typeof(IImmutableSet<TElement>)) => true, 177var _ when type.IsAssignableTo(typeof(IImmutableSet<TElement>)) =>
Microsoft.CodeAnalysis (14)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (14)
325IImmutableSet<T> IImmutableSet<T>.Clear() 328IImmutableSet<T> IImmutableSet<T>.Add(T value) 331IImmutableSet<T> IImmutableSet<T>.Remove(T value) 334IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other) 337IImmutableSet<T> IImmutableSet<T>.Except(IEnumerable<T> other) 340IImmutableSet<T> IImmutableSet<T>.SymmetricExcept(IEnumerable<T> other) 343IImmutableSet<T> IImmutableSet<T>.Union(IEnumerable<T> other)
Microsoft.CodeAnalysis.Analyzers (15)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (14)
325IImmutableSet<T> IImmutableSet<T>.Clear() 328IImmutableSet<T> IImmutableSet<T>.Add(T value) 331IImmutableSet<T> IImmutableSet<T>.Remove(T value) 334IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other) 337IImmutableSet<T> IImmutableSet<T>.Except(IEnumerable<T> other) 340IImmutableSet<T> IImmutableSet<T>.SymmetricExcept(IEnumerable<T> other) 343IImmutableSet<T> IImmutableSet<T>.Union(IEnumerable<T> other)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (1)
184where TSet : IImmutableSet<TValue>
Microsoft.CodeAnalysis.AnalyzerUtilities (15)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (14)
325IImmutableSet<T> IImmutableSet<T>.Clear() 328IImmutableSet<T> IImmutableSet<T>.Add(T value) 331IImmutableSet<T> IImmutableSet<T>.Remove(T value) 334IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other) 337IImmutableSet<T> IImmutableSet<T>.Except(IEnumerable<T> other) 340IImmutableSet<T> IImmutableSet<T>.SymmetricExcept(IEnumerable<T> other) 343IImmutableSet<T> IImmutableSet<T>.Union(IEnumerable<T> other)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (1)
184where TSet : IImmutableSet<TValue>
Microsoft.CodeAnalysis.BannedApiAnalyzers (15)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (14)
325IImmutableSet<T> IImmutableSet<T>.Clear() 328IImmutableSet<T> IImmutableSet<T>.Add(T value) 331IImmutableSet<T> IImmutableSet<T>.Remove(T value) 334IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other) 337IImmutableSet<T> IImmutableSet<T>.Except(IEnumerable<T> other) 340IImmutableSet<T> IImmutableSet<T>.SymmetricExcept(IEnumerable<T> other) 343IImmutableSet<T> IImmutableSet<T>.Union(IEnumerable<T> other)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (1)
184where TSet : IImmutableSet<TValue>
Microsoft.CodeAnalysis.CodeStyle (15)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (14)
325IImmutableSet<T> IImmutableSet<T>.Clear() 328IImmutableSet<T> IImmutableSet<T>.Add(T value) 331IImmutableSet<T> IImmutableSet<T>.Remove(T value) 334IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other) 337IImmutableSet<T> IImmutableSet<T>.Except(IEnumerable<T> other) 340IImmutableSet<T> IImmutableSet<T>.SymmetricExcept(IEnumerable<T> other) 343IImmutableSet<T> IImmutableSet<T>.Union(IEnumerable<T> other)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (1)
184where TSet : IImmutableSet<TValue>
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\TypeParameterSubstitution.cs (1)
124INamedTypeSymbol constraintType, IImmutableSet<Project> projects)
Microsoft.CodeAnalysis.Collections.Package (14)
Segmented\ImmutableSegmentedHashSet`1.cs (14)
325IImmutableSet<T> IImmutableSet<T>.Clear() 328IImmutableSet<T> IImmutableSet<T>.Add(T value) 331IImmutableSet<T> IImmutableSet<T>.Remove(T value) 334IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other) 337IImmutableSet<T> IImmutableSet<T>.Except(IEnumerable<T> other) 340IImmutableSet<T> IImmutableSet<T>.SymmetricExcept(IEnumerable<T> other) 343IImmutableSet<T> IImmutableSet<T>.Union(IEnumerable<T> other)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (8)
NavigateTo\NavigateToSearcherTests.cs (8)
54IImmutableSet<string> kinds, 76IImmutableSet<string> kinds, 104IImmutableSet<string> kinds, 506public IImmutableSet<string> KindsProvided => AbstractNavigateToSearchService.AllKinds; 515public Task SearchCachedDocumentsAsync(Solution solution, ImmutableArray<Project> projects, ImmutableArray<Document> priorityDocuments, string searchPattern, IImmutableSet<string> kinds, Document? activeDocument, Func<ImmutableArray<INavigateToSearchResult>, Task> onResultsFound, Func<Task> onProjectCompleted, CancellationToken cancellationToken) 521public Task SearchDocumentAsync(Document document, string searchPattern, IImmutableSet<string> kinds, Func<ImmutableArray<INavigateToSearchResult>, Task> onResultsFound, CancellationToken cancellationToken) 527public Task SearchGeneratedDocumentsAsync(Solution solution, ImmutableArray<Project> projects, string searchPattern, IImmutableSet<string> kinds, Document? activeDocument, Func<ImmutableArray<INavigateToSearchResult>, Task> onResultsFound, Func<Task> onProjectCompleted, CancellationToken cancellationToken) 533public Task SearchProjectsAsync(Solution solution, ImmutableArray<Project> projects, ImmutableArray<Document> priorityDocuments, string searchPattern, IImmutableSet<string> kinds, Document? activeDocument, Func<ImmutableArray<INavigateToSearchResult>, Task> onResultsFound, Func<Task> onProjectCompleted, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.EditorFeatures (1)
NavigateTo\NavigateToItemProvider.cs (1)
92private void StartSearch(INavigateToCallback callback, string searchValue, IImmutableSet<string> kinds)
Microsoft.CodeAnalysis.Extensions.Package (14)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (14)
325IImmutableSet<T> IImmutableSet<T>.Clear() 328IImmutableSet<T> IImmutableSet<T>.Add(T value) 331IImmutableSet<T> IImmutableSet<T>.Remove(T value) 334IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other) 337IImmutableSet<T> IImmutableSet<T>.Except(IEnumerable<T> other) 340IImmutableSet<T> IImmutableSet<T>.SymmetricExcept(IEnumerable<T> other) 343IImmutableSet<T> IImmutableSet<T>.Union(IEnumerable<T> other)
Microsoft.CodeAnalysis.ExternalAccess.FSharp (8)
DocumentHighlighting\IFSharpDocumentHighlightsService.cs (1)
53Document document, int position, IImmutableSet<Document> documentsToSearch, CancellationToken cancellationToken);
Internal\DocumentHighlighting\FSharpDocumentHighlightsService.cs (1)
70public async Task<ImmutableArray<DocumentHighlights>> GetDocumentHighlightsAsync(Document document, int position, IImmutableSet<Document> documentsToSearch, HighlightingOptions options, CancellationToken cancellationToken)
Internal\NavigateTo\FSharpNavigateToSearchService.cs (3)
31public IImmutableSet<string> KindsProvided => _service.KindsProvided; 38IImmutableSet<string> kinds, 52IImmutableSet<string> kinds,
NavigateTo\IFSharpNavigateToSearchService.cs (3)
13IImmutableSet<string> KindsProvided { get; } 17Task<ImmutableArray<FSharpNavigateToSearchResult>> SearchProjectAsync(Project project, ImmutableArray<Document> priorityDocuments, string searchPattern, IImmutableSet<string> kinds, CancellationToken cancellationToken); 18Task<ImmutableArray<FSharpNavigateToSearchResult>> SearchDocumentAsync(Document document, string searchPattern, IImmutableSet<string> kinds, CancellationToken cancellationToken);
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (1)
NavigateTo\OmniSharpNavigateToSearchService.cs (1)
23IImmutableSet<string> kinds,
Microsoft.CodeAnalysis.Features (41)
ChangeSignature\DelegateInvokeMethodReferenceFinder.cs (1)
71IImmutableSet<Document>? documents,
Completion\Providers\AbstractInternalsVisibleToCompletionProvider.cs (2)
136var allInternalsVisibleToAttributesOfProject = await GetAllInternalsVisibleToAssemblyNamesOfProjectAsync(context, cancellationToken).ConfigureAwait(false); 174private async Task<IImmutableSet<string>> GetAllInternalsVisibleToAssemblyNamesOfProjectAsync(CompletionContext completionContext, CancellationToken cancellationToken)
ConvertTupleToStruct\AbstractConvertTupleToStructCodeRefactoringProvider.cs (1)
460var dependentProjects = graph.GetProjectsThatDirectlyDependOnThisProject(startingProject.Id);
DocumentHighlighting\AbstractDocumentHighlightsService.cs (5)
37Document document, int position, IImmutableSet<Document> documentsToSearch, HighlightingOptions options, CancellationToken cancellationToken) 64Document document, int position, IImmutableSet<Document> documentsToSearch, HighlightingOptions options, CancellationToken cancellationToken) 114IImmutableSet<Document> documentsToSearch, 163IImmutableSet<Document> documentsToSearch, ISymbol symbol, 206IImmutableSet<Document> documentToSearch,
DocumentHighlighting\IDocumentHighlightsService.cs (1)
51Document document, int position, IImmutableSet<Document> documentsToSearch, HighlightingOptions options, CancellationToken cancellationToken);
ExternalAccess\VSTypeScript\Api\IVSTypeScriptNavigateToSearchService.cs (3)
13IImmutableSet<string> KindsProvided { get; } 16Task<ImmutableArray<IVSTypeScriptNavigateToSearchResult>> SearchProjectAsync(Project project, ImmutableArray<Document> priorityDocuments, string searchPattern, IImmutableSet<string> kinds, CancellationToken cancellationToken); 17Task<ImmutableArray<IVSTypeScriptNavigateToSearchResult>> SearchDocumentAsync(Document document, string searchPattern, IImmutableSet<string> kinds, CancellationToken cancellationToken);
ExternalAccess\VSTypeScript\Api\VSTypeScriptDocumentHighlightsServiceBase.cs (2)
19Document document, int position, IImmutableSet<Document> documentsToSearch, CancellationToken cancellationToken); 22Document document, int position, IImmutableSet<Document> documentsToSearch, HighlightingOptions options, CancellationToken cancellationToken)
ExternalAccess\VSTypeScript\VSTypeScriptNavigateToSearchService.cs (3)
30public IImmutableSet<string> KindsProvided => _searchService?.KindsProvided ?? ImmutableHashSet<string>.Empty; 37IImmutableSet<string> kinds, 54IImmutableSet<string> kinds,
NavigateTo\AbstractNavigateToSearchService.CachedDocumentSearch.cs (2)
63IImmutableSet<string> kinds, 104IImmutableSet<string> kinds,
NavigateTo\AbstractNavigateToSearchService.cs (2)
18public static readonly IImmutableSet<string> AllKinds = [ 32public IImmutableSet<string> KindsProvided { get; } = AllKinds;
NavigateTo\AbstractNavigateToSearchService.GeneratedDocumentSearch.cs (2)
24IImmutableSet<string> kinds, 63IImmutableSet<string> kinds,
NavigateTo\AbstractNavigateToSearchService.NormalSearch.cs (4)
29IImmutableSet<string> kinds, 56IImmutableSet<string> kinds, 149IImmutableSet<string> kinds, 190IImmutableSet<string> kinds,
NavigateTo\INavigateToSearchService.cs (5)
15IImmutableSet<string> KindsProvided { get; } 21IImmutableSet<string> kinds, 40IImmutableSet<string> kinds, 67IImmutableSet<string> kinds, 85IImmutableSet<string> kinds,
NavigateTo\NavigateToSearcher.cs (7)
49private readonly IImmutableSet<string> _kinds; 62IImmutableSet<string> kinds) 98IImmutableSet<string> kinds, 109IImmutableSet<string> kinds, 526public IImmutableSet<string> KindsProvided 532public Task SearchDocumentAsync(Document document, string searchPattern, IImmutableSet<string> kinds, Func<ImmutableArray<INavigateToSearchResult>, Task> onResultsFound, CancellationToken cancellationToken) 535public async Task SearchProjectsAsync(Solution solution, ImmutableArray<Project> projects, ImmutableArray<Document> priorityDocuments, string searchPattern, IImmutableSet<string> kinds, Document? activeDocument, Func<ImmutableArray<INavigateToSearchResult>, Task> onResultsFound, Func<Task> onProjectCompleted, CancellationToken cancellationToken)
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\TypeParameterSubstitution.cs (1)
124INamedTypeSymbol constraintType, IImmutableSet<Project> projects)
Microsoft.CodeAnalysis.InteractiveHost (14)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (14)
325IImmutableSet<T> IImmutableSet<T>.Clear() 328IImmutableSet<T> IImmutableSet<T>.Add(T value) 331IImmutableSet<T> IImmutableSet<T>.Remove(T value) 334IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other) 337IImmutableSet<T> IImmutableSet<T>.Except(IEnumerable<T> other) 340IImmutableSet<T> IImmutableSet<T>.SymmetricExcept(IEnumerable<T> other) 343IImmutableSet<T> IImmutableSet<T>.Union(IEnumerable<T> other)
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\Symbols\WorkspaceSymbolsHandler.cs (1)
30private static readonly IImmutableSet<string> s_supportedKinds = [
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (15)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (14)
325IImmutableSet<T> IImmutableSet<T>.Clear() 328IImmutableSet<T> IImmutableSet<T>.Add(T value) 331IImmutableSet<T> IImmutableSet<T>.Remove(T value) 334IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other) 337IImmutableSet<T> IImmutableSet<T>.Except(IEnumerable<T> other) 340IImmutableSet<T> IImmutableSet<T>.SymmetricExcept(IEnumerable<T> other) 343IImmutableSet<T> IImmutableSet<T>.Union(IEnumerable<T> other)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (1)
184where TSet : IImmutableSet<TValue>
Microsoft.CodeAnalysis.PublicApiAnalyzers (15)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (14)
325IImmutableSet<T> IImmutableSet<T>.Clear() 328IImmutableSet<T> IImmutableSet<T>.Add(T value) 331IImmutableSet<T> IImmutableSet<T>.Remove(T value) 334IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other) 337IImmutableSet<T> IImmutableSet<T>.Except(IEnumerable<T> other) 340IImmutableSet<T> IImmutableSet<T>.SymmetricExcept(IEnumerable<T> other) 343IImmutableSet<T> IImmutableSet<T>.Union(IEnumerable<T> other)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (1)
184where TSet : IImmutableSet<TValue>
Microsoft.CodeAnalysis.ResxSourceGenerator (15)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (14)
325IImmutableSet<T> IImmutableSet<T>.Clear() 328IImmutableSet<T> IImmutableSet<T>.Add(T value) 331IImmutableSet<T> IImmutableSet<T>.Remove(T value) 334IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other) 337IImmutableSet<T> IImmutableSet<T>.Except(IEnumerable<T> other) 340IImmutableSet<T> IImmutableSet<T>.SymmetricExcept(IEnumerable<T> other) 343IImmutableSet<T> IImmutableSet<T>.Union(IEnumerable<T> other)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (1)
184where TSet : IImmutableSet<TValue>
Microsoft.CodeAnalysis.Threading.Package (14)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (14)
325IImmutableSet<T> IImmutableSet<T>.Clear() 328IImmutableSet<T> IImmutableSet<T>.Add(T value) 331IImmutableSet<T> IImmutableSet<T>.Remove(T value) 334IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other) 337IImmutableSet<T> IImmutableSet<T>.Except(IEnumerable<T> other) 340IImmutableSet<T> IImmutableSet<T>.SymmetricExcept(IEnumerable<T> other) 343IImmutableSet<T> IImmutableSet<T>.Union(IEnumerable<T> other)
Microsoft.CodeAnalysis.UnitTests (44)
Collections\ImmutableSegmentedHashSetTest.cs (1)
215protected override System.Collections.Immutable.IImmutableSet<T> Empty<T>()
Collections\ImmutableSegmentedHashSetTest.nonnetstandard.cs (2)
40private static void EmptyTestHelper<T>(System.Collections.Immutable.IImmutableSet<T> emptySet, T value, IEqualityComparer<T>? comparer) 53var reemptied = emptySet.Add(value).Clear();
Collections\ImmutableSetTest.cs (27)
54System.Collections.Immutable.IImmutableSet<int> emptySet = this.Empty<int>(); 59var set = emptySet; 68var setAfterRemoval = set.Remove(i); 76var set = this.Empty<int>().Add(5); 77var empty2 = this.Empty<int>(); 104var nonEmptySet = this.Empty<int>().Add(5); 162var originalSet = this.Empty<int>(); 163var nonEmptySet = originalSet.Add(5); 164var clearedSet = nonEmptySet.Clear(); 210var empty = this.Empty<string?>(); 211var set = empty.Add(null); 248protected abstract System.Collections.Immutable.IImmutableSet<T> Empty<T>(); 252protected System.Collections.Immutable.IImmutableSet<T> SetWith<T>(params T[] items) 257protected static void CustomSortTestHelper<T>(System.Collections.Immutable.IImmutableSet<T> emptySet, bool matchOrder, T[] injectedValues, T[] expectedValues) 263var set = emptySet; 285protected static void EmptyTestHelper<T>(System.Collections.Immutable.IImmutableSet<T> emptySet) 359private void SetCompareTestHelper<T>(Func<System.Collections.Immutable.IImmutableSet<T>, Func<IEnumerable<T>, bool>> operation, Func<ISet<T>, Func<IEnumerable<T>, bool>> baselineOperation, IEnumerable<Tuple<IEnumerable<T>, IEnumerable<T>, bool>> scenarios) 387private static void RemoveTestHelper<T>(System.Collections.Immutable.IImmutableSet<T> set, params T[] values) 398var nextSet = set.Remove(value); 411private static void AddRemoveLoadTestHelper<T>(System.Collections.Immutable.IImmutableSet<T> set, T[] data) 418var newSet = set.Add(value); 430var newSet = set.Remove(value); 436protected static void EnumeratorTestHelper<T>(System.Collections.Immutable.IImmutableSet<T> emptySet, IComparer<T>? comparer, params T[] values) 438var set = emptySet; 483private static void AddTestHelper<T>(System.Collections.Immutable.IImmutableSet<T> set, params T[] values) 493var enumerateAddSet = set.Union(values); 504var nextSet = set.Add(value);
Collections\ImmutableSetTest.nonnetstandard.cs (12)
38var set = this.Empty<double>(); 61protected static IComparer<T>? GetComparer<T>(System.Collections.Immutable.IImmutableSet<T> set) 77protected static IEqualityComparer<T>? GetEqualityComparer<T>(System.Collections.Immutable.IImmutableSet<T> set) 93protected static void TryGetValueTestHelper(System.Collections.Immutable.IImmutableSet<string> set) 110private static void ExceptTestHelper<T>(System.Collections.Immutable.IImmutableSet<T> set, params T[] valuesToRemove) 118var actualSet = set.Except(valuesToRemove); 122private static void SymmetricExceptTestHelper<T>(System.Collections.Immutable.IImmutableSet<T> set, params T[] otherCollection) 130var actualSet = set.SymmetricExcept(otherCollection); 134private static void IntersectTestHelper<T>(System.Collections.Immutable.IImmutableSet<T> set, params T[] values) 144var actual = set.Intersect(values); 148private static void UnionTestHelper<T>(System.Collections.Immutable.IImmutableSet<T> set, params T[] values) 156var actual = set.Union(values);
Collections\ImmutablesTestBase.cs (2)
73protected static bool IsSame<T>(IImmutableSet<T> first, IImmutableSet<T> second)
Microsoft.CodeAnalysis.Workspaces (99)
FindSymbols\FindReferences\DependentProjectsFinder.cs (1)
41Solution solution, ImmutableArray<ISymbol> symbols, IImmutableSet<Project> projects, CancellationToken cancellationToken)
FindSymbols\FindReferences\DependentTypeFinder.cs (3)
64IImmutableSet<Project>? projects, 450IImmutableSet<Project> projects, 481IImmutableSet<Project> projects,
FindSymbols\FindReferences\DependentTypeFinder_DerivedClasses.cs (1)
18IImmutableSet<Project>? projects,
FindSymbols\FindReferences\DependentTypeFinder_DerivedInterfaces.cs (1)
18IImmutableSet<Project>? projects,
FindSymbols\FindReferences\DependentTypeFinder_ImplementingTypes.cs (1)
17IImmutableSet<Project>? projects,
FindSymbols\FindReferences\DependentTypeFinder_Remote.cs (2)
21IImmutableSet<Project>? projects, 55IImmutableSet<Project>? projects,
FindSymbols\FindReferences\Finders\AbstractMemberScopedReferenceFinder.cs (1)
31IImmutableSet<Document>? documents,
FindSymbols\FindReferences\Finders\AbstractReferenceFinder.cs (11)
35ISymbol symbol, HashSet<string>? globalAliases, Project project, IImmutableSet<Document>? documents, Action<Document, TData> processResult, TData processResultData, FindReferencesSearchOptions options, CancellationToken cancellationToken); 86IImmutableSet<Document>? scope, 119IImmutableSet<Document>? documents, 141Project project, IImmutableSet<Document>? documents, Action<Document, TData> processResult, TData processResultData, CancellationToken cancellationToken) 149IImmutableSet<Document>? documents, 331IImmutableSet<Document>? documents, 347IImmutableSet<Document>? documents, 362protected static Task FindDocumentsWithForEachStatementsAsync<TData>(Project project, IImmutableSet<Document>? documents, Action<Document, TData> processResult, TData processResultData, CancellationToken cancellationToken) 365protected static Task FindDocumentsWithUsingStatementsAsync<TData>(Project project, IImmutableSet<Document>? documents, Action<Document, TData> processResult, TData processResultData, CancellationToken cancellationToken) 660TSymbol symbol, HashSet<string>? globalAliases, Project project, IImmutableSet<Document>? documents, 685IImmutableSet<Document>? documents, Action<Document, TData> processResult,
FindSymbols\FindReferences\Finders\ConstructorInitializerSymbolReferenceFinder.cs (1)
24IImmutableSet<Document>? documents,
FindSymbols\FindReferences\Finders\ConstructorSymbolReferenceFinder.cs (3)
59IImmutableSet<Document>? documents, 93private static Task FindDocumentsWithImplicitObjectCreationExpressionAsync<TData>(Project project, IImmutableSet<Document>? documents, Action<Document, TData> processResult, TData processResultData, CancellationToken cancellationToken) 98IImmutableSet<Document>? documents,
FindSymbols\FindReferences\Finders\DestructorSymbolReferenceFinder.cs (1)
22IImmutableSet<Document>? documents,
FindSymbols\FindReferences\Finders\DynamicTypeSymbolReferenceFinder.cs (1)
29IImmutableSet<Document>? documents,
FindSymbols\FindReferences\Finders\EventSymbolReferenceFinder.cs (1)
53IImmutableSet<Document>? documents,
FindSymbols\FindReferences\Finders\ExplicitConversionSymbolReferenceFinder.cs (1)
30IImmutableSet<Document>? documents,
FindSymbols\FindReferences\Finders\ExplicitInterfaceMethodReferenceFinder.cs (1)
22IImmutableSet<Document>? documents,
FindSymbols\FindReferences\Finders\FieldSymbolReferenceFinder.cs (1)
33IImmutableSet<Document>? documents,
FindSymbols\FindReferences\Finders\IReferenceFinder.cs (1)
55Project project, IImmutableSet<Document>? documents,
FindSymbols\FindReferences\Finders\MethodTypeParameterSymbolReferenceFinder.cs (1)
45IImmutableSet<Document>? documents,
FindSymbols\FindReferences\Finders\NamedTypeSymbolReferenceFinder.cs (2)
57IImmutableSet<Document>? documents, 84IImmutableSet<Document>? documents,
FindSymbols\FindReferences\Finders\NamespaceSymbolReferenceFinder.cs (1)
30IImmutableSet<Document>? documents,
FindSymbols\FindReferences\Finders\OperatorSymbolReferenceFinder.cs (2)
25IImmutableSet<Document>? documents, 38IImmutableSet<Document>? documents,
FindSymbols\FindReferences\Finders\OrdinaryMethodReferenceFinder.cs (4)
51IImmutableSet<Document>? documents, 93private static Task FindDocumentsWithDeconstructionAsync<TData>(Project project, IImmutableSet<Document>? documents, Action<Document, TData> processResult, TData processResultData, CancellationToken cancellationToken) 96private static Task FindDocumentsWithAwaitExpressionAsync<TData>(Project project, IImmutableSet<Document>? documents, Action<Document, TData> processResult, TData processResultData, CancellationToken cancellationToken) 99private static Task FindDocumentsWithCollectionInitializersAsync<TData>(Project project, IImmutableSet<Document>? documents, Action<Document, TData> processResult, TData processResultData, CancellationToken cancellationToken)
FindSymbols\FindReferences\Finders\ParameterSymbolReferenceFinder.cs (1)
28IImmutableSet<Document>? documents,
FindSymbols\FindReferences\Finders\PreprocessingSymbolReferenceFinder.cs (1)
23IImmutableSet<Document>? documents,
FindSymbols\FindReferences\Finders\PropertyAccessorSymbolReferenceFinder.cs (1)
36IImmutableSet<Document>? documents,
FindSymbols\FindReferences\Finders\PropertySymbolReferenceFinder.cs (3)
111IImmutableSet<Document>? documents, 175Project project, IImmutableSet<Document>? documents, Action<Document, TData> processResult, TData processResultData, CancellationToken cancellationToken) 182Project project, IImmutableSet<Document>? documents, Action<Document, TData> processResult, TData processResultData, CancellationToken cancellationToken)
FindSymbols\FindReferences\Finders\TypeParameterSymbolReferenceFinder.cs (1)
22IImmutableSet<Document>? documents,
FindSymbols\FindReferences\FindReferencesSearchEngine.cs (2)
26IImmutableSet<Document>? documents, 39private readonly IImmutableSet<Document>? _documents = documents;
FindSymbols\FindReferences\FindReferencesSearchEngine_FindReferencesInDocuments.cs (1)
22ISymbol originalSymbol, IImmutableSet<Document> documents, CancellationToken cancellationToken)
FindSymbols\SymbolFinder_Callers.cs (2)
33ISymbol symbol, Solution solution, IImmutableSet<Document>? documents, CancellationToken cancellationToken = default) 78IImmutableSet<Document>? documents,
FindSymbols\SymbolFinder_FindReferences_Current.cs (3)
25IImmutableSet<Document>? documents, 74IImmutableSet<Document>? documents, 89IImmutableSet<Document> documents,
FindSymbols\SymbolFinder_FindReferences_Legacy.cs (3)
61IImmutableSet<Document>? documents, 84IImmutableSet<Document>? documents, 100IImmutableSet<Document>? documents,
FindSymbols\SymbolFinder_Hierarchy.cs (19)
27ISymbol symbol, Solution solution, IImmutableSet<Project>? projects = null, CancellationToken cancellationToken = default) 37ISymbol symbol, Solution solution, IImmutableSet<Project>? projects = null, CancellationToken cancellationToken = default) 93ISymbol symbol, Solution solution, IImmutableSet<Project>? projects = null, CancellationToken cancellationToken = default) 116IImmutableSet<Project>? projects, 204/// IImmutableSet{Project}, CancellationToken)"/>. 213INamedTypeSymbol type, Solution solution, IImmutableSet<Project>? projects, CancellationToken cancellationToken) 221/// IImmutableSet{Project}, CancellationToken)"/>. 231INamedTypeSymbol type, Solution solution, bool transitive = true, IImmutableSet<Project>? projects = null, CancellationToken cancellationToken = default) 243/// <inheritdoc cref="FindDerivedClassesArrayAsync(INamedTypeSymbol, Solution, bool, IImmutableSet{Project}, CancellationToken)"/> 246INamedTypeSymbol type, Solution solution, bool transitive, IImmutableSet<Project>? projects = null, CancellationToken cancellationToken = default) 267INamedTypeSymbol type, Solution solution, bool transitive = true, IImmutableSet<Project>? projects = null, CancellationToken cancellationToken = default) 279/// <inheritdoc cref="FindDerivedInterfacesAsync(INamedTypeSymbol, Solution, bool, IImmutableSet{Project}, CancellationToken)"/> 282INamedTypeSymbol type, Solution solution, bool transitive, IImmutableSet<Project>? projects = null, CancellationToken cancellationToken = default) 303INamedTypeSymbol type, Solution solution, bool transitive = true, IImmutableSet<Project>? projects = null, CancellationToken cancellationToken = default) 315/// <inheritdoc cref="FindImplementationsAsync(INamedTypeSymbol, Solution, bool, IImmutableSet{Project}, CancellationToken)"/> 318INamedTypeSymbol type, Solution solution, bool transitive, IImmutableSet<Project>? projects = null, CancellationToken cancellationToken = default) 332ISymbol symbol, Solution solution, IImmutableSet<Project>? projects = null, CancellationToken cancellationToken = default) 351/// <inheritdoc cref="FindImplementationsAsync(ISymbol, Solution, IImmutableSet{Project}, CancellationToken)"/> 356ISymbol symbol, Solution solution, IImmutableSet<Project>? projects = null, CancellationToken cancellationToken = default)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (14)
325IImmutableSet<T> IImmutableSet<T>.Clear() 328IImmutableSet<T> IImmutableSet<T>.Add(T value) 331IImmutableSet<T> IImmutableSet<T>.Remove(T value) 334IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other) 337IImmutableSet<T> IImmutableSet<T>.Except(IEnumerable<T> other) 340IImmutableSet<T> IImmutableSet<T>.SymmetricExcept(IEnumerable<T> other) 343IImmutableSet<T> IImmutableSet<T>.Union(IEnumerable<T> other)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (1)
184where TSet : IImmutableSet<TValue>
Workspace\Solution\ProjectDependencyGraph.cs (4)
169public IImmutableSet<ProjectId> GetProjectsThatThisProjectDirectlyDependsOn(ProjectId projectId) 182public IImmutableSet<ProjectId> GetProjectsThatDirectlyDependOnThisProject(ProjectId projectId) 266public IImmutableSet<ProjectId> GetProjectsThatThisProjectTransitivelyDependsOn(ProjectId projectId) 304var otherProjects = this.GetProjectsThatThisProjectDirectlyDependsOn(project);
Workspace\Workspace.cs (1)
2419var transitiveReferences = this.CurrentSolution.GetProjectDependencyGraph().GetProjectsThatThisProjectTransitivelyDependsOn(toProjectId);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (14)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (14)
325IImmutableSet<T> IImmutableSet<T>.Clear() 328IImmutableSet<T> IImmutableSet<T>.Add(T value) 331IImmutableSet<T> IImmutableSet<T>.Remove(T value) 334IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other) 337IImmutableSet<T> IImmutableSet<T>.Except(IEnumerable<T> other) 340IImmutableSet<T> IImmutableSet<T>.SymmetricExcept(IEnumerable<T> other) 343IImmutableSet<T> IImmutableSet<T>.Union(IEnumerable<T> other)
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
SolutionTests\ProjectDependencyGraphTests.cs (3)
281var projectIds = projectDependencyGraph.GetProjectsThatThisProjectDirectlyDependsOn(projectId); 298var projectIds = projectDependencyGraph.GetProjectsThatThisProjectTransitivelyDependsOn(projectId); 649var projectIds = projectDependencyGraph.GetProjectsThatDirectlyDependOnThisProject(projectId);
Microsoft.VisualStudio.LanguageServices (23)
CallHierarchy\CallHierarchyItem.cs (1)
165internal void StartSearchWithDocuments(string categoryName, CallHierarchySearchScope searchScope, ICallHierarchySearchCallback callback, IImmutableSet<Document> documents)
CallHierarchy\Finders\AbstractCallFinder.cs (6)
31internal IImmutableSet<Document> Documents; 46internal void SetDocuments(IImmutableSet<Document> documents) 111var documents = this.Documents ?? IncludeDocuments(scope, project); 116private static IImmutableSet<Document> IncludeDocuments(CallHierarchySearchScope scope, Project project) 148protected virtual async Task SearchWorkerAsync(ISymbol symbol, Project project, ICallHierarchySearchCallback callback, IImmutableSet<Document> documents, CancellationToken cancellationToken) 180protected abstract Task<IEnumerable<SymbolCallerInfo>> GetCallersAsync(ISymbol symbol, Project project, IImmutableSet<Document> documents, CancellationToken cancellationToken);
CallHierarchy\Finders\BaseMemberFinder.cs (1)
27protected override async Task<IEnumerable<SymbolCallerInfo>> GetCallersAsync(ISymbol symbol, Project project, IImmutableSet<Document> documents, CancellationToken cancellationToken)
CallHierarchy\Finders\CallToOverrideFinder.cs (1)
23protected override async Task<IEnumerable<SymbolCallerInfo>> GetCallersAsync(ISymbol symbol, Project project, IImmutableSet<Document> documents, CancellationToken cancellationToken)
CallHierarchy\Finders\FieldReferenceFinder.cs (1)
30protected override async Task<IEnumerable<SymbolCallerInfo>> GetCallersAsync(ISymbol symbol, Project project, IImmutableSet<Document> documents, CancellationToken cancellationToken)
CallHierarchy\Finders\ImplementerFinder.cs (2)
33protected override Task<IEnumerable<SymbolCallerInfo>> GetCallersAsync(ISymbol symbol, Project project, IImmutableSet<Document> documents, CancellationToken cancellationToken) 36protected override async Task SearchWorkerAsync(ISymbol symbol, Project project, ICallHierarchySearchCallback callback, IImmutableSet<Document> documents, CancellationToken cancellationToken)
CallHierarchy\Finders\InterfaceImplementationCallFinder.cs (1)
30protected override async Task<IEnumerable<SymbolCallerInfo>> GetCallersAsync(ISymbol symbol, Project project, IImmutableSet<Document> documents, CancellationToken cancellationToken)
CallHierarchy\Finders\MethodCallFinder.cs (1)
33protected override async Task<IEnumerable<SymbolCallerInfo>> GetCallersAsync(ISymbol symbol, Project project, IImmutableSet<Document> documents, CancellationToken cancellationToken)
CallHierarchy\Finders\OverridingMemberFinder.cs (2)
29protected override Task<IEnumerable<SymbolCallerInfo>> GetCallersAsync(ISymbol symbol, Project project, IImmutableSet<Document> documents, CancellationToken cancellationToken) 32protected override async Task SearchWorkerAsync(ISymbol symbol, Project project, ICallHierarchySearchCallback callback, IImmutableSet<Document> documents, CancellationToken cancellationToken)
NavigateTo\RoslynSearchItemsSource.cs (4)
23private static readonly IImmutableSet<string> s_typeKinds = ImmutableHashSet<string>.Empty 30private static readonly IImmutableSet<string> s_memberKinds = ImmutableHashSet<string>.Empty 37private static readonly IImmutableSet<string> s_allKinds = s_typeKinds.Union(s_memberKinds); 78var kinds = (includeTypeResults, includeMembersResults) switch
Snippets\AbstractSnippetInfoService.cs (3)
37protected IImmutableSet<string> snippetShortcuts = ImmutableHashSet.Create<string>(); 167var updatedSnippetShortcuts = GetShortcutsHashFromSnippets(updatedSnippets); 214protected static IImmutableSet<string> GetShortcutsHashFromSnippets(ImmutableArray<SnippetInfo> updatedSnippets)
Roslyn.Diagnostics.Analyzers (15)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (14)
325IImmutableSet<T> IImmutableSet<T>.Clear() 328IImmutableSet<T> IImmutableSet<T>.Add(T value) 331IImmutableSet<T> IImmutableSet<T>.Remove(T value) 334IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other) 337IImmutableSet<T> IImmutableSet<T>.Except(IEnumerable<T> other) 340IImmutableSet<T> IImmutableSet<T>.SymmetricExcept(IEnumerable<T> other) 343IImmutableSet<T> IImmutableSet<T>.Union(IEnumerable<T> other)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (1)
184where TSet : IImmutableSet<TValue>
System.Collections.Immutable (71)
System\Collections\Immutable\IImmutableSet.cs (7)
23IImmutableSet<T> Clear(); 39IImmutableSet<T> Add(T value); 46IImmutableSet<T> Remove(T value); 67IImmutableSet<T> Intersect(IEnumerable<T> other); 74IImmutableSet<T> Except(IEnumerable<T> other); 81IImmutableSet<T> SymmetricExcept(IEnumerable<T> other); 88IImmutableSet<T> Union(IEnumerable<T> other);
System\Collections\Immutable\ImmutableHashSet_1.cs (32)
82/// See the <see cref="IImmutableSet{T}"/> interface. 90/// See the <see cref="IImmutableSet{T}"/> interface. 98/// See the <see cref="IImmutableSet{T}"/> interface. 106/// See the <see cref="IImmutableSet{T}"/> interface. 116/// See the <see cref="IImmutableSet{T}"/> interface. 118IImmutableSet<T> IImmutableSet<T>.Clear() 179/// See the <see cref="IImmutableSet{T}"/> interface. 188/// See the <see cref="IImmutableSet{T}"/> interface. 222/// See the <see cref="IImmutableSet{T}"/> interface. 232/// See the <see cref="IImmutableSet{T}"/> interface. 240/// See the <see cref="IImmutableSet{T}"/> interface. 251/// See the <see cref="IImmutableSet{T}"/> interface. 356/// See the <see cref="IImmutableSet{T}"/> interface. 358IImmutableSet<T> IImmutableSet<T>.Add(T item) 364/// See the <see cref="IImmutableSet{T}"/> interface. 366IImmutableSet<T> IImmutableSet<T>.Remove(T item) 372/// See the <see cref="IImmutableSet{T}"/> interface. 374IImmutableSet<T> IImmutableSet<T>.Union(IEnumerable<T> other) 380/// See the <see cref="IImmutableSet{T}"/> interface. 382IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other) 388/// See the <see cref="IImmutableSet{T}"/> interface. 390IImmutableSet<T> IImmutableSet<T>.Except(IEnumerable<T> other) 400IImmutableSet<T> IImmutableSet<T>.SymmetricExcept(IEnumerable<T> other) 406/// See the <see cref="IImmutableSet{T}"/> interface. 414/// See the <see cref="IImmutableSet{T}"/> interface.
System\Collections\Immutable\ImmutableSortedSet_1.cs (32)
77/// See the <see cref="IImmutableSet{T}"/> interface. 105/// See the <see cref="IImmutableSet{T}"/> interface. 113/// See the <see cref="IImmutableSet{T}"/> interface. 123/// See the <see cref="IImmutableSet{T}"/> interface. 177/// See the <see cref="IImmutableSet{T}"/> interface. 185/// See the <see cref="IImmutableSet{T}"/> interface. 220/// See the <see cref="IImmutableSet{T}"/> interface. 240/// See the <see cref="IImmutableSet{T}"/> interface. 288/// See the <see cref="IImmutableSet{T}"/> interface. 328/// See the <see cref="IImmutableSet{T}"/> interface. 345/// See the <see cref="IImmutableSet{T}"/> interface. 592/// See the <see cref="IImmutableSet{T}"/> interface. 600/// See the <see cref="IImmutableSet{T}"/> interface. 602IImmutableSet<T> IImmutableSet<T>.Clear() 608/// See the <see cref="IImmutableSet{T}"/> interface. 610IImmutableSet<T> IImmutableSet<T>.Add(T value) 616/// See the <see cref="IImmutableSet{T}"/> interface. 618IImmutableSet<T> IImmutableSet<T>.Remove(T value) 624/// See the <see cref="IImmutableSet{T}"/> interface. 626IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other) 632/// See the <see cref="IImmutableSet{T}"/> interface. 634IImmutableSet<T> IImmutableSet<T>.Except(IEnumerable<T> other) 644IImmutableSet<T> IImmutableSet<T>.SymmetricExcept(IEnumerable<T> other) 650/// See the <see cref="IImmutableSet{T}"/> interface. 652IImmutableSet<T> IImmutableSet<T>.Union(IEnumerable<T> other)
System.Text.Json.SourceGeneration (1)
Helpers\KnownTypeSymbols.cs (1)
109public INamedTypeSymbol? IImmutableSetType => GetOrResolveType(typeof(IImmutableSet<>), ref _IImmutableSetType);
Test.Utilities (15)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (14)
325IImmutableSet<T> IImmutableSet<T>.Clear() 328IImmutableSet<T> IImmutableSet<T>.Add(T value) 331IImmutableSet<T> IImmutableSet<T>.Remove(T value) 334IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other) 337IImmutableSet<T> IImmutableSet<T>.Except(IEnumerable<T> other) 340IImmutableSet<T> IImmutableSet<T>.SymmetricExcept(IEnumerable<T> other) 343IImmutableSet<T> IImmutableSet<T>.Union(IEnumerable<T> other)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (1)
184where TSet : IImmutableSet<TValue>
Text.Analyzers (15)
src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (14)
325IImmutableSet<T> IImmutableSet<T>.Clear() 328IImmutableSet<T> IImmutableSet<T>.Add(T value) 331IImmutableSet<T> IImmutableSet<T>.Remove(T value) 334IImmutableSet<T> IImmutableSet<T>.Intersect(IEnumerable<T> other) 337IImmutableSet<T> IImmutableSet<T>.Except(IEnumerable<T> other) 340IImmutableSet<T> IImmutableSet<T>.SymmetricExcept(IEnumerable<T> other) 343IImmutableSet<T> IImmutableSet<T>.Union(IEnumerable<T> other)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (1)
184where TSet : IImmutableSet<TValue>