CodeQL library for C#
codeql/csharp-all 4.0.1-dev (changelog, source)
Search

Predicate signature Make::TestSig::hasActualResult

Returns the actual results of the query that is being tested. Each result consist of the following values:

  • location - The source code location of the result. Any expected result comment must appear on the start line of this location.
  • element - Display text for the element on which the result is reported.
  • tag - The tag that marks this result as coming from this test. This must be one of the tags returned by getARelevantTag().
  • value - The value of the result, which will be matched against the value associated with tag in any expected result comment on that line.
signature predicate hasActualResult(Location location, string element, string tag, string value)