10 references to _dataPoints
Microsoft.VisualStudio.LanguageServices.CodeLens (10)
ReferenceCodeLensProvider.cs (10)
98
lock (
_dataPoints
)
100
keys =
_dataPoints
.Keys.ToImmutableArray();
109
lock (
_dataPoints
)
113
if (
_dataPoints
.TryGetValue(projectGuid, out var oldVersionedPoints)
119
_dataPoints
[projectGuid] = (newVersion, oldVersionedPoints.dataPoints);
128
lock (
_dataPoints
)
130
var versionedPoints =
_dataPoints
.GetOrAdd(dataPoint.Descriptor.ProjectGuid, _ => (version: VersionStamp.Default.ToString(), dataPoints: new HashSet<DataPoint>()));
139
lock (
_dataPoints
)
141
if (
_dataPoints
.TryGetValue(dataPoint.Descriptor.ProjectGuid, out var points)
145
_dataPoints
.Remove(dataPoint.Descriptor.ProjectGuid);