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