From a7268e803abf33bcfcd911bfc841cbcd4cff8902 Mon Sep 17 00:00:00 2001 From: rauhs Date: Thu, 10 Aug 2023 06:09:43 +0200 Subject: [PATCH] Remove "private" from new methods. Just guessing what dotnet format wants... --- src/Moq/Extensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Moq/Extensions.cs b/src/Moq/Extensions.cs index 0cdfd2ef6..9e1522d9f 100644 --- a/src/Moq/Extensions.cs +++ b/src/Moq/Extensions.cs @@ -519,9 +519,9 @@ public static Type SubstituteTypeMatchers(this Type type, Type other) return type; } - private static readonly ConcurrentDictionary, InterfaceMapping> mappingsCache = new(); + static readonly ConcurrentDictionary, InterfaceMapping> mappingsCache = new(); - private static InterfaceMapping GetInterfaceMap(Type type, Type interfaceType) + static InterfaceMapping GetInterfaceMap(Type type, Type interfaceType) { return mappingsCache.GetOrAdd(Tuple.Create(type, interfaceType), tuple => tuple.Item1.GetInterfaceMap(tuple.Item2)); }