C#: Remove use of deprecated predicates.

This commit is contained in:
Calum Grant
2019-06-27 15:35:37 +01:00
parent 76454ed68a
commit 2504754e8e

View File

@@ -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) {