1 write to Id
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\DocumentId.cs (1)
32
this.
Id
= guid;
29 references to Id
Microsoft.CodeAnalysis.Features (10)
CodeLens\CodeLensReferencesService.cs (1)
160
documentId.
Id
,
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingSolutionCrawlerLogger.cs (1)
174
logAggregator.IncreaseCount(ValueTuple.Create(LowerPriority, documentId.
Id
));
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingNormalPriorityProcessor.cs (2)
95
UnitTestingSolutionCrawlerLogger.LogHigherPriority(Processor._logAggregator, id.
Id
);
356
UnitTestingSolutionCrawlerLogger.LogProcessDocument(Processor._logAggregator, documentId.
Id
, processedEverything);
SolutionCrawler\SolutionCrawlerLogger.cs (1)
168
logAggregator.IncreaseCount(ValueTuple.Create(LowerPriority, documentId.
Id
));
SolutionCrawler\WorkCoordinator.HighPriorityProcessor.cs (1)
225
SolutionCrawlerLogger.LogProcessActiveFileDocument(_processor._logAggregator, documentId.
Id
, processedEverything);
SolutionCrawler\WorkCoordinator.NormalPriorityProcessor.cs (4)
94
SolutionCrawlerLogger.LogHigherPriority(Processor._logAggregator, id.
Id
);
340
SolutionCrawlerLogger.LogProcessDocument(Processor._logAggregator, documentId.
Id
, processedEverything);
354
SolutionCrawlerLogger.LogProcessOpenDocument(Processor._logAggregator, textDocument.Id.
Id
);
379
SolutionCrawlerLogger.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);
82
this.
Id
== other.
Id
&&
87
=> Hash.Combine(this.ProjectId, this.
Id
.GetHashCode());
101
writer.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
237
return x.
Id
.CompareTo(y.
Id
);
Workspace\Workspace.cs (1)
2304
var name = document != null ? document.Name : "<Document" + documentId.
Id
+ ">";
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
SolutionTests\SolutionWithSourceGeneratorTests.cs (2)
383
Assert.NotEqual(generatedDocumentsInFirstProject.Single().Id.
Id
, generatedDocumentsInSecondProject.Single().Id.
Id
);
Microsoft.VisualStudio.LanguageServices (3)
Workspace\SourceGeneratedFileManager.cs (3)
101
if (!_directoryInfoOnDiskByContainingDirectoryId.ContainsKey(document.Id.
Id
))
103
_directoryInfoOnDiskByContainingDirectoryId.Add(document.Id.
Id
, document.Identity);
110
document.Id.
Id
.ToString(),
Microsoft.VisualStudio.LanguageServices.Xaml (1)
Implementation\LanguageServer\Handler\Completion\CompletionHandler.cs (1)
96
Data = new CompletionResolveData { ProjectGuid = documentId.ProjectId.Id, DocumentGuid = documentId.
Id
, Position = position, DisplayText = xamlCompletion.DisplayText }