23 references to With
Microsoft.CodeAnalysis.Workspaces (23)
Workspace\Solution\ProjectInfo.cs (12)
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 (10)
636
=> (name == Name) ? this : WithNewerAttributes(Attributes.
With
(name: name, version: Version.GetNewerVersion()));
639
=> (filePath == FilePath) ? this : WithNewerAttributes(Attributes.
With
(filePath: filePath, version: Version.GetNewerVersion()));
642
=> (assemblyName == AssemblyName) ? this : WithNewerAttributes(Attributes.
With
(assemblyName: assemblyName, version: Version.GetNewerVersion()));
645
=> (outputFilePath == OutputFilePath) ? this : WithNewerAttributes(Attributes.
With
(outputPath: outputFilePath, version: Version.GetNewerVersion()));
648
=> (outputRefFilePath == OutputRefFilePath) ? this : WithNewerAttributes(Attributes.
With
(outputRefPath: outputRefFilePath, version: Version.GetNewerVersion()));
651
=> (info == CompilationOutputInfo) ? this : WithNewerAttributes(Attributes.
With
(compilationOutputInfo: info, version: Version.GetNewerVersion()));
654
=> (defaultNamespace == DefaultNamespace) ? this : WithNewerAttributes(Attributes.
With
(defaultNamespace: defaultNamespace, version: Version.GetNewerVersion()));
657
=> (hasAllInformation == HasAllInformation) ? this : WithNewerAttributes(Attributes.
With
(hasAllInformation: hasAllInformation, version: Version.GetNewerVersion()));
660
=> (runAnalyzers == RunAnalyzers) ? this : WithNewerAttributes(Attributes.
With
(runAnalyzers: runAnalyzers, version: Version.GetNewerVersion()));
670
projectInfo: ProjectInfo.With(attributes: Attributes.
With
(checksumAlgorithm: checksumAlgorithm, version: Version.GetNewerVersion())),
Workspace\Workspace.cs (1)
1758
project.State.Attributes.
With
(version: VersionStamp.Create()),