public RuleResult(RuleName name, RuleResultType type, TLocation location, string description) { _name = name; _type = type; _location = location; _description = description; }
protected CSharpRuleBase(string category, string checkId) { _name = new RuleName(category, checkId); }
public static RuleResult <TLocation> Warning(RuleName name, TLocation location, string description) { return(new RuleResult <TLocation>(name, RuleResultType.Warning, location, description)); }
public static RuleResult <TLocation> Information(RuleName name, TLocation location, string description) { return(new RuleResult <TLocation>(name, RuleResultType.Information, location, description)); }
public static RuleResult <TLocation> Error(RuleName name, TLocation location, string description) { return(new RuleResult <TLocation>(name, RuleResultType.Error, location, description)); }