4 references to Contains
Microsoft.CodeAnalysis.Workspaces (4)
CodeFixes\ExportCodeFixProviderAttribute.cs (1)
52
if (kind == null || !s_documentKindNames.
Contains
(kind))
Shared\TestHooks\AsynchronousOperationListenerProvider.cs (1)
244
return _singletonListeners.Where(kv => featureNames.
Contains
(kv.Key)).Select(kv => (IAsynchronousOperationWaiter)kv.Value);
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
635
if (pathParts.
Contains
(ThisDirectory))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LayeredServiceUtilities.cs (1)
54
service = servicesOfMatchingType.SingleOrDefault(static (lz, workspaceKind) => lz.lazyService?.Metadata.WorkspaceKinds.
Contains
(workspaceKind) ?? false, workspaceKind);