Skip to content

Commit dd98f12

Browse files
fix: Add line numbers to Listing 4.62 (#809)
Fixes #623
1 parent 59418e7 commit dd98f12

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/Chapter04/Listing04.62.LineWarning.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@ public class Program
44
{
55
public static void Main()
66
{
7-
#region INCLUDE
87
#line 113 "TicTacToe.cs"
98
#warning "Same move allowed multiple times."
109
#line default
10+
// Duplicating content to add line numbers
11+
/*
12+
#region INCLUDE
13+
124. #line 113 "TicTacToe.cs"
14+
125. #warning "Same move allowed multiple times."
15+
126. #line default
1116
#endregion INCLUDE
17+
*/
1218
}
1319
}

0 commit comments

Comments
 (0)