We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cdab58 commit 4f051a5Copy full SHA for 4f051a5
1 file changed
src/Autofac.Extras.AggregateService/ResolvingInterceptor.cs
@@ -66,8 +66,7 @@ public void Intercept(IInvocation invocation)
66
return method
67
.DeclaringType?
68
.GetProperties()
69
- .Where(prop => prop.GetGetMethod() == method)
70
- .FirstOrDefault();
+ .FirstOrDefault(prop => prop.GetGetMethod() == method);
71
}
72
73
private static void InvalidReturnTypeInvocation(IInvocation invocation)
0 commit comments