38 references to SupportsCompilation
Microsoft.CodeAnalysis.EditorFeatures (1)
FindReferences\FindReferencesCommandHandler.cs (1)
134IncludeContainingTypeAndMemberColumns = document.Project.SupportsCompilation,
Microsoft.CodeAnalysis.Features (8)
AddImport\AbstractAddImportFeatureService.cs (1)
450var viableProjects = new HashSet<Project>(solution.Projects.Where(p => p.SupportsCompilation));
AddImport\SearchScopes\ProjectSearchScope.cs (1)
21Contract.ThrowIfFalse(project.SupportsCompilation);
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.cs (1)
174if (!project.SupportsCompilation)
Completion\Providers\AbstractInternalsVisibleToCompletionProvider.cs (1)
172=> !project.SupportsCompilation;
DesignerAttribute\DesignerAttributeDiscoveryService.cs (1)
181if (!project.SupportsCompilation)
ExternalAccess\UnitTesting\API\UnitTestingSearchHelpers.cs (2)
28if (!project.SupportsCompilation) 51if (!project.SupportsCompilation)
StackTraceExplorer\StackTraceExplorerUtilities.cs (1)
50if (!project.SupportsCompilation)
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Diagnostics\DocumentAnalysisExecutor_Helpers.cs (1)
154Contract.ThrowIfFalse(project.SupportsCompilation);
Microsoft.CodeAnalysis.Workspaces (24)
Diagnostics\DiagnosticData.cs (1)
287if (project.SupportsCompilation)
Editing\SymbolEditor.cs (1)
151if (project.SupportsCompilation)
FindSymbols\Declarations\DeclarationFinder.cs (1)
25if (!project.SupportsCompilation)
FindSymbols\Declarations\DeclarationFinder_AllDeclarations.cs (1)
70if (project.SupportsCompilation)
FindSymbols\FindReferences\DependentProjectsFinder.cs (4)
202if (project.IsSubmission && project.SupportsCompilation) 268if (!project.SupportsCompilation || 311Contract.ThrowIfFalse(project.SupportsCompilation); 324Contract.ThrowIfFalse(project.SupportsCompilation);
FindSymbols\FindReferences\DependentTypeFinder.cs (3)
135if (project.SupportsCompilation) 145Debug.Assert(project.SupportsCompilation); 293Debug.Assert(project.SupportsCompilation);
FindSymbols\FindReferences\FindReferencesSearchEngine_FindReferencesInDocuments.cs (1)
60var projectsToSearch = documents.Select(d => d.Project).Where(p => p.SupportsCompilation).ToImmutableHashSet();
FindSymbols\ReferenceLocationExtensions.cs (1)
29if (project.SupportsCompilation)
FindSymbols\SymbolTree\SymbolTreeInfoCacheService.cs (3)
72if (!project.SupportsCompilation) 97if (!project.SupportsCompilation) 128if (project is not { SupportsCompilation: true })
Shared\Extensions\ISolutionExtensions.cs (1)
27if (project.SupportsCompilation)
Workspace\Solution\Document.cs (2)
155return this.SupportsSyntaxTree && this.Project.SupportsCompilation; 509this.Project.SupportsCompilation)
Workspace\Solution\Project.cs (2)
453if (!this.SupportsCompilation) 485/// cref="SupportsCompilation"/> returns <see langword="false"/>. This function will
Workspace\Solution\SolutionCompilationState.cs (1)
1803=> project.SupportsCompilation ? compilationState.GetCompilationTracker(project.Id).GeneratorDriver : null;
Workspace\Workspace.cs (2)
294if (!addedProject.SupportsCompilation) 303if (!projectChanges.NewProject.SupportsCompilation)
Microsoft.VisualStudio.LanguageServices (2)
CodeCleanup\AbstractCodeCleanUpFixer.cs (2)
71solution, solution.Projects.Where(p => p.SupportsCompilation).ToImmutableArray(), context.EnabledFixIds, progress, cancellationToken), 102if (project == null || !project.SupportsCompilation)
Microsoft.VisualStudio.LanguageServices.Xaml (2)
Extensions.cs (2)
28if (document.Project.SupportsCompilation) 34return document.Project.Solution.Projects.Single(p => p.SupportsCompilation && p.FilePath == document.Project.FilePath);