10 references to _dataPoints
Microsoft.VisualStudio.LanguageServices.CodeLens (10)
ReferenceCodeLensProvider.cs (10)
102
lock (
_dataPoints
)
104
keys = [..
_dataPoints
.Keys];
113
lock (
_dataPoints
)
117
if (
_dataPoints
.TryGetValue(projectGuid, out var oldVersionedPoints)
123
_dataPoints
[projectGuid] = (newVersion, oldVersionedPoints.dataPoints);
132
lock (
_dataPoints
)
134
var versionedPoints =
_dataPoints
.GetOrAdd(dataPoint.Descriptor.ProjectGuid, _ => (version: VersionStamp.Default.ToString(), dataPoints: []));
143
lock (
_dataPoints
)
145
if (
_dataPoints
.TryGetValue(dataPoint.Descriptor.ProjectGuid, out var points)
149
_dataPoints
.Remove(dataPoint.Descriptor.ProjectGuid);