10 references to _dataPoints
Microsoft.VisualStudio.LanguageServices.CodeLens (10)
ReferenceCodeLensProvider.cs (10)
100
lock (
_dataPoints
)
102
keys =
_dataPoints
.Keys.ToImmutableArray();
111
lock (
_dataPoints
)
115
if (
_dataPoints
.TryGetValue(projectGuid, out var oldVersionedPoints)
121
_dataPoints
[projectGuid] = (newVersion, oldVersionedPoints.dataPoints);
130
lock (
_dataPoints
)
132
var versionedPoints =
_dataPoints
.GetOrAdd(dataPoint.Descriptor.ProjectGuid, _ => (version: VersionStamp.Default.ToString(), dataPoints: new HashSet<DataPoint>()));
141
lock (
_dataPoints
)
143
if (
_dataPoints
.TryGetValue(dataPoint.Descriptor.ProjectGuid, out var points)
147
_dataPoints
.Remove(dataPoint.Descriptor.ProjectGuid);