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)
377Attributes.With(sourceCodeKind: options.Kind), 396return WithAttributes(Attributes.With(sourceCodeKind: kind));
Workspace\Solution\Solution.cs (3)
1215static (attributes, value) => attributes.With(name: value))); 1231static (attributes, value) => attributes.With(folders: value))); 1244static (attributes, value) => attributes.With(filePath: value)));