22 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 (8)
BuildCheck\API\WorkerNodeCheck.cs (1)
8internal abstract class WorkerNodeCheck : Check
BuildCheck\Checks\CopyAlwaysCheck.cs (1)
12internal class CopyAlwaysCheck : Check
BuildCheck\Checks\DoubleWritesCheck.cs (1)
19internal sealed class DoubleWritesCheck : Check
BuildCheck\Checks\EmbeddedResourceCheck.cs (1)
12internal class EmbeddedResourceCheck : Check
BuildCheck\Checks\NoEnvironmentVariablePropertyCheck.cs (1)
11internal sealed class NoEnvironmentVariablePropertyCheck : Check
BuildCheck\Checks\PreferProjectReferenceCheck.cs (1)
12internal class PreferProjectReferenceCheck : Check
BuildCheck\Checks\SharedOutputPathCheck.cs (1)
12internal sealed class SharedOutputPathCheck : Check
BuildCheck\Checks\TargetFrameworkConfusionCheck.cs (1)
11internal class TargetFrameworkConfusionCheck : 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)
44IList<Type> checkTypes = availableTypes.Where(t => typeof(Check).IsAssignableFrom(t)).ToArray(); 48checksFactories.Add(() => (Check)Activator.CreateInstance(checkCandidate)!);
BuildCheck\API\Check.cs (1)
12/// <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\WorkerNodeCheck.cs (1)
12/// This offers superset of registrations options to <see cref="Check.RegisterActions"/>.
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (7)
20internal delegate Check CheckFactory(); 203var instance = factory(); 258Check uninitializedCheck = checkFactoryContext.Factory(); 265Check check = wrapper.Check; 717public Check Factory() 719Check ba = factory(); 723public CheckWrapper Initialize(Check ba, IResultReporter resultReporter, ConfigurationContext configContext)
BuildCheck\Infrastructure\CheckWrapper.cs (3)
42public CheckWrapper(Check check, IResultReporter resultReporter) 51private static void InitializeTelemetryData(BuildCheckRuleTelemetryData[] ruleTelemetryData, Check check) 65internal Check Check { get; }
BuildCheck\Infrastructure\ConfigurationProvider.cs (2)
106Check check) 127Check 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) => [];