18 types derived from Check
CustomCheck (2)
Check1.cs (1)
10public sealed class Check1 : Check
Check2.cs (1)
10public sealed class Check2 : Check
CustomCheck2 (1)
Check3.cs (1)
10public sealed class Check3 : Check
ErrorCustomCheck (3)
ErrorOnInitializeCheck.cs (1)
11public sealed class ErrorOnInitializeCheck : Check
ErrorOnRegisteredAction.cs (1)
11public sealed class ErrorOnRegisteredAction : Check
ErrorWhenRegisteringActions.cs (1)
11public sealed class ErrorWhenRegisteringActions : Check
Microsoft.Build (4)
BuildCheck\API\InternalCheck.cs (1)
9internal abstract class InternalCheck : Check
BuildCheck\Checks\DoubleWritesCheck.cs (1)
22internal sealed class DoubleWritesCheck : Check
BuildCheck\Checks\NoEnvironmentVariablePropertyCheck.cs (1)
11internal sealed class NoEnvironmentVariablePropertyCheck : Check
BuildCheck\Checks\SharedOutputPathCheck.cs (1)
16internal sealed class SharedOutputPathCheck : Check
Microsoft.Build.BuildCheck.UnitTests (8)
BuildCheckManagerProviderTests.cs (1)
92internal sealed class CheckRuleMock : Check
TaskInvocationAnalysisDataTests.cs (1)
23internal sealed class TestCheck : Check
TestAssets\CustomCheck\Check1.cs (1)
10public sealed class Check1 : Check
TestAssets\CustomCheck\Check2.cs (1)
10public sealed class Check2 : Check
TestAssets\CustomCheck2\Check3.cs (1)
10public sealed class Check3 : Check
TestAssets\ErrorCustomCheck\ErrorOnInitializeCheck.cs (1)
11public sealed class ErrorOnInitializeCheck : Check
TestAssets\ErrorCustomCheck\ErrorOnRegisteredAction.cs (1)
11public sealed class ErrorOnRegisteredAction : Check
TestAssets\ErrorCustomCheck\ErrorWhenRegisteringActions.cs (1)
11public sealed class ErrorWhenRegisteringActions : Check
22 references to Check
Microsoft.Build (20)
BuildCheck\Acquisition\BuildCheckAcquisitionModule.cs (2)
43IList<Type> checkTypes = availableTypes.Where(t => typeof(Check).IsAssignableFrom(t)).ToArray(); 47checksFactories.Add(() => (Check)Activator.CreateInstance(checkCandidate)!);
BuildCheck\API\Check.cs (1)
14/// <see cref="Check"/> is a unit of build checks execution, but it can contain multiple rules - each representing a distinct violation.
BuildCheck\API\CheckRule.cs (2)
8/// <see cref="Check"/> is a unit of executing the check, but it can be discovering multiple distinct violation types, 9/// for this reason a single <see cref="Check"/> can expose multiple <see cref="CheckRule"/>s.
BuildCheck\API\InternalCheck.cs (1)
13/// This offers superset of registrations options to <see cref="Check.RegisterActions"/>.
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (7)
20internal delegate Check CheckFactory(); 188var instance = factory(); 243Check uninitializedCheck = checkFactoryContext.Factory(); 250Check check = wrapper.Check; 674public Check Factory() 676Check ba = factory(); 680public CheckWrapper Initialize(Check ba, IResultReporter resultReporter, ConfigurationContext configContext)
BuildCheck\Infrastructure\CheckWrapper.cs (3)
44public CheckWrapper(Check check, IResultReporter resultReporter) 53private static void InitializeTelemetryData(BuildCheckRuleTelemetryData[] ruleTelemetryData, Check check) 67internal Check Check { get; }
BuildCheck\Infrastructure\ConfigurationProvider.cs (2)
107Check check) 128Check check)
BuildCheck\Infrastructure\IConfigurationProvider.cs (2)
17Check check); 21Check check);
Microsoft.Build.BuildCheck.UnitTests (2)
BuildCheckManagerProviderTests.cs (2)
73public CheckConfigurationEffective[] GetMergedConfigurations(string projectFullPath, Check check) => []; 75public CheckConfigurationEffective[] GetMergedConfigurations(CheckConfiguration[] userConfigs, Check check) => [];