45 references to SupportsCompilation
Analyzer.Utilities.UnitTests (1)
Options\SymbolNamesWithValueOptionTests.cs (1)
439Assert.True(project.SupportsCompilation);
Metrics (2)
Program.cs (2)
312if (!project.SupportsCompilation) 345if (!project.SupportsCompilation)
Metrics.Legacy (2)
src\RoslynAnalyzers\Tools\Metrics\Program.cs (2)
312if (!project.SupportsCompilation) 345if (!project.SupportsCompilation)
Microsoft.CodeAnalysis.EditorFeatures (1)
GoOrFind\FindReferences\FindReferencesNavigationService.cs (1)
47IncludeContainingTypeAndMemberColumns = document.Project.SupportsCompilation,
Microsoft.CodeAnalysis.Features (10)
AddImport\AbstractAddImportFeatureService.cs (1)
457var viableProjects = new HashSet<Project>(solution.Projects.Where(p => p.SupportsCompilation));
AddImport\SearchScopes\ProjectSearchScope.cs (1)
19Contract.ThrowIfFalse(project.SupportsCompilation);
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.cs (1)
171if (!project.SupportsCompilation)
Completion\Providers\AbstractInternalsVisibleToCompletionProvider.cs (1)
172=> !project.SupportsCompilation;
DesignerAttribute\DesignerAttributeDiscoveryService.cs (1)
181if (!project.SupportsCompilation)
Diagnostics\Service\EngineV2\DiagnosticIncrementalAnalyzer.CompilationManager.cs (1)
35if (!project.SupportsCompilation)
EditAndContinue\Utilities\Extensions.cs (1)
51if (!project.SupportsCompilation)
ExternalAccess\UnitTesting\API\UnitTestingSearchHelpers.cs (2)
28if (!project.SupportsCompilation) 51if (!project.SupportsCompilation)
StackTraceExplorer\StackTraceExplorerUtilities.cs (1)
50if (!project.SupportsCompilation)
Microsoft.CodeAnalysis.Workspaces (25)
Diagnostics\DiagnosticAnalysisResultBuilder.cs (1)
45Contract.ThrowIfTrue(Project.SupportsCompilation);
Diagnostics\DiagnosticData.cs (1)
309if (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)
136if (project.SupportsCompilation) 146Debug.Assert(project.SupportsCompilation); 294Debug.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)
73if (!project.SupportsCompilation) 98if (!project.SupportsCompilation) 129if (project is not { SupportsCompilation: true })
Shared\Extensions\ISolutionExtensions.cs (1)
27if (project.SupportsCompilation)
Workspace\Solution\Document.cs (2)
154return this.SupportsSyntaxTree && this.Project.SupportsCompilation; 564this.Project.SupportsCompilation)
Workspace\Solution\Project.cs (2)
488if (!this.SupportsCompilation) 520/// cref="SupportsCompilation"/> returns <see langword="false"/>. This function will
Workspace\Solution\SolutionCompilationState.cs (1)
1920=> project.SupportsCompilation ? compilationState.GetCompilationTracker(project.Id).GeneratorDriver : null;
Workspace\Workspace.cs (2)
303if (!addedProject.SupportsCompilation) 312if (!projectChanges.NewProject.SupportsCompilation)
Microsoft.VisualStudio.LanguageServices (2)
CodeCleanup\AbstractCodeCleanUpFixer.cs (2)
62solution, [.. solution.Projects.Where(p => p.SupportsCompilation)], context.EnabledFixIds, progress, cancellationToken), 93if (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);