mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
C#: Exclude properties from the Attribute selection.
This commit is contained in:
@@ -427,7 +427,9 @@ Declaration interpretElement(
|
||||
|
|
||||
ext = "" and result = d
|
||||
or
|
||||
ext = "Attribute" and result.(Attributable).getAnAttribute().getType() = d
|
||||
ext = "Attribute" and
|
||||
result.(Attributable).getAnAttribute().getType() = d and
|
||||
not result instanceof Property
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user