36 references to SupportsCompilation
Microsoft.CodeAnalysis.EditorFeatures (1)
FindReferences\FindReferencesCommandHandler.cs (1)
134IncludeContainingTypeAndMemberColumns = document.Project.SupportsCompilation,
Microsoft.CodeAnalysis.Features (8)
AddImport\AbstractAddImportFeatureService.cs (1)
457var 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)
159Contract.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)
204if (project.IsSubmission && project.SupportsCompilation) 270if (!project.SupportsCompilation || 313Contract.ThrowIfFalse(project.SupportsCompilation); 326Contract.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; 545this.Project.SupportsCompilation)
Workspace\Solution\Project.cs (2)
458if (!this.SupportsCompilation) 490/// cref="SupportsCompilation"/> returns <see langword="false"/>. This function will
Workspace\Solution\SolutionCompilationState.cs (1)
1820=> project.SupportsCompilation ? compilationState.GetCompilationTracker(project.Id).GeneratorDriver : null;
Workspace\Workspace.cs (2)
304if (!addedProject.SupportsCompilation) 313if (!projectChanges.NewProject.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);