86 references to Id
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.Features.UnitTests (4)
Microsoft.CodeAnalysis.LanguageServer (2)
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Microsoft.CodeAnalysis.Workspaces (21)
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (7)
Workspaces\TestWorkspace`1.cs (7)
378var hostProject = this.GetTestProject(info.Id.ProjectId);
383info.Id, info.FilePath, info.Folders, ExportProvider,
404var hostProject = this.GetTestProject(info.Id.ProjectId);
407var hostDocument = CreateDocument(text.ToString(), info.Name, id: info.Id, exportProvider: ExportProvider);
428var hostProject = this.GetTestProject(info.Id.ProjectId);
431var hostDocument = CreateDocument(text.ToString(), info.Name, id: info.Id, filePath: info.FilePath, folders: info.Folders, exportProvider: ExportProvider);
537var documentId = documentInfo.Id;
Microsoft.CodeAnalysis.Workspaces.UnitTests (33)
Microsoft.VisualStudio.LanguageServices (13)
ProjectSystem\VisualStudioWorkspaceImpl.cs (11)
741GetProjectData(info.Id.ProjectId, out _, out var project);
755AddDocumentToFolder(project, info.Id, [AppCodeFolderName], info.Name, documentKind, initialText, info.FilePath);
759AddDocumentToFolder(project, info.Id, folders, info.Name, documentKind, initialText, info.FilePath);
763AddDocumentToProject(project, info.Id, info.Name, documentKind, initialText, info.FilePath);
771undoManager?.Add(new RemoveAdditionalDocumentUndoUnit(this, info.Id));
775undoManager?.Add(new RemoveAnalyzerConfigDocumentUndoUnit(this, info.Id));
779undoManager?.Add(new RemoveDocumentUndoUnit(this, info.Id));
899if (PathUtilities.GetDirectoryName(CurrentSolution.GetProject(documentInfo.Id.ProjectId)?.FilePath) == solutionDirectory)
930documentInfo.Id,
1244GetProjectData(updatedInfo.Id.ProjectId, out var _, out var dteProject);
1310if (document.Id != updatedInfo.Id)
Microsoft.VisualStudio.LanguageServices.LiveShare (1)