- don't try to mock impls

ImplementExpressionTrees
Simon G 3 years ago
parent 2c57421e21
commit 6c7751153e
  1. 3
      LightweightIocContainer.Validation/IocValidator.cs

@ -90,6 +90,9 @@ public class IocValidator
if (type == typeof(string))
return string.Empty;
if (type.IsInterface)
return new NullParameter(type);
try
{
return GenericMethodCaller.CallPrivate(this, nameof(GetMock), type);

Loading…
Cancel
Save