From 5d36a081389b8d277e865679dc46f5bb0457ae68 Mon Sep 17 00:00:00 2001 From: mlemanczyk Date: Wed, 28 Jun 2023 23:25:06 +0200 Subject: [PATCH] Problem with running RecyclableCollectionsBenchmarks.Create fixed. Methods made static. --- Recyclable.Collections.Benchmarks/Benchmarks/Create.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Recyclable.Collections.Benchmarks/Benchmarks/Create.cs b/Recyclable.Collections.Benchmarks/Benchmarks/Create.cs index cccc65a..51859b9 100644 --- a/Recyclable.Collections.Benchmarks/Benchmarks/Create.cs +++ b/Recyclable.Collections.Benchmarks/Benchmarks/Create.cs @@ -4,25 +4,25 @@ namespace Recyclable.Collections.Benchmarks { public partial class RecyclableCollectionsBenchmarks { - public static void List_Create() + public void List_Create() { var list = new List(); DoNothing(list); } - public static void PooledList_Create() + public void PooledList_Create() { using var list = new PooledList(ClearMode.Auto); DoNothing(list); } - public static void RecyclableList_Create() + public void RecyclableList_Create() { using var list = new RecyclableList(); DoNothing(list); } - public static void RecyclableLongList_Create() + public void RecyclableLongList_Create() { using var list = new RecyclableLongList(); DoNothing(list);