Skip to content

Commit 7f18f35

Browse files
committed
C#: Update test
1 parent 3da438b commit 7f18f35

File tree

2 files changed

+5
-14
lines changed

2 files changed

+5
-14
lines changed
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
1-
| comments2.cs:118:5:118:21 | // ... | comments2.cs:119:11:119:25 | GenericClass<> | NestedType |
2-
| comments2.cs:118:5:118:21 | // ... | comments2.cs:119:11:119:25 | GenericClass<> | UnboundGenericClass |
3-
| comments2.cs:124:5:124:16 | // ... | comments2.cs:125:9:125:20 | GenericFn | CallableOrCFE |
4-
| comments2.cs:124:5:124:16 | // ... | comments2.cs:125:9:125:20 | GenericFn | InstanceCallable |
5-
| comments2.cs:124:5:124:16 | // ... | comments2.cs:125:9:125:20 | GenericFn | UnboundGenericMethod |
1+
| comments2.cs:118:5:118:21 | // ... | comments2.cs:119:11:119:25 | GenericClass<> |
2+
| comments2.cs:124:5:124:16 | // ... | comments2.cs:125:9:125:20 | GenericFn |
Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
import csharp
22

3-
from CommentBlock b, Element e, string s
3+
from CommentBlock b, Element e
44
where
55
b.getElement() = e and
66
(
77
e instanceof ConstructedMethod or
88
e instanceof ConstructedClass or
99
e instanceof UnboundGenericClass or
1010
e instanceof UnboundGenericMethod
11-
) and
12-
s = e.getAQlClass() and
13-
not s = "SourceDeclarationType" and
14-
not s = "SourceDeclarationCallable" and
15-
not s = "SourceDeclarationMethod" and
16-
not s = "NonConstructedMethod" and
17-
not s = "RuntimeInstanceMethod"
18-
select b, e, s
11+
)
12+
select b, e

0 commit comments

Comments
 (0)