public IReadOnlyList<ProjectRuleSetConflict> GetCurrentConflicts()
{
// Note: some of the assumptions (see asserts below) are because have just bounded the solution (as documented on the interface),
// in other cases assuming that the rule set are indeed on disk is not possible, and in fact re-syncing
// would be required when we have missing rule-sets, otherwise finding conflicts will not be possible.
RuleSetInformation[] aggregatedRuleSets = GetAggregatedSolutionRuleSets();
if (aggregatedRuleSets.Length > 0)
{
return FindConflicts(aggregatedRuleSets);
}
return new ProjectRuleSetConflict[0];
}