8 references to With
Microsoft.CodeAnalysis.Workspaces (8)
Workspace\Solution\DocumentInfo.cs (8)
118
=>
With
(attributes: Attributes.With(id: id ?? throw new ArgumentNullException(nameof(id))));
121
=>
With
(attributes: Attributes.With(name: name ?? throw new ArgumentNullException(nameof(name))));
124
=>
With
(attributes: Attributes.With(folders: PublicContract.ToBoxedImmutableArrayWithNonNullItems(folders, nameof(folders))));
127
=>
With
(attributes: Attributes.With(sourceCodeKind: kind));
130
=>
With
(attributes: Attributes.With(filePath: filePath));
133
=>
With
(loader: loader);
136
=>
With
(attributes: Attributes.With(designTimeOnly: designTimeOnly));
139
=>
With
(documentServiceProvider: new(provider));