1 write to CheckRule
Microsoft.Build (1)
BuildCheck\API\BuildCheckResult.cs (1)
25CheckRule = checkConfig;
10 references to CheckRule
Microsoft.Build (10)
BuildCheck\API\BuildCheckResult.cs (7)
41public string Code => CheckRule.Id; 52public string MessageFormat => CheckRule.MessageFormat; 57? $"https://aka.ms/buildcheck/codes#{CheckRule.Id} - {string.Format(CheckRule.MessageFormat, MessageArgs)}" 59: (!string.IsNullOrEmpty(CheckRule.HelpLinkUri) ? $"{CheckRule.HelpLinkUri} - " : null) + 60string.Format(CheckRule.MessageFormat, MessageArgs);
BuildCheck\Infrastructure\BuildEventsProcessor.cs (3)
250if (!checkWrapper.Check.SupportedRules.Contains(result.CheckRule)) 254$"The check '{checkWrapper.Check.FriendlyName}' reported a result for a rule '{result.CheckRule.Id}' that it does not support."); 261r.RuleId.Equals(result.CheckRule.Id, StringComparison.CurrentCultureIgnoreCase));