12 implementations of Contains
GenerateDocumentationAndConfigFiles (1)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
144public bool Contains(T value)
Microsoft.Build (1)
src\msbuild\artifacts\.packages\microsoft.codeanalysis.collections\5.0.0-1.25277.114\contentFiles\cs\net9.0\Segmented\ImmutableSegmentedHashSet`1.cs (1)
144public bool Contains(T value)
Microsoft.CodeAnalysis (1)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
144public bool Contains(T value)
Microsoft.CodeAnalysis.Analyzers (1)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
144public bool Contains(T value)
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
144public bool Contains(T value)
Microsoft.CodeAnalysis.CodeStyle (1)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
144public bool Contains(T value)
Microsoft.CodeAnalysis.Extensions.Package (1)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
144public bool Contains(T value)
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
144public bool Contains(T value)
Microsoft.CodeAnalysis.Workspaces (1)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
144public bool Contains(T value)
Roslyn.Diagnostics.Analyzers (1)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedHashSet`1.cs (1)
144public bool Contains(T value)
System.Collections.Immutable (2)
System\Collections\Immutable\ImmutableHashSet_1.cs (1)
408public bool Contains(T item)
System\Collections\Immutable\ImmutableSortedSet_1.cs (1)
626public bool Contains(T value)
9 references to Contains
Microsoft.CodeAnalysis.Features (4)
CallHierarchy\AbstractCallHierarchyService.cs (2)
229if (document == null || (documents != null && !documents.Contains(document))) 319var bestLocation = sourceLocations.FirstOrDefault(d => documents == null || documents.Contains(d));
Completion\Providers\AbstractInternalsVisibleToCompletionProvider.cs (1)
149if (allInternalsVisibleToAttributesOfProject.Contains(project.AssemblyName))
DocumentHighlighting\AbstractDocumentHighlightsService.cs (1)
257if (documentToSearch.Contains(document))
Microsoft.CodeAnalysis.Workspaces (5)
FindSymbols\FindReferences\DependentProjectsFinder.cs (1)
50return dependentProjects.WhereAsArray(projects.Contains);
FindSymbols\FindReferences\Finders\AbstractMemberScopedReferenceFinder.cs (1)
45if (documents != null && !documents.Contains(document))
FindSymbols\FindReferences\Finders\AbstractReferenceFinder.cs (1)
104if (scope != null && !scope.Contains(document))
Workspace\Solution\SolutionState.cs (1)
1412=> _dependencyGraph.GetProjectsThatThisProjectTransitivelyDependsOn(fromProjectId).Contains(toProjectId);
Workspace\Workspace.cs (1)
2388if (transitiveReferences.Contains(fromProjectId))