File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
csharp/ql/lib/semmle/code/cil Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ class Attribute extends Element, @cil_attribute {
12
12
Method getConstructor ( ) { cil_attribute ( this , _, result ) }
13
13
14
14
/** Gets the type of this attribute. */
15
- Type getType ( ) { result = getConstructor ( ) .getDeclaringType ( ) }
15
+ Type getType ( ) { result = this . getConstructor ( ) .getDeclaringType ( ) }
16
16
17
- override string toString ( ) { result = "[" + getType ( ) .getName ( ) + "(...)]" }
17
+ override string toString ( ) { result = "[" + this . getType ( ) .getName ( ) + "(...)]" }
18
18
19
19
/** Gets the value of the `i`th argument of this attribute. */
20
20
string getArgument ( int i ) { cil_attribute_positional_argument ( this , i , result ) }
@@ -23,9 +23,9 @@ class Attribute extends Element, @cil_attribute {
23
23
string getNamedArgument ( string name ) { cil_attribute_named_argument ( this , name , result ) }
24
24
25
25
/** Gets an argument of this attribute, if any. */
26
- string getAnArgument ( ) { result = getArgument ( _) or result = getNamedArgument ( _) }
26
+ string getAnArgument ( ) { result = this . getArgument ( _) or result = this . getNamedArgument ( _) }
27
27
28
- override CS:: Location getLocation ( ) { result = getDeclaration ( ) .getLocation ( ) }
28
+ override CS:: Location getLocation ( ) { result = this . getDeclaration ( ) .getLocation ( ) }
29
29
}
30
30
31
31
/** A generic attribute to a declaration. */
You can’t perform that action at this time.
0 commit comments