public SmokeyViolation (string ruleId, string problem, string solution, CA.Severity severity, string file, int line)
		{
			this.ruleId = ruleId;
			this.problem = problem;
			this.solution = solution;
			this.severity = severity;
			this.location = new CodeLocation(file, line, 0);
		}
 public SmokeyViolation(string ruleId, string problem, string solution, CA.Severity severity, string file, int line)
 {
     this.ruleId   = ruleId;
     this.problem  = problem;
     this.solution = solution;
     this.severity = severity;
     this.location = new CodeLocation(file, line, 0);
 }
		internal GendarmeViolation (GF.Defect defect)
		{
			this.defect = defect;
			this.location = new CA.CodeLocation(string.Empty, 0, 0);
		}
Exemple #4
0
 internal GendarmeViolation(GF.Defect defect)
 {
     this.defect   = defect;
     this.location = new CA.CodeLocation(string.Empty, 0, 0);
 }