1 write to Id
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\DocumentId.cs (1)
32this.Id = guid;
29 references to Id
Microsoft.CodeAnalysis.Features (10)
CodeLens\CodeLensReferencesService.cs (1)
160documentId.Id,
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingSolutionCrawlerLogger.cs (1)
174logAggregator.IncreaseCount(ValueTuple.Create(LowerPriority, documentId.Id));
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingNormalPriorityProcessor.cs (2)
95UnitTestingSolutionCrawlerLogger.LogHigherPriority(Processor._logAggregator, id.Id); 356UnitTestingSolutionCrawlerLogger.LogProcessDocument(Processor._logAggregator, documentId.Id, processedEverything);
SolutionCrawler\SolutionCrawlerLogger.cs (1)
168logAggregator.IncreaseCount(ValueTuple.Create(LowerPriority, documentId.Id));
SolutionCrawler\WorkCoordinator.HighPriorityProcessor.cs (1)
225SolutionCrawlerLogger.LogProcessActiveFileDocument(_processor._logAggregator, documentId.Id, processedEverything);
SolutionCrawler\WorkCoordinator.NormalPriorityProcessor.cs (4)
94SolutionCrawlerLogger.LogHigherPriority(Processor._logAggregator, id.Id); 340SolutionCrawlerLogger.LogProcessDocument(Processor._logAggregator, documentId.Id, processedEverything); 354SolutionCrawlerLogger.LogProcessOpenDocument(Processor._logAggregator, textDocument.Id.Id); 379SolutionCrawlerLogger.LogProcessCloseDocument(Processor._logAggregator, textDocument.Id.Id);
Microsoft.CodeAnalysis.Workspaces (13)
Rename\ConflictEngine\ConflictResolver.cs (1)
414.OrderBy(l => l.IsInSource ? solution.GetDocumentId(l.SourceTree)!.Id : Guid.Empty)
Workspace\Solution\DocumentId.cs (5)
69=> string.Format("({0}, #{1} - {2})", this.GetType().Name, this.Id, _debugName); 82this.Id == other.Id && 87=> Hash.Combine(this.ProjectId, this.Id.GetHashCode()); 101writer.WriteGuid(Id);
Workspace\Solution\ProjectState.cs (3)
33/// The documents in this project. They are sorted by <see cref="DocumentId.Id"/> to provide a stable sort for 39/// The additional documents in this project. They are sorted by <see cref="DocumentId.Id"/> to provide a stable sort for 45/// The analyzer config documents in this project. They are sorted by <see cref="DocumentId.Id"/> to provide a stable sort for
Workspace\Solution\TextDocumentStates.cs (3)
31/// The entries in the map are sorted by <see cref="DocumentId.Id"/>, which yields locally deterministic order but not the order that 237return x.Id.CompareTo(y.Id);
Workspace\Workspace.cs (1)
2304var name = document != null ? document.Name : "<Document" + documentId.Id + ">";
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
SolutionTests\SolutionWithSourceGeneratorTests.cs (2)
383Assert.NotEqual(generatedDocumentsInFirstProject.Single().Id.Id, generatedDocumentsInSecondProject.Single().Id.Id);
Microsoft.VisualStudio.LanguageServices (3)
Workspace\SourceGeneratedFileManager.cs (3)
101if (!_directoryInfoOnDiskByContainingDirectoryId.ContainsKey(document.Id.Id)) 103_directoryInfoOnDiskByContainingDirectoryId.Add(document.Id.Id, document.Identity); 110document.Id.Id.ToString(),
Microsoft.VisualStudio.LanguageServices.Xaml (1)
Implementation\LanguageServer\Handler\Completion\CompletionHandler.cs (1)
96Data = new CompletionResolveData { ProjectGuid = documentId.ProjectId.Id, DocumentGuid = documentId.Id, Position = position, DisplayText = xamlCompletion.DisplayText }