← every case · 2000 · string forms

2070-verbatim_string_crossing_lines

a C# verbatim string, which opens with @" and closes with a bare quote, so its two ends are not the same symbol. It runs across lines, and the backslashes inside it escape nothing

read ascloc.defaultmezura.contentmezura.regionscc.defaulttokei.default
input.cs
1codevar path = @"C:\one
2codeC:\two";
3comments// a real comment

stringcommentthe tag around another language

What each tool answered

cloc.default ✓ agrees
the rules ask3 lines · 0 blanks · 2 code · 1 comments
it answers3 lines · 0 blanks · 2 code · 1 comments

cloc --json cases/2000-string_forms/2070-verbatim_string_crossing_lines/input.cs

mezura.content ✓ agrees
the rules ask3 lines · 2 code · 1 comments · 0 extra
it answers3 lines · 2 code · 1 comments · 0 extra

mezura cases/2000-string_forms/2070-verbatim_string_crossing_lines/input.cs --output json --hide timing --counting content

mezura.region ✓ agrees
the rules ask3 lines · 0 blanks · 2 code · 1 comments
it answers3 lines · 0 blanks · 2 code · 1 comments

mezura cases/2000-string_forms/2070-verbatim_string_crossing_lines/input.cs --output json --hide timing --counting region

scc.default ✓ agrees
the rules ask3 lines · 0 blanks · 2 code · 1 comments
it answers3 lines · 0 blanks · 2 code · 1 comments

scc --format json cases/2000-string_forms/2070-verbatim_string_crossing_lines/input.cs

tokei.default ✓ agrees
the rules ask3 lines · 0 blanks · 2 code · 1 comments
it answers3 lines · 0 blanks · 2 code · 1 comments

tokei --output json cases/2000-string_forms/2070-verbatim_string_crossing_lines/input.cs