E5E7 perf: prevent `Func` allocation with method group by TimothyMakkison · Pull Request #4242 · thomhurst/TUnit · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion TUnit.Core/PropertyInjection/PropertyInjectionCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ internal static class PropertyInjectionCache
/// </summary>
public static PropertyInjectionPlan GetOrCreatePlan(Type type)
{
return _injectionPlans.GetOrAdd(type, _ => PropertyInjectionPlanBuilder.Build(type));
return _injectionPlans.GetOrAdd(type, PropertyInjectionPlanBuilder.Build);
}

/// <summary>
Expand Down
Loading
0