22 references to CheckRule
CustomCheck (1)
Check2.cs (1)
12public static CheckRule SupportedRule = new CheckRule(
CustomCheck2 (1)
Check3.cs (1)
12public static CheckRule SupportedRule = new CheckRule(
ErrorCustomCheck (3)
ErrorOnInitializeCheck.cs (1)
13public static CheckRule SupportedRule = new CheckRule(
ErrorOnRegisteredAction.cs (1)
13public static CheckRule SupportedRule = new CheckRule(
ErrorWhenRegisteringActions.cs (1)
13public static CheckRule SupportedRule = new CheckRule(
Microsoft.Build (10)
BuildCheck\Checks\CopyAlwaysCheck.cs (1)
15public static CheckRule SupportedRule = new CheckRule(RuleId, "AvoidCopyAlways",
BuildCheck\Checks\DoubleWritesCheck.cs (1)
21public static CheckRule SupportedRule = new CheckRule(
BuildCheck\Checks\EmbeddedResourceCheck.cs (1)
15public static CheckRule SupportedRule = new CheckRule(RuleId, "EmbeddedResourceCulture",
BuildCheck\Checks\NoEnvironmentVariablePropertyCheck.cs (1)
13public static CheckRule SupportedRule = new CheckRule(
BuildCheck\Checks\PreferProjectReferenceCheck.cs (1)
15public static CheckRule SupportedRule = new CheckRule(RuleId, "PreferProjectReference",
BuildCheck\Checks\PropertiesUsageCheck.cs (3)
17private static readonly CheckRule _usedBeforeInitializedRule = new CheckRule("BC0201", "PropertyUsedBeforeDeclared", 22private static readonly CheckRule _initializedAfterUsedRule = new CheckRule("BC0202", "PropertyDeclaredAfterUsed", 27private static readonly CheckRule _unusedPropertyRule = new CheckRule("BC0203", "UnusedPropertyDeclared",
BuildCheck\Checks\SharedOutputPathCheck.cs (1)
15public static CheckRule SupportedRule = new CheckRule(RuleId, "ConflictingOutputPath",
BuildCheck\Checks\TargetFrameworkConfusionCheck.cs (1)
14public static CheckRule SupportedRule = new CheckRule(RuleId, "TargetFrameworkConfusion",
Microsoft.Build.BuildCheck.UnitTests (7)
BuildCheckManagerProviderTests.cs (1)
94public static CheckRule SupportedRule = new CheckRule(
TaskInvocationAnalysisDataTests.cs (1)
27public static CheckRule SupportedRule = new CheckRule("BC0000", "TestRule", "TestDescription", "TestMessage",
TestAssets\CustomCheck\Check2.cs (1)
12public static CheckRule SupportedRule = new CheckRule(
TestAssets\CustomCheck2\Check3.cs (1)
12public static CheckRule SupportedRule = new CheckRule(
TestAssets\ErrorCustomCheck\ErrorOnInitializeCheck.cs (1)
13public static CheckRule SupportedRule = new CheckRule(
TestAssets\ErrorCustomCheck\ErrorOnRegisteredAction.cs (1)
13public static CheckRule SupportedRule = new CheckRule(
TestAssets\ErrorCustomCheck\ErrorWhenRegisteringActions.cs (1)
13public static CheckRule SupportedRule = new CheckRule(