mirror of
https://github.com/github/codeql.git
synced 2026-04-23 07:45:17 +02:00
C#: Address review comments.
This commit is contained in:
@@ -2087,7 +2087,9 @@ class CaptureNode extends NodeImpl, TCaptureNode {
|
||||
* same database (which is the case for .NET Runtime).
|
||||
*/
|
||||
private predicate hasAutoImplementation(Property p) {
|
||||
forall(Accessor a | a = p.getAnAccessor() | count(getASourceLocation(a)) > count(a.getBody()))
|
||||
forex(Accessor a | a = p.getAnAccessor() |
|
||||
strictcount(getASourceLocation(a)) > count(a.getBody())
|
||||
)
|
||||
}
|
||||
|
||||
/** A field or a property. */
|
||||
|
||||
Reference in New Issue
Block a user