Files
codeql/csharp/ql/test/library-tests/generics/ConsistencyChecks.ql
Ian Lynagh a9db1c52e5 All languages: Add getPrimaryQlClasses()
This is a non-overridable predicate that concatenates all the
getAPrimaryQlClass() results into a comma-separated string.
2021-08-23 15:49:10 +01:00

10 lines
248 B
Plaintext

/*
* @name Checks for model consistency
*/
import semmle.code.csharp.commons.ConsistencyChecks
from Element e, string m
where consistencyFailure(e, m)
select e, "Element class " + e.getPrimaryQlClasses() + " has consistency check failed: " + m