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