36 references to SupportsCompilation
Microsoft.CodeAnalysis.EditorFeatures (1)
FindReferences\FindReferencesCommandHandler.cs (1)
134
IncludeContainingTypeAndMemberColumns = document.Project.
SupportsCompilation
,
Microsoft.CodeAnalysis.Features (8)
AddImport\AbstractAddImportFeatureService.cs (1)
457
var viableProjects = new HashSet<Project>(solution.Projects.Where(p => p.
SupportsCompilation
));
AddImport\SearchScopes\ProjectSearchScope.cs (1)
21
Contract.ThrowIfFalse(project.
SupportsCompilation
);
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.cs (1)
174
if (!project.
SupportsCompilation
)
Completion\Providers\AbstractInternalsVisibleToCompletionProvider.cs (1)
172
=> !project.
SupportsCompilation
;
DesignerAttribute\DesignerAttributeDiscoveryService.cs (1)
181
if (!project.
SupportsCompilation
)
ExternalAccess\UnitTesting\API\UnitTestingSearchHelpers.cs (2)
28
if (!project.
SupportsCompilation
)
51
if (!project.
SupportsCompilation
)
StackTraceExplorer\StackTraceExplorerUtilities.cs (1)
50
if (!project.
SupportsCompilation
)
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Diagnostics\DocumentAnalysisExecutor_Helpers.cs (1)
159
Contract.ThrowIfFalse(project.
SupportsCompilation
);
Microsoft.CodeAnalysis.Workspaces (24)
Diagnostics\DiagnosticData.cs (1)
287
if (project.
SupportsCompilation
)
Editing\SymbolEditor.cs (1)
151
if (project.
SupportsCompilation
)
FindSymbols\Declarations\DeclarationFinder.cs (1)
25
if (!project.
SupportsCompilation
)
FindSymbols\Declarations\DeclarationFinder_AllDeclarations.cs (1)
70
if (project.
SupportsCompilation
)
FindSymbols\FindReferences\DependentProjectsFinder.cs (4)
204
if (project.IsSubmission && project.
SupportsCompilation
)
270
if (!project.
SupportsCompilation
||
313
Contract.ThrowIfFalse(project.
SupportsCompilation
);
326
Contract.ThrowIfFalse(project.
SupportsCompilation
);
FindSymbols\FindReferences\DependentTypeFinder.cs (3)
135
if (project.
SupportsCompilation
)
145
Debug.Assert(project.
SupportsCompilation
);
293
Debug.Assert(project.
SupportsCompilation
);
FindSymbols\FindReferences\FindReferencesSearchEngine_FindReferencesInDocuments.cs (1)
60
var projectsToSearch = documents.Select(d => d.Project).Where(p => p.
SupportsCompilation
).ToImmutableHashSet();
FindSymbols\ReferenceLocationExtensions.cs (1)
29
if (project.
SupportsCompilation
)
FindSymbols\SymbolTree\SymbolTreeInfoCacheService.cs (3)
72
if (!project.
SupportsCompilation
)
97
if (!project.
SupportsCompilation
)
128
if (project is not {
SupportsCompilation
: true })
Shared\Extensions\ISolutionExtensions.cs (1)
27
if (project.
SupportsCompilation
)
Workspace\Solution\Document.cs (2)
155
return this.SupportsSyntaxTree && this.Project.
SupportsCompilation
;
545
this.Project.
SupportsCompilation
)
Workspace\Solution\Project.cs (2)
458
if (!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)
304
if (!addedProject.
SupportsCompilation
)
313
if (!projectChanges.NewProject.
SupportsCompilation
)
Microsoft.VisualStudio.LanguageServices.Xaml (2)
Extensions.cs (2)
28
if (document.Project.
SupportsCompilation
)
34
return document.Project.Solution.Projects.Single(p => p.
SupportsCompilation
&& p.FilePath == document.Project.FilePath);