10 references to IsEnabled
Microsoft.Build (5)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (5)
137
([SharedOutputPathCheck.SupportedRule.Id], SharedOutputPathCheck.SupportedRule.DefaultConfiguration.
IsEnabled
?? false, Construct<SharedOutputPathCheck>),
138
([DoubleWritesCheck.SupportedRule.Id], DoubleWritesCheck.SupportedRule.DefaultConfiguration.
IsEnabled
?? false, Construct<DoubleWritesCheck>),
139
([NoEnvironmentVariablePropertyCheck.SupportedRule.Id], NoEnvironmentVariablePropertyCheck.SupportedRule.DefaultConfiguration.
IsEnabled
?? false, Construct<NoEnvironmentVariablePropertyCheck>)
194
instance.SupportedRules.Any(r => r.DefaultConfiguration.
IsEnabled
== true));
234
if (userEditorConfigs.All(c => !(c.
IsEnabled
?? checkFactoryContext.IsEnabledByDefault)))
Microsoft.Build.BuildCheck.UnitTests (5)
CheckConfiguration_Test.cs (4)
20
buildConfig.
IsEnabled
.ShouldBeNull();
30
buildConfig.
IsEnabled
.ShouldBeNull();
74
buildConfig.
IsEnabled
.ShouldBe(expected);
97
buildConfig.
IsEnabled
.ShouldBeNull();
ConfigurationProvider_Tests.cs (1)
119
buildConfig.
IsEnabled
.ShouldBe(true);