C#: Add line span pragma example.

This commit is contained in:
Michael Nebel
2022-01-12 16:39:31 +01:00
parent 93255dfe13
commit 8b048ca17e
3 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
using System;
public class MyLineDirective
{
public static void M1()
{
#line (1, 1) - (1, 30) 5 "LinePragmasRef1.cs"
int i = 0;
#line (2, 1) - (5, 32) "LinePragmasRef2.cs"
int j = 0;
}
}