File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
csharp/ql/lib/semmle/code/csharp/commons Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -67,10 +67,6 @@ module QualifiedName<QualifiedNameInputSig Input> {
67
67
predicate hasQualifiedName ( Declaration d , string qualifier , string name ) {
68
68
d =
69
69
any ( ValueOrRefType vort |
70
- vort instanceof VoidType and
71
- qualifier = "System" and
72
- name = "Void"
73
- or
74
70
vort =
75
71
any ( ArrayType at |
76
72
exists ( Type elementType , string name0 |
@@ -81,9 +77,6 @@ module QualifiedName<QualifiedNameInputSig Input> {
81
77
or
82
78
hasQualifiedName ( vort .( TupleType ) .getUnderlyingType ( ) , qualifier , name )
83
79
or
84
- qualifier = "System" and
85
- name = "Nullable<" + getFullName ( vort .( NullableType ) .getUnderlyingType ( ) ) + ">"
86
- or
87
80
vort =
88
81
any ( UnboundGenericType ugt |
89
82
exists ( string name0 | name = name0 + Input:: getUnboundGenericSuffix ( ugt ) |
@@ -112,10 +105,8 @@ module QualifiedName<QualifiedNameInputSig Input> {
112
105
)
113
106
)
114
107
or
115
- not vort instanceof VoidType and
116
108
not vort instanceof ArrayType and
117
109
not vort instanceof TupleType and
118
- not vort instanceof NullableType and
119
110
not vort instanceof UnboundGenericType and
120
111
not vort instanceof ConstructedType and
121
112
(
You can’t perform that action at this time.
0 commit comments