18 types derived from Check
CustomCheck (2)
Check1.cs (1)
10
public sealed class Check1 :
Check
Check2.cs (1)
10
public sealed class Check2 :
Check
CustomCheck2 (1)
Check3.cs (1)
10
public sealed class Check3 :
Check
ErrorCustomCheck (3)
ErrorOnInitializeCheck.cs (1)
11
public sealed class ErrorOnInitializeCheck :
Check
ErrorOnRegisteredAction.cs (1)
11
public sealed class ErrorOnRegisteredAction :
Check
ErrorWhenRegisteringActions.cs (1)
11
public sealed class ErrorWhenRegisteringActions :
Check
Microsoft.Build (4)
BuildCheck\API\InternalCheck.cs (1)
9
internal abstract class InternalCheck :
Check
BuildCheck\Checks\DoubleWritesCheck.cs (1)
22
internal sealed class DoubleWritesCheck :
Check
BuildCheck\Checks\NoEnvironmentVariablePropertyCheck.cs (1)
11
internal sealed class NoEnvironmentVariablePropertyCheck :
Check
BuildCheck\Checks\SharedOutputPathCheck.cs (1)
16
internal sealed class SharedOutputPathCheck :
Check
Microsoft.Build.BuildCheck.UnitTests (8)
BuildCheckManagerProviderTests.cs (1)
92
internal sealed class CheckRuleMock :
Check
TaskInvocationAnalysisDataTests.cs (1)
23
internal sealed class TestCheck :
Check
TestAssets\CustomCheck\Check1.cs (1)
10
public sealed class Check1 :
Check
TestAssets\CustomCheck\Check2.cs (1)
10
public sealed class Check2 :
Check
TestAssets\CustomCheck2\Check3.cs (1)
10
public sealed class Check3 :
Check
TestAssets\ErrorCustomCheck\ErrorOnInitializeCheck.cs (1)
11
public sealed class ErrorOnInitializeCheck :
Check
TestAssets\ErrorCustomCheck\ErrorOnRegisteredAction.cs (1)
11
public sealed class ErrorOnRegisteredAction :
Check
TestAssets\ErrorCustomCheck\ErrorWhenRegisteringActions.cs (1)
11
public sealed class ErrorWhenRegisteringActions :
Check
22 references to Check
Microsoft.Build (20)
BuildCheck\Acquisition\BuildCheckAcquisitionModule.cs (2)
43
IList<Type> checkTypes = availableTypes.Where(t => typeof(
Check
).IsAssignableFrom(t)).ToArray();
47
checksFactories.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)
20
internal delegate
Check
CheckFactory();
188
var
instance = factory();
243
Check
uninitializedCheck = checkFactoryContext.Factory();
250
Check
check = wrapper.Check;
674
public
Check
Factory()
676
Check
ba = factory();
680
public CheckWrapper Initialize(
Check
ba, IResultReporter resultReporter, ConfigurationContext configContext)
BuildCheck\Infrastructure\CheckWrapper.cs (3)
44
public CheckWrapper(
Check
check, IResultReporter resultReporter)
53
private static void InitializeTelemetryData(BuildCheckRuleTelemetryData[] ruleTelemetryData,
Check
check)
67
internal
Check
Check { get; }
BuildCheck\Infrastructure\ConfigurationProvider.cs (2)
107
Check
check)
128
Check
check)
BuildCheck\Infrastructure\IConfigurationProvider.cs (2)
17
Check
check);
21
Check
check);
Microsoft.Build.BuildCheck.UnitTests (2)
BuildCheckManagerProviderTests.cs (2)
73
public CheckConfigurationEffective[] GetMergedConfigurations(string projectFullPath,
Check
check) => [];
75
public CheckConfigurationEffective[] GetMergedConfigurations(CheckConfiguration[] userConfigs,
Check
check) => [];