@@ -57,19 +57,19 @@ private predicate isObjectClass(Class c) { c instanceof ObjectType }
5757 */
5858class ValueOrRefType extends DotNet:: ValueOrRefType , Type , Attributable , @value_or_ref_type {
5959 /**
60- * Holds if this type has the qualified name `namespace `.`name`.
60+ * Holds if this type has the qualified name `qualifier `.`name`.
6161 *
6262 * For example the class `System.IO.IOException` has
63- * `namespace `=`System.IO` and `name`=`IOException`.
63+ * `qualifier `=`System.IO` and `name`=`IOException`.
6464 */
65- override predicate hasQualifiedName ( string namespace , string name ) {
65+ override predicate hasQualifiedName ( string qualifier , string name ) {
6666 exists ( string enclosing |
67- this .getDeclaringType ( ) .hasQualifiedName ( namespace , enclosing ) and
67+ this .getDeclaringType ( ) .hasQualifiedName ( qualifier , enclosing ) and
6868 name = enclosing + "+" + this .getUndecoratedName ( )
6969 )
7070 or
7171 not exists ( this .getDeclaringType ( ) ) and
72- namespace = this .getNamespace ( ) .getFullName ( ) and
72+ qualifier = this .getNamespace ( ) .getFullName ( ) and
7373 name = this .getUndecoratedName ( )
7474 }
7575
@@ -398,8 +398,8 @@ class NonNestedType extends ValueOrRefType {
398398 * The `void` type.
399399 */
400400class VoidType extends DotNet:: ValueOrRefType , Type , @void_type {
401- override predicate hasQualifiedName ( string namespace , string name ) {
402- namespace = "System" and
401+ override predicate hasQualifiedName ( string qualifier , string name ) {
402+ qualifier = "System" and
403403 name = "Void"
404404 }
405405
@@ -1007,8 +1007,8 @@ class NullableType extends ValueType, DotNet::ConstructedGeneric, @nullable_type
10071007 result = "Nullable<" + this .getUnderlyingType ( ) .getName ( ) + ">"
10081008 }
10091009
1010- final override predicate hasQualifiedName ( string namespace , string name ) {
1011- namespace = "System" and
1010+ final override predicate hasQualifiedName ( string qualifier , string name ) {
1011+ qualifier = "System" and
10121012 name = "Nullable<" + this .getUnderlyingType ( ) .getQualifiedName ( ) + ">"
10131013 }
10141014}
@@ -1076,9 +1076,9 @@ class ArrayType extends DotNet::ArrayType, RefType, @array_type {
10761076 result = this .getElementType ( ) .getALocation ( )
10771077 }
10781078
1079- final override predicate hasQualifiedName ( string namespace , string name ) {
1079+ final override predicate hasQualifiedName ( string qualifier , string name ) {
10801080 exists ( Type elementType , string name0 |
1081- elementType .hasQualifiedName ( namespace , name0 ) and
1081+ elementType .hasQualifiedName ( qualifier , name0 ) and
10821082 name = name0 + this .getDimensionString ( elementType )
10831083 )
10841084 }
@@ -1106,9 +1106,9 @@ class PointerType extends DotNet::PointerType, Type, @pointer_type {
11061106
11071107 override string getAPrimaryQlClass ( ) { result = "PointerType" }
11081108
1109- final override predicate hasQualifiedName ( string namespace , string name ) {
1109+ final override predicate hasQualifiedName ( string qualifier , string name ) {
11101110 exists ( string name0 |
1111- this .getReferentType ( ) .hasQualifiedName ( namespace , name0 ) and
1111+ this .getReferentType ( ) .hasQualifiedName ( qualifier , name0 ) and
11121112 name = name0 + "*"
11131113 )
11141114 }
@@ -1190,8 +1190,8 @@ class TupleType extends ValueType, @tuple_type {
11901190
11911191 override Type getChild ( int i ) { result = this .getUnderlyingType ( ) .getChild ( i ) }
11921192
1193- final override predicate hasQualifiedName ( string namespace , string name ) {
1194- this .getUnderlyingType ( ) .hasQualifiedName ( namespace , name )
1193+ final override predicate hasQualifiedName ( string qualifier , string name ) {
1194+ this .getUnderlyingType ( ) .hasQualifiedName ( qualifier , name )
11951195 }
11961196
11971197 override string getAPrimaryQlClass ( ) { result = "TupleType" }
0 commit comments