Implemented interface member:
property
ProjectState
Microsoft.CodeAnalysis.SolutionCompilationState.ICompilationTracker.ProjectState
1 write to ProjectState
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (1)
66this.ProjectState = project;
48 references to ProjectState
Microsoft.CodeAnalysis.Workspaces (48)
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (34)
246s_logBuildCompilationAsync, ProjectState, cancellationToken)) 318var initialProjectState = this.ProjectState.RemoveAllNormalDocuments(); 324foreach (var chunk in this.ProjectState.DocumentStates.GetStatesInCompilationOrder().Chunk(TranslationAction.AddDocumentsAction.AddDocumentsBatchSize)) 363var hasSourceGenerators = await compilationState.HasSourceGeneratorsAsync(this.ProjectState.Id, cancellationToken).ConfigureAwait(false); 486var hasSuccessfullyLoaded = this.ProjectState.HasAllInformation && 487(this.ProjectState.MetadataReferences.Count > 0 || 492newReferences.AddRange(this.ProjectState.MetadataReferences); 494foreach (var projectReference in this.ProjectState.ProjectReferences) 508Debug.Assert(this.ProjectState.IsSubmission); 535projectReference, this.ProjectState, includeCrossLanguage: true, cancellationToken).ConfigureAwait(false); 547projectReference, this.ProjectState, includeCrossLanguage: false, cancellationToken).ConfigureAwait(false); 560projectReference, this.ProjectState, includeCrossLanguage: true, cancellationToken).ConfigureAwait(false); 625this.ProjectState.Id, 650var compilationFactory = this.ProjectState.LanguageServices.GetRequiredService<ICompilationFactoryService>(); 652if (this.ProjectState.IsSubmission) 655this.ProjectState.AssemblyName, 656this.ProjectState.CompilationOptions!, 657this.ProjectState.HostObjectType); 662this.ProjectState.AssemblyName, 663this.ProjectState.CompilationOptions!); 734this.ProjectState, 753: new RegularCompilationTracker(this.ProjectState, newFinalState, skeletonReferenceCacheToClone: _skeletonReferenceCache); 768foreach (var documentState in this.ProjectState.DocumentStates.GetStatesInCompilationOrder()) 776var frozenProjectState = this.ProjectState 813? this.ProjectState 851if (!await compilationState.HasSourceGeneratorsAsync(this.ProjectState.Id, cancellationToken).ConfigureAwait(false)) 862if (!await compilationState.HasSourceGeneratorsAsync(this.ProjectState.Id, cancellationToken).ConfigureAwait(false)) 889if (!await compilationState.HasSourceGeneratorsAsync(this.ProjectState.Id, cancellationToken).ConfigureAwait(false)) 927ValidateCompilationTreesMatchesProjectState(finalState.FinalCompilationWithGeneratedDocuments, ProjectState, finalState.GeneratorInfo); 933: this.ProjectState; 1033var projectState = this.ProjectState; 1072var projectState = this.ProjectState; 1112var projectChecksum = await this.ProjectState.GetChecksumAsync(cancellationToken).ConfigureAwait(false); 1120var transitiveDependencies = solution.GetProjectDependencyGraph().GetProjectsThatThisProjectTransitivelyDependsOn(this.ProjectState.Id);
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (14)
98var projectId = this.ProjectState.Id; 144oldGeneratedDocuments.States.All(kvp => kvp.Value.ParseOptions.Equals(this.ProjectState.ParseOptions))) 196ProjectState.ParseOptions!, 197ProjectState.LanguageServices, 216.WithParseOptions(this.ProjectState.ParseOptions!) 237if (!await compilationState.HasSourceGeneratorsAsync(this.ProjectState.Id, cancellationToken).ConfigureAwait(false)) 241generatorDriver ??= CreateGeneratorDriver(this.ProjectState); 243CheckGeneratorDriver(generatorDriver, this.ProjectState); 255foreach (var documentState in ProjectState.DocumentStates.States) 275g => GetAnalyzerReference(this.ProjectState, g)); 297var generatorAnalyzerReference = GetAnalyzerReference(this.ProjectState, generatorResult.Generator); 311.WithParseOptions(this.ProjectState.ParseOptions!); 328ProjectState.Id, 339ProjectState.LanguageServices,