12 instantiations of BuiltInCheckFactory
Microsoft.Build (11)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (11)
148
new
BuiltInCheckFactory
([SharedOutputPathCheck.SupportedRule.Id], SharedOutputPathCheck.SupportedRule.DefaultConfiguration.IsEnabled ?? false, Construct<SharedOutputPathCheck>),
149
new
BuiltInCheckFactory
([PreferProjectReferenceCheck.SupportedRule.Id], PreferProjectReferenceCheck.SupportedRule.DefaultConfiguration.IsEnabled ?? false, Construct<PreferProjectReferenceCheck>),
150
new
BuiltInCheckFactory
([CopyAlwaysCheck.SupportedRule.Id], CopyAlwaysCheck.SupportedRule.DefaultConfiguration.IsEnabled ?? false, Construct<CopyAlwaysCheck>),
151
new
BuiltInCheckFactory
([DoubleWritesCheck.SupportedRule.Id], DoubleWritesCheck.SupportedRule.DefaultConfiguration.IsEnabled ?? false, Construct<DoubleWritesCheck>),
152
new
BuiltInCheckFactory
([ExecCliBuildCheck.SupportedRule.Id], ExecCliBuildCheck.SupportedRule.DefaultConfiguration.IsEnabled ?? false, Construct<ExecCliBuildCheck>),
153
new
BuiltInCheckFactory
([NoEnvironmentVariablePropertyCheck.SupportedRule.Id], NoEnvironmentVariablePropertyCheck.SupportedRule.DefaultConfiguration.IsEnabled ?? false, Construct<NoEnvironmentVariablePropertyCheck>),
154
new
BuiltInCheckFactory
([EmbeddedResourceCheck.SupportedRule.Id], EmbeddedResourceCheck.SupportedRule.DefaultConfiguration.IsEnabled ?? false, Construct<EmbeddedResourceCheck>),
155
new
BuiltInCheckFactory
([TargetFrameworkConfusionCheck.SupportedRule.Id], TargetFrameworkConfusionCheck.SupportedRule.DefaultConfiguration.IsEnabled ?? false, Construct<TargetFrameworkConfusionCheck>),
156
new
BuiltInCheckFactory
([TargetFrameworkUnexpectedCheck.SupportedRule.Id], TargetFrameworkUnexpectedCheck.SupportedRule.DefaultConfiguration.IsEnabled ?? false, Construct<TargetFrameworkUnexpectedCheck>),
157
new
BuiltInCheckFactory
([UntrustedLocationCheck.SupportedRule.Id], UntrustedLocationCheck.SupportedRule.DefaultConfiguration.IsEnabled ?? false, Construct<UntrustedLocationCheck>),
162
new
BuiltInCheckFactory
(PropertiesUsageCheck.SupportedRulesList.Select(r => r.Id).ToArray(),
Microsoft.Build.BuildCheck.UnitTests (1)
TaskInvocationAnalysisDataTests.cs (1)
67
new
([TestCheck.SupportedRule.Id], true, () => s_testCheck = new TestCheck()),
4 references to BuiltInCheckFactory
Microsoft.Build (4)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (4)
143
private static readonly
BuiltInCheckFactory
[][] s_builtInFactoriesPerDataSource =
171
internal static
BuiltInCheckFactory
[][]? s_testFactoriesPerDataSource;
175
foreach (
BuiltInCheckFactory
item in s_builtInFactoriesPerDataSource[(int)buildCheckDataSource])
185
foreach (
BuiltInCheckFactory
item in s_testFactoriesPerDataSource[(int)buildCheckDataSource])