1 write to Attributes
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\ProjectInfo.cs (1)
167
Attributes
= attributes;
52 references to Attributes
Microsoft.CodeAnalysis.Features (4)
EditAndContinue\EditSession.cs (4)
852
Telemetry.LogProjectAnalysisSummary(ProjectAnalysisSummary.ValidChanges, newProject.State.ProjectInfo.
Attributes
.TelemetryId, ImmutableArray.Create(mvidReadError.Descriptor.Id));
937
Telemetry.LogProjectAnalysisSummary(projectSummary, newProject.State.ProjectInfo.
Attributes
.TelemetryId, moduleDiagnostics.NullToEmpty().SelectAsArray(d => d.Descriptor.Id));
950
Telemetry.LogProjectAnalysisSummary(projectSummary, newProject.State.ProjectInfo.
Attributes
.TelemetryId, createBaselineDiagnostics);
1079
Telemetry.LogProjectAnalysisSummary(projectSummary, newProject.State.ProjectInfo.
Attributes
.TelemetryId, emitResult.Diagnostics);
Microsoft.CodeAnalysis.Remote.ServiceHub (14)
Host\RemoteWorkspace.SolutionCreator.cs (14)
217
project.State.ProjectInfo.
Attributes
.FixUpCompilationOptions(
299
Contract.ThrowIfFalse(project.State.ProjectInfo.
Attributes
.Id == newProjectAttributes.Id);
300
Contract.ThrowIfFalse(project.State.ProjectInfo.
Attributes
.Language == newProjectAttributes.Language);
301
Contract.ThrowIfFalse(project.State.ProjectInfo.
Attributes
.IsSubmission == newProjectAttributes.IsSubmission);
305
if (project.State.ProjectInfo.
Attributes
.Name != newProjectAttributes.Name)
310
if (project.State.ProjectInfo.
Attributes
.AssemblyName != newProjectAttributes.AssemblyName)
315
if (project.State.ProjectInfo.
Attributes
.FilePath != newProjectAttributes.FilePath)
320
if (project.State.ProjectInfo.
Attributes
.OutputFilePath != newProjectAttributes.OutputFilePath)
325
if (project.State.ProjectInfo.
Attributes
.OutputRefFilePath != newProjectAttributes.OutputRefFilePath)
330
if (project.State.ProjectInfo.
Attributes
.CompilationOutputInfo != newProjectAttributes.CompilationOutputInfo)
335
if (project.State.ProjectInfo.
Attributes
.DefaultNamespace != newProjectAttributes.DefaultNamespace)
340
if (project.State.ProjectInfo.
Attributes
.HasAllInformation != newProjectAttributes.HasAllInformation)
345
if (project.State.ProjectInfo.
Attributes
.RunAnalyzers != newProjectAttributes.RunAnalyzers)
350
if (project.State.ProjectInfo.
Attributes
.ChecksumAlgorithm != newProjectAttributes.ChecksumAlgorithm)
Microsoft.CodeAnalysis.Workspaces (34)
Workspace\ProjectSystem\ProjectSystemProject.cs (1)
298
m["ProjectGuid"] = projectState.ProjectInfo.
Attributes
.TelemetryId.ToString("B");
Workspace\Solution\ProjectInfo.cs (29)
30
public ProjectId Id =>
Attributes
.Id;
35
public VersionStamp Version =>
Attributes
.Version;
40
public string Name =>
Attributes
.Name;
43
internal (string? name, string? flavor) NameAndFlavor =>
Attributes
.NameAndFlavor;
48
public string AssemblyName =>
Attributes
.AssemblyName;
53
public string Language =>
Attributes
.Language;
58
public string? FilePath =>
Attributes
.FilePath;
63
public string? OutputFilePath =>
Attributes
.OutputFilePath;
68
public string? OutputRefFilePath =>
Attributes
.OutputRefFilePath;
73
public CompilationOutputInfo CompilationOutputInfo =>
Attributes
.CompilationOutputInfo;
86
internal string? DefaultNamespace =>
Attributes
.DefaultNamespace;
91
internal SourceHashAlgorithm ChecksumAlgorithm =>
Attributes
.ChecksumAlgorithm;
96
public bool IsSubmission =>
Attributes
.IsSubmission;
103
internal bool HasAllInformation =>
Attributes
.HasAllInformation;
108
internal bool RunAnalyzers =>
Attributes
.RunAnalyzers;
295
var newAttributes = attributes ??
Attributes
;
306
if (newAttributes ==
Attributes
&&
334
=> With(attributes:
Attributes
.With(version: version));
337
=> With(attributes:
Attributes
.With(name: name ?? throw new ArgumentNullException(nameof(name))));
340
=> With(attributes:
Attributes
.With(assemblyName: assemblyName ?? throw new ArgumentNullException(nameof(assemblyName))));
343
=> With(attributes:
Attributes
.With(filePath: filePath));
346
=> With(attributes:
Attributes
.With(outputPath: outputFilePath));
349
=> With(attributes:
Attributes
.With(outputRefPath: outputRefFilePath));
352
=> With(attributes:
Attributes
.With(compilationOutputInfo: info));
355
=> With(attributes:
Attributes
.With(defaultNamespace: defaultNamespace));
358
=> With(attributes:
Attributes
.With(checksumAlgorithm: checksumAlgorithm));
361
=> With(attributes:
Attributes
.With(hasAllInformation: hasAllInformation));
364
=> With(attributes:
Attributes
.With(runAnalyzers: runAnalyzers));
392
return With(attributes:
Attributes
.With(telemetryId: telemetryId));
Workspace\Solution\ProjectState.cs (2)
102
var loadTextOptions = new LoadTextOptions(projectInfoFixed.
Attributes
.ChecksumAlgorithm);
622
=> ProjectInfo.
Attributes
;
Workspace\Solution\ProjectState_Checksum.cs (1)
56
var infoChecksum = serializer.CreateChecksum(ProjectInfo.
Attributes
, cancellationToken);
Workspace\Solution\StateChecksums.cs (1)
155
result[Info] = state.ProjectInfo.
Attributes
;