24 references to With
Microsoft.CodeAnalysis.Workspaces (24)
Workspace\Solution\ProjectInfo.cs (20)
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));
367
=>
With
(compilationOptions: compilationOptions);
370
=>
With
(parseOptions: parseOptions);
373
=>
With
(documents: PublicContract.ToBoxedImmutableArrayWithDistinctNonNullItems(documents, nameof(documents)));
376
=>
With
(additionalDocuments: PublicContract.ToBoxedImmutableArrayWithDistinctNonNullItems(additionalDocuments, nameof(additionalDocuments)));
379
=>
With
(analyzerConfigDocuments: PublicContract.ToBoxedImmutableArrayWithDistinctNonNullItems(analyzerConfigDocuments, nameof(analyzerConfigDocuments)));
382
=>
With
(projectReferences: PublicContract.ToBoxedImmutableArrayWithDistinctNonNullItems(projectReferences, nameof(projectReferences)));
385
=>
With
(metadataReferences: PublicContract.ToBoxedImmutableArrayWithDistinctNonNullItems(metadataReferences, nameof(metadataReferences)));
388
=>
With
(analyzerReferences: PublicContract.ToBoxedImmutableArrayWithDistinctNonNullItems(analyzerReferences, nameof(analyzerReferences)));
392
return
With
(attributes: Attributes.With(telemetryId: telemetryId));
Workspace\Solution\ProjectState.cs (4)
632
return With(projectInfo: ProjectInfo.
With
(attributes: attributes));
670
projectInfo: ProjectInfo.
With
(attributes: Attributes.With(checksumAlgorithm: checksumAlgorithm, version: Version.GetNewerVersion())),
731
return With(projectInfo: ProjectInfo.
With
(projectReferences: projectReferences).WithVersion(Version.GetNewerVersion()));
741
return With(projectInfo: ProjectInfo.
With
(metadataReferences: metadataReferences).WithVersion(Version.GetNewerVersion()));