9 references to Format
Microsoft.Extensions.DependencyInjection (9)
ServiceLookup\CallSiteChain.cs (1)
41messageBuilder.Append(SR.Format(SR.CircularDependencyException, TypeNameHelper.GetTypeDisplayName(serviceIdentifier.ServiceType)));
ServiceLookup\CallSiteFactory.cs (5)
47SR.Format(SR.OpenGenericServiceRequiresOpenGenericImplementation, serviceType), 279throw new InvalidOperationException(SR.Format(SR.AotCannotCreateEnumerableValueType, itemType)); 575throw new InvalidOperationException(SR.Format(SR.NoConstructorMatch, implementationType)); 640SR.Format(SR.AmbiguousConstructorException, implementationType), 652SR.Format(SR.UnableToActivateTypeException, implementationType));
ServiceLookup\CallSiteVisitor.cs (1)
54throw new NotSupportedException(SR.Format(SR.CallSiteTypeNotSupported, callSite.GetType()));
ServiceLookup\ServiceProviderEngineScope.cs (1)
134throw new InvalidOperationException(SR.Format(SR.AsyncDisposableServiceDispose, TypeNameHelper.GetTypeDisplayName(toDispose[i])));
ServiceLookup\ThrowHelper.cs (1)
30throw new InvalidOperationException(SR.Format(SR.NoServiceRegistered, serviceType));