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