24 references to CreateNewId
dotnet-format (1)
Workspaces\FolderWorkspace_ProjectLoader.cs (1)
50DocumentId.CreateNewId(projectId, debugName: filePaths[index]),
Microsoft.CodeAnalysis.ExternalAccess.HotReload (1)
Api\HotReloadMSBuildWorkspace.cs (1)
143?? DocumentId.CreateNewId(mappedProjectId);
Microsoft.CodeAnalysis.Features (10)
CodeFixes\Configuration\ConfigurationUpdater.cs (1)
330var id = DocumentId.CreateNewId(project.Id);
CodeRefactorings\MoveType\AbstractMoveTypeService.MoveTypeEditor.cs (1)
51var newDocumentId = DocumentId.CreateNewId(projectToBeUpdated.Id, FileName);
CodeRefactorings\SyncNamespace\AbstractSyncNamespaceCodeRefactoringProvider.MoveFileCodeAction.cs (1)
41var newDocumentId = DocumentId.CreateNewId(document.Project.Id, document.Name);
GenerateType\AbstractGenerateTypeService.Editor.cs (2)
272var newDocumentId = DocumentId.CreateNewId(projectToBeUpdated.Id, debugName: documentName); 348var documentId = DocumentId.CreateNewId(projectToBeUpdated.Id, documentName);
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (2)
347var assemblyInfoDocumentId = DocumentId.CreateNewId(projectId); 364var generatedDocumentId = DocumentId.CreateNewId(projectId);
PdbSourceDocument\PdbSourceDocumentMetadataAsSourceFileProvider.cs (1)
347var documentId = DocumentId.CreateNewId(projectId);
Shared\Utilities\ExtractTypeHelpers.cs (1)
60var newDocumentId = DocumentId.CreateNewId(projectId, debugName: fileName);
Workspace\MiscellaneousFileUtilities.cs (1)
72var documentId = DocumentId.CreateNewId(projectId, debugName: filePath);
Microsoft.CodeAnalysis.Workspaces (11)
Workspace\AdhocWorkspace.cs (1)
125var id = DocumentId.CreateNewId(projectId);
Workspace\CommandLineProject.cs (1)
161var id = DocumentId.CreateNewId(projectId, absolutePath);
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (3)
106var documentId = DocumentId.CreateNewId(_project.Id, fullPath); 156var documentId = DocumentId.CreateNewId(_project.Id, fullPath); 642var documentId = DocumentId.CreateNewId(_project.Id, filePath);
Workspace\Solution\Project.cs (6)
705var id = DocumentId.CreateNewId(this.Id); 717var id = DocumentId.CreateNewId(this.Id); 726var id = DocumentId.CreateNewId(this.Id, debugName: name); 735var id = DocumentId.CreateNewId(this.Id); 744var id = DocumentId.CreateNewId(this.Id); 753var id = DocumentId.CreateNewId(this.Id);
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\MSBuildProjectLoader.Worker.cs (1)
355DocumentId.CreateNewId(projectId, debugName: info.FilePath),