Skip to content

Commit 5e28db1

Browse files
Added argument list scope
1 parent ad7c76e commit 5e28db1

24 files changed

+351
-26
lines changed

data/fixtures/scopes/csharp/argument.actual.iteration.scope

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ Foo(5, "bar");
55
>--------<
66
0| Foo(5, "bar");
77

8-
[Domain] = 0:3-0:13
9-
>----------<
8+
[Domain] = 0:0-0:13
9+
>-------------<
1010
0| Foo(5, "bar");
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
new Foo();
2+
---
3+
4+
[Content] =
5+
[Removal] = 0:8-0:8
6+
><
7+
0| new Foo();
8+
9+
[Domain] = 0:0-0:9
10+
>---------<
11+
0| new Foo();
12+
13+
[Insertion delimiter] = ""
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
new Foo(a, b);
2+
---
3+
4+
[Content] =
5+
[Removal] = 0:8-0:12
6+
>----<
7+
0| new Foo(a, b);
8+
9+
[Domain] = 0:0-0:13
10+
>-------------<
11+
0| new Foo(a, b);
12+
13+
[Insertion delimiter] = ", "
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
new Foo(
2+
a,
3+
b
4+
);
5+
---
6+
7+
[Content] =
8+
[Removal] = 0:8-3:0
9+
>
10+
0| new Foo(
11+
1| a,
12+
2| b
13+
3| );
14+
<
15+
16+
[Domain] = 0:0-3:1
17+
>--------
18+
0| new Foo(
19+
1| a,
20+
2| b
21+
3| );
22+
-<
23+
24+
[Insertion delimiter] = ",\n"
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
foo.bar();
2+
---
3+
4+
[Content] =
5+
[Removal] = 0:8-0:8
6+
><
7+
0| foo.bar();
8+
9+
[Domain] = 0:0-0:9
10+
>---------<
11+
0| foo.bar();
12+
13+
[Insertion delimiter] = ""
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
foo.bar(a, b);
2+
---
3+
4+
[Content] =
5+
[Removal] = 0:8-0:12
6+
>----<
7+
0| foo.bar(a, b);
8+
9+
[Domain] = 0:0-0:13
10+
>-------------<
11+
0| foo.bar(a, b);
12+
13+
[Insertion delimiter] = ", "
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
foo.bar(
2+
a,
3+
b
4+
);
5+
---
6+
7+
[Content] =
8+
[Removal] = 0:8-3:0
9+
>
10+
0| foo.bar(
11+
1| a,
12+
2| b
13+
3| );
14+
<
15+
16+
[Domain] = 0:0-3:1
17+
>--------
18+
0| foo.bar(
19+
1| a,
20+
2| b
21+
3| );
22+
-<
23+
24+
[Insertion delimiter] = ",\n"
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
foo();
2+
---
3+
4+
[Content] =
5+
[Removal] = 0:4-0:4
6+
><
7+
0| foo();
8+
9+
[Domain] = 0:0-0:5
10+
>-----<
11+
0| foo();
12+
13+
[Insertion delimiter] = ""
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
foo(a, b);
2+
---
3+
4+
[Content] =
5+
[Removal] = 0:4-0:8
6+
>----<
7+
0| foo(a, b);
8+
9+
[Domain] = 0:0-0:9
10+
>---------<
11+
0| foo(a, b);
12+
13+
[Insertion delimiter] = ", "
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
foo(
2+
a,
3+
b
4+
);
5+
---
6+
7+
[Content] =
8+
[Removal] = 0:4-3:0
9+
>
10+
0| foo(
11+
1| a,
12+
2| b
13+
3| );
14+
<
15+
16+
[Domain] = 0:0-3:1
17+
>----
18+
0| foo(
19+
1| a,
20+
2| b
21+
3| );
22+
-<
23+
24+
[Insertion delimiter] = ",\n"

0 commit comments

Comments
 (0)