mirror of
https://github.com/github/codeql.git
synced 2026-05-04 13:15:21 +02:00
C#: Remove use of deprecated predicates.
This commit is contained in:
@@ -400,11 +400,11 @@ private string stubConstraints(TypeParameterConstraints tpc) {
|
||||
or
|
||||
tpc.hasRefTypeConstraint() and result = "class"
|
||||
or
|
||||
result = tpc.getATypeParameterConstraint().getName()
|
||||
result = tpc.getATypeConstraint().(TypeParameter).getName()
|
||||
or
|
||||
result = stubClassName(tpc.getAnInterfaceConstraint())
|
||||
result = stubClassName(tpc.getATypeConstraint().(Interface))
|
||||
or
|
||||
result = stubClassName(tpc.getClassConstraint())
|
||||
result = stubClassName(tpc.getATypeConstraint().(Class))
|
||||
}
|
||||
|
||||
private string stubTypeParameterConstraints(TypeParameter tp) {
|
||||
|
||||
Reference in New Issue
Block a user