3 references to IsService
Microsoft.Extensions.DependencyInjection (3)
ServiceLookup\CallSiteFactory.cs (2)
693public bool IsService(Type serviceType) => IsService(new ServiceIdentifier(null, serviceType)); 695public bool IsKeyedService(Type serviceType, object? key) => IsService(new ServiceIdentifier(key, serviceType));
ServiceProvider.cs (1)
215System.Diagnostics.Debug.Assert(result is null || CallSiteFactory.IsService(serviceIdentifier));