Skip to content

Commit 8b048ca

Browse files
committed
C#: Add line span pragma example.
1 parent 93255df commit 8b048ca

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
using System;
2+
3+
public class MyLineDirective
4+
{
5+
public static void M1()
6+
{
7+
#line (1, 1) - (1, 30) 5 "LinePragmasRef1.cs"
8+
int i = 0;
9+
#line (2, 1) - (5, 32) "LinePragmasRef2.cs"
10+
int j = 0;
11+
}
12+
}

csharp/ql/test/library-tests/csharp10/LinePragmasRef1.cs

Whitespace-only changes.

csharp/ql/test/library-tests/csharp10/LinePragmasRef2.cs

Whitespace-only changes.

0 commit comments

Comments
 (0)