2 writes to ProjectInfo
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\Solution\ProjectState.cs (2)
77ProjectInfo = ClearAllDocumentsFromProjectInfo(projectInfo); 115ProjectInfo = ClearAllDocumentsFromProjectInfo(projectInfoFixed);
55 references to ProjectInfo
Microsoft.CodeAnalysis.Features (6)
EditAndContinue\DebuggingSession.cs (2)
631_editSessionTelemetry.LogUpdatedBaseline(solution.GetRequiredProject(projectId).State.ProjectInfo.Attributes.TelemetryId); 710_editSessionTelemetry.LogUpdatedBaseline(solution.GetRequiredProject(projectId).State.ProjectInfo.Attributes.TelemetryId);
EditAndContinue\EditSession.cs (4)
940Telemetry.LogProjectAnalysisSummary(ProjectAnalysisSummary.ValidChanges, newProject.State.ProjectInfo.Attributes.TelemetryId, projectDiagnostics); 1033Telemetry.LogProjectAnalysisSummary(projectSummary, newProject.State.ProjectInfo.Attributes.TelemetryId, projectDiagnostics); 1047Telemetry.LogProjectAnalysisSummary(projectSummary, newProject.State.ProjectInfo.Attributes.TelemetryId, projectDiagnostics); 1180Telemetry.LogProjectAnalysisSummary(projectSummary, newProject.State.ProjectInfo.Attributes.TelemetryId, projectDiagnostics);
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Host\RemoteWorkspace.SolutionCreator.cs (1)
346project.State.ProjectInfo.Attributes.FixUpCompilationOptions(
Microsoft.CodeAnalysis.Workspaces (47)
Workspace\ProjectSystem\ProjectSystemProject.cs (1)
328m["ProjectGuid"] = projectState.ProjectInfo.Attributes.TelemetryId.ToString("B");
Workspace\Solution\ProjectState.cs (41)
348var extension = ProjectInfo.Language switch 360if (!PathUtilities.IsAbsolute(ProjectInfo.FilePath)) 371var projectDirectory = PathUtilities.GetDirectoryName(ProjectInfo.FilePath); 626public ProjectId Id => this.ProjectInfo.Id; 629public string? FilePath => this.ProjectInfo.FilePath; 632public string? OutputFilePath => this.ProjectInfo.OutputFilePath; 635public string? OutputRefFilePath => this.ProjectInfo.OutputRefFilePath; 638public CompilationOutputInfo CompilationOutputInfo => this.ProjectInfo.CompilationOutputInfo; 641public string? DefaultNamespace => this.ProjectInfo.DefaultNamespace; 644public SourceHashAlgorithm ChecksumAlgorithm => this.ProjectInfo.ChecksumAlgorithm; 650public string Name => this.ProjectInfo.Name; 654public (string? name, string? flavor) NameAndFlavor => this.ProjectInfo.NameAndFlavor; 657public bool IsSubmission => this.ProjectInfo.IsSubmission; 660public Type? HostObjectType => this.ProjectInfo.HostObjectType; 666public VersionStamp Version => this.ProjectInfo.Version; 672public string AssemblyName => this.ProjectInfo.AssemblyName; 675public CompilationOptions? CompilationOptions => this.ProjectInfo.CompilationOptions; 678public ParseOptions? ParseOptions => this.ProjectInfo.ParseOptions; 681public IReadOnlyList<MetadataReference> MetadataReferences => this.ProjectInfo.MetadataReferences; 684public IReadOnlyList<AnalyzerReference> AnalyzerReferences => this.ProjectInfo.AnalyzerReferences; 687public IReadOnlyList<ProjectReference> ProjectReferences => this.ProjectInfo.ProjectReferences; 690public bool HasAllInformation => this.ProjectInfo.HasAllInformation; 693public bool RunAnalyzers => this.ProjectInfo.RunAnalyzers; 696internal bool HasSdkCodeStyleAnalyzers => this.ProjectInfo.HasSdkCodeStyleAnalyzers; 708projectInfo ?? ProjectInfo, 719=> ProjectInfo.Attributes; 722/// Updates <see cref="ProjectInfo"/> to a newer version of attributes. 729return With(projectInfo: ProjectInfo.With(attributes: attributes)); 770projectInfo: ProjectInfo.With(attributes: Attributes.With(checksumAlgorithm: checksumAlgorithm, version: Version.GetNewerVersion())), 791return With(projectInfo: ProjectInfo.WithCompilationOptions(options.WithSyntaxTreeOptionsProvider(newProvider)) 811projectInfo: ProjectInfo.WithParseOptions(options).WithVersion(Version.GetNewerVersion()), 853return With(projectInfo: ProjectInfo.With(projectReferences: projectReferences).WithVersion(Version.GetNewerVersion())); 863return With(projectInfo: ProjectInfo.With(metadataReferences: metadataReferences).WithVersion(Version.GetNewerVersion())); 873return With(projectInfo: ProjectInfo.WithAnalyzerReferences(analyzerReferences).WithVersion(Version.GetNewerVersion())); 884projectInfo: ProjectInfo.WithVersion(Version.GetNewerVersion()), 896projectInfo: ProjectInfo.WithVersion(Version.GetNewerVersion()), 915var projectInfo = ProjectInfo.WithVersion(Version.GetNewerVersion()); 939projectInfo: ProjectInfo.WithVersion(Version.GetNewerVersion()), 950projectInfo: ProjectInfo.WithVersion(Version.GetNewerVersion()), 972projectInfo: ProjectInfo.WithVersion(Version.GetNewerVersion()), 1046projectInfo: ProjectInfo.WithVersion(Version.GetNewerVersion()),
Workspace\Solution\ProjectState_Checksum.cs (1)
53var infoChecksum = this.ProjectInfo.Attributes.Checksum;
Workspace\Solution\SolutionCompilationState.cs (2)
567if (oldProject.ProjectInfo.Attributes.Language != attributes.Language) 572if (oldProject.ProjectInfo.Attributes.IsSubmission != attributes.IsSubmission)
Workspace\Solution\SolutionState.cs (1)
1355if (!includeDifferentLanguages && projectState.ProjectInfo.Language != language)
Workspace\Solution\StateChecksums.cs (1)
447onAssetFound(Info, state.ProjectInfo.Attributes, arg);
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\ProjectMap.cs (1)
78AddProjectInfo(project.State.ProjectInfo);