Skip to content

Commit

Permalink
Remove "private" from new methods.
Browse files Browse the repository at this point in the history
Just guessing what dotnet format wants...
  • Loading branch information
rauhs committed Aug 16, 2023
1 parent 44606bb commit f9b9094
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Moq/Extensions.cs
Expand Up @@ -519,9 +519,9 @@ public static Type SubstituteTypeMatchers(this Type type, Type other)
return type;
}

private static readonly ConcurrentDictionary<Tuple<Type, Type>, InterfaceMapping> mappingsCache = new();
static readonly ConcurrentDictionary<Tuple<Type, Type>, 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));
}
Expand Down

0 comments on commit f9b9094

Please sign in to comment.