public CustomRuleInfo(IRule fxcopRule, string typeName) { FullId = fxcopRule.CheckId; Namespace = fxcopRule.GetType().Assembly.GetName().Name; Id = fxcopRule.CheckId; Category = new FxCopCategoryInfo(fxcopRule.Category); Name = typeName; HumanReadableName = fxcopRule.Name; Description = fxcopRule.Description; AnalyzerId = null; HelpKeyword = null; Console.WriteLine(fxcopRule.Url); try { if (!string.IsNullOrWhiteSpace(fxcopRule.Url)) { var link = fxcopRule.Url; if (myArgumentsParser.IsMicrosoft) { link = link.Replace("@", MSDN_LINK); } HelpUrl = new Uri(link); HelpUrlAsString = HelpUrl.ToString(); } } catch (UriFormatException) { HelpUrlAsString = fxcopRule.Url; } FixCategories = FixCategories.None; }