2 instantiations of CheckConfigurationEffective
Microsoft.Build (2)
BuildCheck\Infrastructure\CheckConfigurationEffective.cs (1)
26new(string.Empty, CheckConfiguration.Default.EvaluationCheckScope!.Value,
BuildCheck\Infrastructure\ConfigurationProvider.cs (1)
264=> new CheckConfigurationEffective(
43 references to CheckConfigurationEffective
Microsoft.Build (43)
BuildCheck\API\ConfigurationContext.cs (3)
14private ConfigurationContext(CustomConfigurationData[] customConfigurationData, CheckConfigurationEffective[] checkConfig) 20internal static ConfigurationContext FromDataEnumeration(CustomConfigurationData[] customConfigurationData, CheckConfigurationEffective[] checkConfig) 33public IReadOnlyList<CheckConfigurationEffective> CheckConfig { get; init; }
BuildCheck\Checks\PropertiesUsageCheck.cs (4)
49var config = configurationContext.CheckConfig.FirstOrDefault(c => c.RuleId == _usedBeforeInitializedRule.Id) 50?? CheckConfigurationEffective.Default; 56?? CheckConfigurationEffective.Default; 62?? CheckConfigurationEffective.Default;
BuildCheck\Infrastructure\BuildCheckCentralContext.cs (13)
134Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 141Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 150Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 158Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 166Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 174Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 182Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 190Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 198Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> resultHandler) 204Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> resultHandler) 211Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> resultHandler) 222CheckConfigurationEffective? commonConfig = checkCallback.Item1.CommonConfig; 223CheckConfigurationEffective[] configPerRule;
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (1)
254CheckConfigurationEffective[] configurations;
BuildCheck\Infrastructure\BuildEventsProcessor.cs (2)
247CheckConfigurationEffective[] configPerRule, 258CheckConfigurationEffective config = configPerRule.Length == 1
BuildCheck\Infrastructure\CheckConfigurationEffective.cs (2)
25internal static CheckConfigurationEffective Default { get; } = 40public bool IsSameConfigurationAs(CheckConfigurationEffective? other) =>
BuildCheck\Infrastructure\CheckWrapper.cs (6)
61CheckConfigurationEffective.Default.Severity).ToDiagnosticSeverity()); 71internal CheckConfigurationEffective? CommonConfig { get; private set; } 81IReadOnlyList<CheckConfigurationEffective> effectiveConfigs, 88CheckConfigurationEffective effectiveConfig = effectiveConfigs[Math.Max(idx, effectiveConfigs.Count - 1)]; 120private void AddDiagnostic(CheckConfigurationEffective configurationEffective) 153internal void ReportResult(BuildCheckResult result, ICheckContext checkContext, CheckConfigurationEffective config)
BuildCheck\Infrastructure\ConfigurationProvider.cs (6)
104public CheckConfigurationEffective[] GetMergedConfigurations( 125public CheckConfigurationEffective[] GetMergedConfigurations( 129var configurations = new CheckConfigurationEffective[userConfigs.Length]; 257internal CheckConfigurationEffective GetMergedConfiguration(string projectFullPath, CheckRule checkRule) 260internal CheckConfigurationEffective MergeConfiguration( 269private CheckConfigurationEffective GetMergedConfiguration(
BuildCheck\Infrastructure\IConfigurationProvider.cs (2)
15CheckConfigurationEffective[] GetMergedConfigurations( 19CheckConfigurationEffective[] GetMergedConfigurations(
BuildCheck\OM\BuildCheckDataContext.cs (4)
60private readonly CheckConfigurationEffective[] _configPerRule; 61private readonly Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> _resultHandler; 66CheckConfigurationEffective[] configPerRule, 67Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> resultHandler,