2 writes to ProjectInfo
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\Solution\ProjectState.cs (2)
77ProjectInfo = ClearAllDocumentsFromProjectInfo(projectInfo); 115ProjectInfo = ClearAllDocumentsFromProjectInfo(projectInfoFixed);
51 references to ProjectInfo
Microsoft.CodeAnalysis.Features (2)
EditAndContinue\DebuggingSession.cs (1)
625_editSessionTelemetry.LogUpdatedBaseline(solution.GetRequiredProject(projectId).State.ProjectInfo.Attributes.TelemetryId);
EditAndContinue\EditSession.cs (1)
1445Telemetry.LogProjectAnalysisSummary(projectSummaryToReport, 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); 616public ProjectId Id => this.ProjectInfo.Id; 619public string? FilePath => this.ProjectInfo.FilePath; 622public string? OutputFilePath => this.ProjectInfo.OutputFilePath; 625public string? OutputRefFilePath => this.ProjectInfo.OutputRefFilePath; 628public CompilationOutputInfo CompilationOutputInfo => this.ProjectInfo.CompilationOutputInfo; 631public string? DefaultNamespace => this.ProjectInfo.DefaultNamespace; 634public SourceHashAlgorithm ChecksumAlgorithm => this.ProjectInfo.ChecksumAlgorithm; 640public string Name => this.ProjectInfo.Name; 644public (string? name, string? flavor) NameAndFlavor => this.ProjectInfo.NameAndFlavor; 647public bool IsSubmission => this.ProjectInfo.IsSubmission; 650public Type? HostObjectType => this.ProjectInfo.HostObjectType; 656public VersionStamp Version => this.ProjectInfo.Version; 662public string AssemblyName => this.ProjectInfo.AssemblyName; 665public CompilationOptions? CompilationOptions => this.ProjectInfo.CompilationOptions; 668public ParseOptions? ParseOptions => this.ProjectInfo.ParseOptions; 671public IReadOnlyList<MetadataReference> MetadataReferences => this.ProjectInfo.MetadataReferences; 674public IReadOnlyList<AnalyzerReference> AnalyzerReferences => this.ProjectInfo.AnalyzerReferences; 677public IReadOnlyList<ProjectReference> ProjectReferences => this.ProjectInfo.ProjectReferences; 680public bool HasAllInformation => this.ProjectInfo.HasAllInformation; 683public bool RunAnalyzers => this.ProjectInfo.RunAnalyzers; 686internal bool HasSdkCodeStyleAnalyzers => this.ProjectInfo.HasSdkCodeStyleAnalyzers; 698projectInfo ?? ProjectInfo, 709=> ProjectInfo.Attributes; 712/// Updates <see cref="ProjectInfo"/> to a newer version of attributes. 719return With(projectInfo: ProjectInfo.With(attributes: attributes)); 760projectInfo: ProjectInfo.With(attributes: Attributes.With(checksumAlgorithm: checksumAlgorithm, version: Version.GetNewerVersion())), 781return With(projectInfo: ProjectInfo.WithCompilationOptions(options.WithSyntaxTreeOptionsProvider(newProvider)) 801projectInfo: ProjectInfo.WithParseOptions(options).WithVersion(Version.GetNewerVersion()), 843return With(projectInfo: ProjectInfo.With(projectReferences: projectReferences).WithVersion(Version.GetNewerVersion())); 853return With(projectInfo: ProjectInfo.With(metadataReferences: metadataReferences).WithVersion(Version.GetNewerVersion())); 863return With(projectInfo: ProjectInfo.WithAnalyzerReferences(analyzerReferences).WithVersion(Version.GetNewerVersion())); 874projectInfo: ProjectInfo.WithVersion(Version.GetNewerVersion()), 886projectInfo: ProjectInfo.WithVersion(Version.GetNewerVersion()), 905var projectInfo = ProjectInfo.WithVersion(Version.GetNewerVersion()); 929projectInfo: ProjectInfo.WithVersion(Version.GetNewerVersion()), 940projectInfo: ProjectInfo.WithVersion(Version.GetNewerVersion()), 962projectInfo: ProjectInfo.WithVersion(Version.GetNewerVersion()), 1036projectInfo: ProjectInfo.WithVersion(Version.GetNewerVersion()),
Workspace\Solution\ProjectState_Checksum.cs (1)
50var infoChecksum = this.ProjectInfo.Attributes.Checksum;
Workspace\Solution\SolutionCompilationState.cs (2)
574if (oldProject.ProjectInfo.Attributes.Language != attributes.Language) 579if (oldProject.ProjectInfo.Attributes.IsSubmission != attributes.IsSubmission)
Workspace\Solution\SolutionState.cs (1)
1374if (!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);