10 references to With
Microsoft.CodeAnalysis.Workspaces (10)
Workspace\Solution\DocumentInfo.cs (6)
120=> With(attributes: Attributes.With(id: id ?? throw new ArgumentNullException(nameof(id)))); 123=> With(attributes: Attributes.With(name: name ?? throw new ArgumentNullException(nameof(name)))); 126=> With(attributes: Attributes.With(folders: PublicContract.ToBoxedImmutableArrayWithNonNullItems(folders, nameof(folders)))); 129=> With(attributes: Attributes.With(sourceCodeKind: kind)); 132=> With(attributes: Attributes.With(filePath: filePath)); 138=> With(attributes: Attributes.With(designTimeOnly: designTimeOnly));
Workspace\Solution\DocumentState.cs (4)
385Attributes.With(sourceCodeKind: options.Kind), 405=> UpdateAttributes(Attributes.With(name: name)); 408=> UpdateAttributes(Attributes.With(folders: folders)); 426var newAttributes = Attributes.With(filePath: filePath);