Skip to content

Commit 9695b02

Browse files
committed
Don't use collection expression
1 parent c8546cf commit 9695b02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TextMateSharp.Grammars/LanguageConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ public override CharacterPair[] Read(ref Utf8JsonReader reader, Type typeToConve
356356
}
357357

358358
if (open != null && close != null)
359-
surroundingPairs.Add([open.First(), close.First()]);
359+
surroundingPairs.Add(new char[] { open.First(), close.First() });
360360

361361
break;
362362
}

0 commit comments

Comments
 (0)