mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-01 09:35:39 -05:00
Upgrade solution to .NET 6.0.9 (Build with .NET SDK v6.0.401) (#1692)
This commit is contained in:
@@ -85,12 +85,9 @@ namespace Microsoft.SqlTools.ServiceLayer.Utility
|
||||
}
|
||||
else // need to split values into several arrays
|
||||
{
|
||||
if (expandedList == null)
|
||||
{
|
||||
// very inefficient so delay as much as possible
|
||||
// immediately add 0th array
|
||||
expandedList = new List<List<T>> {shortList};
|
||||
}
|
||||
// very inefficient so delay as much as possible
|
||||
// immediately add 0th array
|
||||
expandedList ??= new List<List<T>> {shortList};
|
||||
|
||||
int arrayIndex = (int)(Count / this.ExpandListSize); // 0 based
|
||||
|
||||
|
||||
Reference in New Issue
Block a user