Skip to content

Commit

Permalink
fix: Fix exclude (#537)
Browse files Browse the repository at this point in the history
It wouldn't parse because it was missing the `//` before the EXCLUDE
  • Loading branch information
BenjaminMichaelis authored Sep 6, 2023
1 parent cd813ff commit 9fe987f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Chapter13/Listing13.21.StaticAnonymousFunctions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static void Main()
// Error CS8820: A static anonymous function
// cannot contain a reference to comparisonCount.
comparisonCount++;
#endif // COMPILEERROR EXCLUDE
#endif // COMPILEERROR // EXCLUDE
return first < second;
}
);
Expand Down

0 comments on commit 9fe987f

Please sign in to comment.