2 writes to ProjectInfo
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\Solution\ProjectState.cs (2)
77
ProjectInfo
= ClearAllDocumentsFromProjectInfo(projectInfo);
115
ProjectInfo
= 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)
1445
Telemetry.LogProjectAnalysisSummary(projectSummaryToReport, newProject.State.
ProjectInfo
.Attributes.TelemetryId, projectDiagnostics);
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Host\RemoteWorkspace.SolutionCreator.cs (1)
346
project.State.
ProjectInfo
.Attributes.FixUpCompilationOptions(
Microsoft.CodeAnalysis.Workspaces (47)
Workspace\ProjectSystem\ProjectSystemProject.cs (1)
328
m["ProjectGuid"] = projectState.
ProjectInfo
.Attributes.TelemetryId.ToString("B");
Workspace\Solution\ProjectState.cs (41)
348
var extension =
ProjectInfo
.Language switch
360
if (!PathUtilities.IsAbsolute(
ProjectInfo
.FilePath))
371
var projectDirectory = PathUtilities.GetDirectoryName(
ProjectInfo
.FilePath);
616
public ProjectId Id => this.
ProjectInfo
.Id;
619
public string? FilePath => this.
ProjectInfo
.FilePath;
622
public string? OutputFilePath => this.
ProjectInfo
.OutputFilePath;
625
public string? OutputRefFilePath => this.
ProjectInfo
.OutputRefFilePath;
628
public CompilationOutputInfo CompilationOutputInfo => this.
ProjectInfo
.CompilationOutputInfo;
631
public string? DefaultNamespace => this.
ProjectInfo
.DefaultNamespace;
634
public SourceHashAlgorithm ChecksumAlgorithm => this.
ProjectInfo
.ChecksumAlgorithm;
640
public string Name => this.
ProjectInfo
.Name;
644
public (string? name, string? flavor) NameAndFlavor => this.
ProjectInfo
.NameAndFlavor;
647
public bool IsSubmission => this.
ProjectInfo
.IsSubmission;
650
public Type? HostObjectType => this.
ProjectInfo
.HostObjectType;
656
public VersionStamp Version => this.
ProjectInfo
.Version;
662
public string AssemblyName => this.
ProjectInfo
.AssemblyName;
665
public CompilationOptions? CompilationOptions => this.
ProjectInfo
.CompilationOptions;
668
public ParseOptions? ParseOptions => this.
ProjectInfo
.ParseOptions;
671
public IReadOnlyList<MetadataReference> MetadataReferences => this.
ProjectInfo
.MetadataReferences;
674
public IReadOnlyList<AnalyzerReference> AnalyzerReferences => this.
ProjectInfo
.AnalyzerReferences;
677
public IReadOnlyList<ProjectReference> ProjectReferences => this.
ProjectInfo
.ProjectReferences;
680
public bool HasAllInformation => this.
ProjectInfo
.HasAllInformation;
683
public bool RunAnalyzers => this.
ProjectInfo
.RunAnalyzers;
686
internal bool HasSdkCodeStyleAnalyzers => this.
ProjectInfo
.HasSdkCodeStyleAnalyzers;
698
projectInfo ??
ProjectInfo
,
709
=>
ProjectInfo
.Attributes;
712
/// Updates <see cref="
ProjectInfo
"/> to a newer version of attributes.
719
return With(projectInfo:
ProjectInfo
.With(attributes: attributes));
760
projectInfo:
ProjectInfo
.With(attributes: Attributes.With(checksumAlgorithm: checksumAlgorithm, version: Version.GetNewerVersion())),
781
return With(projectInfo:
ProjectInfo
.WithCompilationOptions(options.WithSyntaxTreeOptionsProvider(newProvider))
801
projectInfo:
ProjectInfo
.WithParseOptions(options).WithVersion(Version.GetNewerVersion()),
843
return With(projectInfo:
ProjectInfo
.With(projectReferences: projectReferences).WithVersion(Version.GetNewerVersion()));
853
return With(projectInfo:
ProjectInfo
.With(metadataReferences: metadataReferences).WithVersion(Version.GetNewerVersion()));
863
return With(projectInfo:
ProjectInfo
.WithAnalyzerReferences(analyzerReferences).WithVersion(Version.GetNewerVersion()));
874
projectInfo:
ProjectInfo
.WithVersion(Version.GetNewerVersion()),
886
projectInfo:
ProjectInfo
.WithVersion(Version.GetNewerVersion()),
905
var projectInfo =
ProjectInfo
.WithVersion(Version.GetNewerVersion());
929
projectInfo:
ProjectInfo
.WithVersion(Version.GetNewerVersion()),
940
projectInfo:
ProjectInfo
.WithVersion(Version.GetNewerVersion()),
962
projectInfo:
ProjectInfo
.WithVersion(Version.GetNewerVersion()),
1036
projectInfo:
ProjectInfo
.WithVersion(Version.GetNewerVersion()),
Workspace\Solution\ProjectState_Checksum.cs (1)
50
var infoChecksum = this.
ProjectInfo
.Attributes.Checksum;
Workspace\Solution\SolutionCompilationState.cs (2)
574
if (oldProject.
ProjectInfo
.Attributes.Language != attributes.Language)
579
if (oldProject.
ProjectInfo
.Attributes.IsSubmission != attributes.IsSubmission)
Workspace\Solution\SolutionState.cs (1)
1374
if (!includeDifferentLanguages && projectState.
ProjectInfo
.Language != language)
Workspace\Solution\StateChecksums.cs (1)
447
onAssetFound(Info, state.
ProjectInfo
.Attributes, arg);
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\ProjectMap.cs (1)
78
AddProjectInfo(project.State.
ProjectInfo
);