Метод | Описание | |
---|---|---|
FindConflictingRules ( string baselineRuleSet, string targetRuleSet ) : |
IRuleSetInspector.FindConflictingRules(string, string)
|
|
FixConflictingRules ( string baselineRuleSetPath, string targetRuleSetPath ) : |
IRuleSetInspector.FindConflictingRules(string, string)
|
|
RuleSetInspector ( IServiceProvider serviceProvider ) : Microsoft.VisualStudio |
Метод | Описание | |
---|---|---|
DeleteConflictingRules ( RuleSet baselineRuleSet, RuleSet targetRuleSet ) : List |
Fixes conflicts resulting in having rule overrides in Assumes that TryResolveIncludeConflicts executed already to fix the include issues |
|
EffectiveRulesErrorHandler ( string message, |
||
FindConflictsCore ( RuleSet baselineRuleSet, RuleSet targetRuleSet ) : |
||
GetStaticAnalysisToolsDirectory ( ) : string | ||
IsBaselineWeakend ( RuleAction baselineAction, RuleAction targetAction ) : bool | ||
TryResolveIncludeConflicts ( RuleSet baselineRuleSet, RuleSet targetRuleSet ) : bool |
Attempts to fix the conflicts by ensuring that the server ruleset is included with the expected Include Action
|
public FindConflictingRules ( string baselineRuleSet, string targetRuleSet ) : |
||
baselineRuleSet | string | |
targetRuleSet | string | |
Результат |
public FixConflictingRules ( string baselineRuleSetPath, string targetRuleSetPath ) : |
||
baselineRuleSetPath | string | |
targetRuleSetPath | string | |
Результат |
public RuleSetInspector ( IServiceProvider serviceProvider ) : Microsoft.VisualStudio | ||
serviceProvider | IServiceProvider | |
Результат | Microsoft.VisualStudio |