Skip to content
Open
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
10 changes: 2 additions & 8 deletions src/ServiceProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,8 @@ public object GetService(Type serviceType)
throw new ObjectDisposedException(nameof(IServiceProvider));
}

try
{
return _container.Resolve(serviceType);
}
catch { /* Ignore */}

return null;
}
return _container.Resolve(serviceType);
}

#endregion

Expand Down