2 writes to ProjectInfo
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\Solution\ProjectState.cs (2)
77
ProjectInfo
= ClearAllDocumentsFromProjectInfo(projectInfo);
115
ProjectInfo
= 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)
940
Telemetry.LogProjectAnalysisSummary(ProjectAnalysisSummary.ValidChanges, newProject.State.
ProjectInfo
.Attributes.TelemetryId, projectDiagnostics);
1033
Telemetry.LogProjectAnalysisSummary(projectSummary, newProject.State.
ProjectInfo
.Attributes.TelemetryId, projectDiagnostics);
1047
Telemetry.LogProjectAnalysisSummary(projectSummary, newProject.State.
ProjectInfo
.Attributes.TelemetryId, projectDiagnostics);
1180
Telemetry.LogProjectAnalysisSummary(projectSummary, 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);
626
public ProjectId Id => this.
ProjectInfo
.Id;
629
public string? FilePath => this.
ProjectInfo
.FilePath;
632
public string? OutputFilePath => this.
ProjectInfo
.OutputFilePath;
635
public string? OutputRefFilePath => this.
ProjectInfo
.OutputRefFilePath;
638
public CompilationOutputInfo CompilationOutputInfo => this.
ProjectInfo
.CompilationOutputInfo;
641
public string? DefaultNamespace => this.
ProjectInfo
.DefaultNamespace;
644
public SourceHashAlgorithm ChecksumAlgorithm => this.
ProjectInfo
.ChecksumAlgorithm;
650
public string Name => this.
ProjectInfo
.Name;
654
public (string? name, string? flavor) NameAndFlavor => this.
ProjectInfo
.NameAndFlavor;
657
public bool IsSubmission => this.
ProjectInfo
.IsSubmission;
660
public Type? HostObjectType => this.
ProjectInfo
.HostObjectType;
666
public VersionStamp Version => this.
ProjectInfo
.Version;
672
public string AssemblyName => this.
ProjectInfo
.AssemblyName;
675
public CompilationOptions? CompilationOptions => this.
ProjectInfo
.CompilationOptions;
678
public ParseOptions? ParseOptions => this.
ProjectInfo
.ParseOptions;
681
public IReadOnlyList<MetadataReference> MetadataReferences => this.
ProjectInfo
.MetadataReferences;
684
public IReadOnlyList<AnalyzerReference> AnalyzerReferences => this.
ProjectInfo
.AnalyzerReferences;
687
public IReadOnlyList<ProjectReference> ProjectReferences => this.
ProjectInfo
.ProjectReferences;
690
public bool HasAllInformation => this.
ProjectInfo
.HasAllInformation;
693
public bool RunAnalyzers => this.
ProjectInfo
.RunAnalyzers;
696
internal bool HasSdkCodeStyleAnalyzers => this.
ProjectInfo
.HasSdkCodeStyleAnalyzers;
708
projectInfo ??
ProjectInfo
,
719
=>
ProjectInfo
.Attributes;
722
/// Updates <see cref="
ProjectInfo
"/> to a newer version of attributes.
729
return With(projectInfo:
ProjectInfo
.With(attributes: attributes));
770
projectInfo:
ProjectInfo
.With(attributes: Attributes.With(checksumAlgorithm: checksumAlgorithm, version: Version.GetNewerVersion())),
791
return With(projectInfo:
ProjectInfo
.WithCompilationOptions(options.WithSyntaxTreeOptionsProvider(newProvider))
811
projectInfo:
ProjectInfo
.WithParseOptions(options).WithVersion(Version.GetNewerVersion()),
853
return With(projectInfo:
ProjectInfo
.With(projectReferences: projectReferences).WithVersion(Version.GetNewerVersion()));
863
return With(projectInfo:
ProjectInfo
.With(metadataReferences: metadataReferences).WithVersion(Version.GetNewerVersion()));
873
return With(projectInfo:
ProjectInfo
.WithAnalyzerReferences(analyzerReferences).WithVersion(Version.GetNewerVersion()));
884
projectInfo:
ProjectInfo
.WithVersion(Version.GetNewerVersion()),
896
projectInfo:
ProjectInfo
.WithVersion(Version.GetNewerVersion()),
915
var projectInfo =
ProjectInfo
.WithVersion(Version.GetNewerVersion());
939
projectInfo:
ProjectInfo
.WithVersion(Version.GetNewerVersion()),
950
projectInfo:
ProjectInfo
.WithVersion(Version.GetNewerVersion()),
972
projectInfo:
ProjectInfo
.WithVersion(Version.GetNewerVersion()),
1046
projectInfo:
ProjectInfo
.WithVersion(Version.GetNewerVersion()),
Workspace\Solution\ProjectState_Checksum.cs (1)
53
var infoChecksum = this.
ProjectInfo
.Attributes.Checksum;
Workspace\Solution\SolutionCompilationState.cs (2)
567
if (oldProject.
ProjectInfo
.Attributes.Language != attributes.Language)
572
if (oldProject.
ProjectInfo
.Attributes.IsSubmission != attributes.IsSubmission)
Workspace\Solution\SolutionState.cs (1)
1355
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
);