Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76454ed commit 2504754Copy full SHA for 2504754
1 file changed
csharp/ql/src/Stubs/Stubs.qll
@@ -400,11 +400,11 @@ private string stubConstraints(TypeParameterConstraints tpc) {
400
or
401
tpc.hasRefTypeConstraint() and result = "class"
402
403
- result = tpc.getATypeParameterConstraint().getName()
+ result = tpc.getATypeConstraint().(TypeParameter).getName()
404
405
- result = stubClassName(tpc.getAnInterfaceConstraint())
+ result = stubClassName(tpc.getATypeConstraint().(Interface))
406
407
- result = stubClassName(tpc.getClassConstraint())
+ result = stubClassName(tpc.getATypeConstraint().(Class))
408
}
409
410
private string stubTypeParameterConstraints(TypeParameter tp) {
0 commit comments