38 references to SupportsCompilation
Microsoft.CodeAnalysis.EditorFeatures (1)
FindReferences\FindReferencesCommandHandler.cs (1)
134
IncludeContainingTypeAndMemberColumns = document.Project.
SupportsCompilation
,
Microsoft.CodeAnalysis.Features (8)
AddImport\AbstractAddImportFeatureService.cs (1)
450
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)
154
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)
202
if (project.IsSubmission && project.
SupportsCompilation
)
268
if (!project.
SupportsCompilation
||
311
Contract.ThrowIfFalse(project.
SupportsCompilation
);
324
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
;
509
this.Project.
SupportsCompilation
)
Workspace\Solution\Project.cs (2)
453
if (!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)
294
if (!addedProject.
SupportsCompilation
)
303
if (!projectChanges.NewProject.
SupportsCompilation
)
Microsoft.VisualStudio.LanguageServices (2)
CodeCleanup\AbstractCodeCleanUpFixer.cs (2)
71
solution, solution.Projects.Where(p => p.
SupportsCompilation
).ToImmutableArray(), context.EnabledFixIds, progress, cancellationToken),
102
if (project == null || !project.
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);