3 references to AddDocument
Microsoft.CodeAnalysis.Features (2)
GenerateType\AbstractGenerateTypeService.Editor.cs (1)
273
var newSolution = projectToBeUpdated.Solution.
AddDocument
(newDocumentId, documentName, string.Empty, folders, fullFilePath);
Shared\Utilities\ExtractTypeHelpers.cs (1)
63
var solutionWithInterfaceDocument = solution.
AddDocument
(newDocumentId, fileName, text: "", folders: folders, filePath: newDocumentPath);
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\Project.cs (1)
727
return this.Solution.
AddDocument
(id, name, text, folders, filePath).GetDocument(id)!;