We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a197ead commit 674bafbCopy full SHA for 674bafb
src/Microsoft.DotNet.Wpf/src/Shared/MS/Utility/FrugalList.cs
@@ -1,4 +1,4 @@
1
-// Licensed to the .NET Foundation under one or more agreements.
+// Licensed to the .NET Foundation under one or more agreements.
2
// The .NET Foundation licenses this file to you under the MIT license.
3
// See the LICENSE file in the project root for more information.
4
@@ -340,7 +340,7 @@ public void Promote(SingleItemList<T> oldList)
340
341
public override T[] ToArray()
342
{
343
- T[] array = new T[1];
+ T[] array = new T[SIZE];
344
array[0] = _loneEntry;
345
return array;
346
}
0 commit comments