1 write to Id
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\DocumentId.cs (1)
33this.Id = guid;
33 references to Id
Microsoft.CodeAnalysis.ExternalAccess.Razor (1)
Remote\JsonSerializableDocumentId.cs (1)
19return new JsonSerializableDocumentId(documentId.ProjectId.Id, documentId.Id);
Microsoft.CodeAnalysis.Features (4)
CodeLens\CodeLensReferencesService.cs (1)
159documentId.Id,
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingSolutionCrawlerLogger.cs (1)
167logAggregator.IncreaseCount(ValueTuple.Create(LowerPriority, documentId.Id));
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingNormalPriorityProcessor.cs (2)
92UnitTestingSolutionCrawlerLogger.LogHigherPriority(Processor._logAggregator, id.Id); 242UnitTestingSolutionCrawlerLogger.LogProcessDocument(Processor._logAggregator, documentId.Id, processedEverything);
Microsoft.CodeAnalysis.Features.Test.Utilities (2)
RelatedDocuments\AbstractRelatedDocumentsTests.cs (2)
47var actualSortedResults = results.OrderBy(d => d.Id); 48var expectedSortedResults = workspace.Documents.Where(d => d.SelectedSpans.Count > 0).Select(d => d.Id).OrderBy(d => d.Id);
Microsoft.CodeAnalysis.Features.UnitTests (7)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (7)
633solution = solution.WithDocumentText(document1.Id, CreateText("class C1 { void M() { System.Console.WriteLine(2); } }")); 634var document2 = solution.GetDocument(document1.Id); 1257solution = solution.WithDocumentText(document1.Id, CreateText("abstract class C { public abstract void M(); public abstract void N(); }")); 1300solution = solution.WithDocumentText(document1.Id, CreateText("class C { public void M<T>() { } }")); 2096var documentId = document1.Id; 2184var documentId = document2.Id; 2334solution = solution.WithDocumentText(document1.Id, CreateText(sourceOnDisk));
Microsoft.CodeAnalysis.Workspaces (13)
Rename\ConflictEngine\ConflictResolver.cs (1)
412.OrderBy(l => l.IsInSource ? solution.GetDocumentId(l.SourceTree)!.Id : Guid.Empty)
Workspace\Solution\DocumentId.cs (5)
63=> string.Format("({0}, #{1} - {2})", this.GetType().Name, this.Id, _debugName); 76this.Id == other.Id && 81=> Hash.Combine(this.ProjectId, this.Id.GetHashCode()); 92writer.WriteGuid(Id);
Workspace\Solution\ProjectState.cs (3)
32/// The documents in this project. They are sorted by <see cref="DocumentId.Id"/> to provide a stable sort for 38/// The additional documents in this project. They are sorted by <see cref="DocumentId.Id"/> to provide a stable sort for 44/// 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)
110/// The entries in the map are sorted by <see cref="DocumentId.Id"/>, which yields locally deterministic order but not the order that 303return x.Id.CompareTo(y.Id);
Workspace\Workspace.cs (1)
2544var name = document != null ? document.Name : "<Document" + documentId.Id + ">";
Microsoft.VisualStudio.LanguageServices (3)
Workspace\SourceGeneratedFileManager.cs (3)
112if (!_directoryInfoOnDiskByContainingDirectoryId.ContainsKey(document.Id.Id)) 114_directoryInfoOnDiskByContainingDirectoryId.Add(document.Id.Id, document.Identity); 121document.Id.Id.ToString(),
Microsoft.VisualStudio.LanguageServices.Xaml (1)
Implementation\LanguageServer\Handler\Completion\CompletionHandler.cs (1)
97Data = new CompletionResolveData { ProjectGuid = documentId.ProjectId.Id, DocumentGuid = documentId.Id, Position = position, DisplayText = xamlCompletion.DisplayText }
Roslyn.VisualStudio.Next.UnitTests (2)
Services\ServiceHubServicesTests.cs (2)
437tempDocId = tempDoc.Id; 779return tempDoc.Id;