1 write to Attributes
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\ProjectInfo.cs (1)
168Attributes = attributes;
34 references to Attributes
Microsoft.CodeAnalysis.Workspaces (34)
Workspace\Solution\ProjectInfo.cs (32)
26public ProjectId Id => Attributes.Id; 31public VersionStamp Version => Attributes.Version; 36public string Name => Attributes.Name; 39internal (string? name, string? flavor) NameAndFlavor => Attributes.NameAndFlavor; 44public string AssemblyName => Attributes.AssemblyName; 49public string Language => Attributes.Language; 54public string? FilePath => Attributes.FilePath; 59public string? OutputFilePath => Attributes.OutputFilePath; 64public string? OutputRefFilePath => Attributes.OutputRefFilePath; 69public CompilationOutputInfo CompilationOutputInfo => Attributes.CompilationOutputInfo; 82internal string? DefaultNamespace => Attributes.DefaultNamespace; 87internal SourceHashAlgorithm ChecksumAlgorithm => Attributes.ChecksumAlgorithm; 92public bool IsSubmission => Attributes.IsSubmission; 99internal bool HasAllInformation => Attributes.HasAllInformation; 104internal bool RunAnalyzers => Attributes.RunAnalyzers; 109internal bool HasSdkCodeStyleAnalyzers => Attributes.HasSdkCodeStyleAnalyzers; 296var newAttributes = attributes ?? Attributes; 307if (newAttributes == Attributes && 335=> With(attributes: Attributes.With(id: id ?? throw new ArgumentNullException(nameof(id)))); 338=> With(attributes: Attributes.With(version: version)); 341=> With(attributes: Attributes.With(name: name ?? throw new ArgumentNullException(nameof(name)))); 344=> With(attributes: Attributes.With(assemblyName: assemblyName ?? throw new ArgumentNullException(nameof(assemblyName)))); 347=> With(attributes: Attributes.With(filePath: filePath)); 350=> With(attributes: Attributes.With(outputPath: outputFilePath)); 353=> With(attributes: Attributes.With(outputRefPath: outputRefFilePath)); 356=> With(attributes: Attributes.With(compilationOutputInfo: info)); 359=> With(attributes: Attributes.With(defaultNamespace: defaultNamespace)); 362=> With(attributes: Attributes.With(checksumAlgorithm: checksumAlgorithm)); 365=> With(attributes: Attributes.With(hasAllInformation: hasAllInformation)); 368=> With(attributes: Attributes.With(runAnalyzers: runAnalyzers)); 396return With(attributes: Attributes.With(telemetryId: telemetryId)); 401return With(attributes: Attributes.With(hasSdkCodeStyleAnalyzers: hasSdkCodeStyleAnalyzers));
Workspace\Solution\ProjectState.cs (1)
99var loadTextOptions = new LoadTextOptions(projectInfoFixed.Attributes.ChecksumAlgorithm);
Workspace\Solution\SolutionCompilationState.cs (1)
594var newState = WithProjectAttributes(info.Attributes)