8 references to IsEnabled
Microsoft.Build (3)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (3)
148
new BuiltInCheckFactory([SharedOutputPathCheck.SupportedRule.Id], SharedOutputPathCheck.SupportedRule.DefaultConfiguration.
IsEnabled
?? false, Construct<SharedOutputPathCheck>),
206
instance.SupportedRules.Any(r => r.DefaultConfiguration.
IsEnabled
== true));
246
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);