48 references to SupportsCompilation
Microsoft.CodeAnalysis.EditorFeatures (1)
FindReferences\FindReferencesCommandHandler.cs (1)
130includeContainingTypeAndMemberColumns: document.Project.SupportsCompilation,
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
FindReferences\FindReferencesTests.vb (1)
609Dim csProject = solution.Projects.Single(Function(p) p.SupportsCompilation)
Microsoft.CodeAnalysis.Features (14)
AddImport\AbstractAddImportFeatureService.cs (1)
226if (!unreferencedProject.SupportsCompilation)
AddImport\SearchScopes\ProjectSearchScope.cs (1)
25Contract.ThrowIfFalse(project.SupportsCompilation);
AddMissingReference\AddMissingReferenceCodeAction.cs (1)
63if (candidateProject.SupportsCompilation &&
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.cs (1)
174if (!project.SupportsCompilation)
Completion\Providers\AbstractInternalsVisibleToCompletionProvider.cs (1)
172=> !project.SupportsCompilation;
Completion\Providers\ImportCompletionProvider\AbstractTypeImportCompletionService.cs (1)
78var referencedProjects = graph.GetProjectsThatThisProjectTransitivelyDependsOn(currentProject.Id).Select(solution.GetRequiredProject).Where(p => p.SupportsCompilation);
Completion\Providers\ImportCompletionProvider\ExtensionMethodImportCompletionHelper.SymbolComputer.cs (1)
151return relevantProjectIds.Select(project.Solution.GetRequiredProject).Where(p => p.SupportsCompilation).ToImmutableArray();
ConvertTupleToStruct\AbstractConvertTupleToStructCodeRefactoringProvider.cs (1)
454.Where(p => p.SupportsCompilation)
DesignerAttribute\DesignerAttributeDiscoveryService.cs (1)
106if (!project.SupportsCompilation)
ExternalAccess\UnitTesting\API\UnitTestingSearchHelpers.cs (2)
29if (!project.SupportsCompilation) 52if (!project.SupportsCompilation)
Shared\Utilities\CompilationAvailableEventSource.cs (1)
50if (!project.SupportsCompilation)
StackTraceExplorer\StackTraceExplorerUtilities.cs (1)
51if (!project.SupportsCompilation)
Workspace\BackgroundParser.cs (1)
91if (oldProject.SupportsCompilation &&
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Features\Diagnostics\DocumentAnalysisExecutor_Helpers.cs (1)
154Contract.ThrowIfFalse(project.SupportsCompilation);
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.CompilationManager.cs (1)
23if (!project.SupportsCompilation)
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.StateManager.cs (2)
136var projectStateSets = project.SupportsCompilation 141if (!project.SupportsCompilation)
Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator (1)
Program.cs (1)
197if (project.SupportsCompilation && project.FilePath != null)
Microsoft.CodeAnalysis.Workspaces (24)
Diagnostics\DiagnosticAnalysisResultBuilder.cs (1)
59Contract.ThrowIfTrue(Project.SupportsCompilation);
Diagnostics\DiagnosticData.cs (1)
312if (project.SupportsCompilation)
Editing\SymbolEditor.cs (1)
149if (project.SupportsCompilation)
FindSymbols\Declarations\DeclarationFinder.cs (1)
27if (!project.SupportsCompilation)
FindSymbols\Declarations\DeclarationFinder_AllDeclarations.cs (1)
68if (project.SupportsCompilation)
FindSymbols\FindReferences\DependentProjectsFinder.cs (4)
148if (project.IsSubmission && project.SupportsCompilation) 222if (!project.SupportsCompilation || 265Contract.ThrowIfFalse(project.SupportsCompilation); 277Contract.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)
47var projectsToSearch = documents.Select(d => d.Project).Where(p => p.SupportsCompilation).ToImmutableHashSet();
FindSymbols\ReferenceLocationExtensions.cs (1)
29if (project.SupportsCompilation)
FindSymbols\SymbolFinder.cs (1)
185if (project != null && project.SupportsCompilation)
FindSymbols\SymbolTree\SymbolTreeInfoCacheService.cs (3)
72if (!project.SupportsCompilation) 97if (!project.SupportsCompilation) 128if (project is not { SupportsCompilation: true })
Shared\Extensions\ISolutionExtensions.cs (1)
26if (project.SupportsCompilation)
Workspace\Solution\Document.cs (2)
150return this.SupportsSyntaxTree && this.Project.SupportsCompilation; 453this.Project.SupportsCompilation)
Workspace\Solution\Project.cs (2)
439if (!this.SupportsCompilation) 471/// cref="SupportsCompilation"/> returns <see langword="false"/>. This function will
Workspace\Solution\SolutionState.cs (1)
2074return project.SupportsCompilation ? _solutionState.GetCompilationTracker(project.Id).GeneratorDriver : null;
Microsoft.VisualStudio.LanguageServices (1)
TaskList\ExternalErrorDiagnosticUpdateSource.cs (1)
857if (!project.SupportsCompilation || fullSolutionAnalysis)
Microsoft.VisualStudio.LanguageServices.Xaml (2)
Extensions.cs (2)
33if (document.Project.SupportsCompilation) 39return document.Project.Solution.Projects.Single(p => p.SupportsCompilation && p.FilePath == document.Project.FilePath);