Browse Source

Can make that static to avoid a callvirt

Brandon Thetford 1 year ago
parent
commit
489da798bb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Terminal.Gui/ConsoleDrivers/EscSeqUtils/EscSeqUtils.cs

+ 1 - 1
Terminal.Gui/ConsoleDrivers/EscSeqUtils/EscSeqUtils.cs

@@ -432,7 +432,7 @@ public static class EscSeqUtils
 
         string c1Control = GetC1ControlChar (kChar [1]);
         string code = null;
-        int nSep = kChar.Count (x => x == ';') + 1;
+        int nSep = kChar.Count (static x => x == ';') + 1;
         var values = new string [nSep];
         var valueIdx = 0;
         var terminating = "";