8 references to _providers
Microsoft.Extensions.DependencyInjection (8)
DependencyInjectionEventSource.cs (8)
145
lock (
_providers
)
147
_providers
.Add(new WeakReference<ServiceProvider>(provider));
156
lock (
_providers
)
158
for (int i =
_providers
.Count - 1; i >= 0; i--)
161
WeakReference<ServiceProvider> reference =
_providers
[i];
164
_providers
.RemoveAt(i);
286
lock (
_providers
)
288
foreach (WeakReference<ServiceProvider> reference in
_providers
)