11 references to With
Microsoft.CodeAnalysis.Workspaces (11)
Workspace\Solution\DocumentInfo.cs (6)
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));
136
=> With(attributes: Attributes.
With
(designTimeOnly: designTimeOnly));
Workspace\Solution\DocumentState.cs (2)
377
Attributes.
With
(sourceCodeKind: options.Kind),
396
return WithAttributes(Attributes.
With
(sourceCodeKind: kind));
Workspace\Solution\Solution.cs (3)
1215
static (attributes, value) => attributes.
With
(name: value)));
1231
static (attributes, value) => attributes.
With
(folders: value)));
1244
static (attributes, value) => attributes.
With
(filePath: value)));