14 references to CheckFactoryContext
Microsoft.Build (14)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (14)
68private readonly ConcurrentBag<CheckFactoryContext> _checkRegistry; 75_checkRegistry = new ConcurrentBag<CheckFactoryContext>(); 210List<CheckFactoryContext> invalidChecksToRemove = new(); 216var checkFactoryContext = new CheckFactoryContext( 246private void SetupSingleCheck(CheckFactoryContext checkFactoryContext, string projectFullPath) 333List<CheckFactoryContext> invalidChecksToRemove = new(); 334foreach (CheckFactoryContext checkFactoryContext in _checkRegistry) 358private void RemoveInvalidChecks(List<CheckFactoryContext> checksToRemove, ICheckContext checkContext) 360foreach (var checkToRemove in checksToRemove) 392private void RemoveCheck(CheckFactoryContext checkToRemove) 394var tempColl = new ConcurrentBag<CheckFactoryContext>(); 397while (_checkRegistry.TryTake(out var item)) 418foreach (var item in tempColl) 511foreach (CheckFactoryContext checkFactoryContext in _checkRegistry)