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 authored and kzu committed Aug 16, 2023
1 parent 5c4f38a commit 1c27e24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Moq/Extensions.cs
Original file line number Diff line number Diff line change
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 1c27e24

Please sign in to comment.