Method | Description | |
---|---|---|
FindConflictingRules ( string baselineRuleSet, string targetRuleSet ) : |
IRuleSetInspector.FindConflictingRules(string, string)
|
|
FixConflictingRules ( string baselineRuleSetPath, string targetRuleSetPath ) : |
IRuleSetInspector.FindConflictingRules(string, string)
|
|
RuleSetInspector ( IServiceProvider serviceProvider ) : Microsoft.VisualStudio |
Method | Description | |
---|---|---|
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 | |
return |
public FixConflictingRules ( string baselineRuleSetPath, string targetRuleSetPath ) : |
||
baselineRuleSetPath | string | |
targetRuleSetPath | string | |
return |
public RuleSetInspector ( IServiceProvider serviceProvider ) : Microsoft.VisualStudio | ||
serviceProvider | IServiceProvider | |
return | Microsoft.VisualStudio |