mirror of
https://github.com/github/codeql.git
synced 2026-04-21 06:55:31 +02:00
16 lines
502 B
Plaintext
16 lines
502 B
Plaintext
import csharp
|
|
import semmle.code.csharp.commons.QualifiedName
|
|
|
|
from TrivialProperty prop, string namespace, string type, string name
|
|
where
|
|
prop.getDeclaringType().hasQualifiedName(namespace, type) and
|
|
(
|
|
namespace = "System.Reflection" and type = "AssemblyName"
|
|
or
|
|
namespace = "System.Collections" and type = "DictionaryEntry"
|
|
or
|
|
namespace = "Dataflow" and type = "Properties"
|
|
) and
|
|
prop.hasQualifiedName(namespace, type, name)
|
|
select getQualifiedName(namespace, type, name)
|