From bd178831e3b85f579e5415f369de1b8f0e5ee329 Mon Sep 17 00:00:00 2001 From: Sunny Date: Thu, 16 Oct 2025 04:36:31 +0000 Subject: [PATCH] =?UTF-8?q?update=20src/Admin/ThingsGateway.Common/Common/?= =?UTF-8?q?ConcurrentList.cs.=20=E4=BF=AE=E6=94=B9=20ConcurrentList.cs=20?= =?UTF-8?q?=E4=B8=80=E5=A4=84=E9=94=99=E8=AF=AF=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sunny --- src/Admin/ThingsGateway.Common/Common/ConcurrentList.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Admin/ThingsGateway.Common/Common/ConcurrentList.cs b/src/Admin/ThingsGateway.Common/Common/ConcurrentList.cs index 541eb2bac..20e790ddf 100644 --- a/src/Admin/ThingsGateway.Common/Common/ConcurrentList.cs +++ b/src/Admin/ThingsGateway.Common/Common/ConcurrentList.cs @@ -1,4 +1,4 @@ -//------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ // 此代码版权声明为全文件覆盖,如有原作者特别声明,会在下方手动补充 // 此代码版权(除特别声明外的代码)归作者本人Diego所有 // 源代码使用协议遵循本仓库的开源协议及附加协议 @@ -477,7 +477,7 @@ public class ConcurrentList : IList, IReadOnlyList { lock (((ICollection)m_list).SyncRoot) { - return m_list.IndexOf(item); + return m_list.LastIndexOf(item); } }