3 instantiations of CheckFactoryContext
Microsoft.Build (3)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (3)
177
_checkRegistry.Add(new
CheckFactoryContext
(
187
_checkRegistry.Add(new
CheckFactoryContext
(
217
var checkFactoryContext = new
CheckFactoryContext
(
16 references to CheckFactoryContext
Microsoft.Build (16)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (16)
68
private readonly ConcurrentBag<
CheckFactoryContext
> _checkRegistry;
75
_checkRegistry = new ConcurrentBag<
CheckFactoryContext
>();
211
List<
CheckFactoryContext
> invalidChecksToRemove = new();
217
var
checkFactoryContext = new CheckFactoryContext(
247
private void SetupSingleCheck(
CheckFactoryContext
checkFactoryContext, string projectFullPath)
334
List<
CheckFactoryContext
> invalidChecksToRemove = new();
335
foreach (
CheckFactoryContext
checkFactoryContext in _checkRegistry)
359
private void RemoveInvalidChecks(List<
CheckFactoryContext
> checksToRemove, ICheckContext checkContext)
361
foreach (
var
checkToRemove in checksToRemove)
374
var
checkFactory = _checkRegistry.FirstOrDefault(c => c.MaterializedCheck == check);
386
foreach (
var
throttledCheck in throttledChecks)
393
private void RemoveCheck(
CheckFactoryContext
checkToRemove)
395
var tempColl = new ConcurrentBag<
CheckFactoryContext
>();
398
while (_checkRegistry.TryTake(out
var
item))
419
foreach (
var
item in tempColl)
512
foreach (
CheckFactoryContext
checkFactoryContext in _checkRegistry)