2 writes to DefaultConfiguration
Microsoft.Build (2)
BuildCheck\API\CheckRule.cs (2)
34DefaultConfiguration = defaultConfiguration; 57DefaultConfiguration = defaultConfiguration;
16 references to DefaultConfiguration
Microsoft.Build (16)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (13)
151new BuiltInCheckFactory([SharedOutputPathCheck.SupportedRule.Id], SharedOutputPathCheck.SupportedRule.DefaultConfiguration.IsEnabled ?? false, Construct<SharedOutputPathCheck>), 152new BuiltInCheckFactory([PreferProjectReferenceCheck.SupportedRule.Id], PreferProjectReferenceCheck.SupportedRule.DefaultConfiguration.IsEnabled ?? false, Construct<PreferProjectReferenceCheck>), 153new BuiltInCheckFactory([CopyAlwaysCheck.SupportedRule.Id], CopyAlwaysCheck.SupportedRule.DefaultConfiguration.IsEnabled ?? false, Construct<CopyAlwaysCheck>), 154new BuiltInCheckFactory([DoubleWritesCheck.SupportedRule.Id], DoubleWritesCheck.SupportedRule.DefaultConfiguration.IsEnabled ?? false, Construct<DoubleWritesCheck>), 155new BuiltInCheckFactory([ExecCliBuildCheck.SupportedRule.Id], ExecCliBuildCheck.SupportedRule.DefaultConfiguration.IsEnabled ?? false, Construct<ExecCliBuildCheck>), 156new BuiltInCheckFactory([WriteLinesToFileBuildCheck.SupportedRule.Id], WriteLinesToFileBuildCheck.SupportedRule.DefaultConfiguration.IsEnabled ?? false, Construct<WriteLinesToFileBuildCheck>), 157new BuiltInCheckFactory([NoEnvironmentVariablePropertyCheck.SupportedRule.Id], NoEnvironmentVariablePropertyCheck.SupportedRule.DefaultConfiguration.IsEnabled ?? false, Construct<NoEnvironmentVariablePropertyCheck>), 158new BuiltInCheckFactory([EmbeddedResourceCheck.SupportedRule.Id], EmbeddedResourceCheck.SupportedRule.DefaultConfiguration.IsEnabled ?? false, Construct<EmbeddedResourceCheck>), 159new BuiltInCheckFactory([TargetFrameworkConfusionCheck.SupportedRule.Id], TargetFrameworkConfusionCheck.SupportedRule.DefaultConfiguration.IsEnabled ?? false, Construct<TargetFrameworkConfusionCheck>), 160new BuiltInCheckFactory([TargetFrameworkUnexpectedCheck.SupportedRule.Id], TargetFrameworkUnexpectedCheck.SupportedRule.DefaultConfiguration.IsEnabled ?? false, Construct<TargetFrameworkUnexpectedCheck>), 161new BuiltInCheckFactory([UntrustedLocationCheck.SupportedRule.Id], UntrustedLocationCheck.SupportedRule.DefaultConfiguration.IsEnabled ?? false, Construct<UntrustedLocationCheck>), 167PropertiesUsageCheck.SupportedRulesList.Any(r => r.DefaultConfiguration.IsEnabled ?? false), 228instance.SupportedRules.Any(r => r.DefaultConfiguration.IsEnabled == true),
BuildCheck\Infrastructure\CheckWrapper.cs (1)
60defaultSeverity: (checkRule.DefaultConfiguration.Severity ??
BuildCheck\Infrastructure\ConfigurationProvider.cs (2)
135check.SupportedRules[idx].DefaultConfiguration, 258=> GetMergedConfiguration(projectFullPath, checkRule.Id, checkRule.DefaultConfiguration);