8 references to Format
System.Composition.Hosting (8)
System\Composition\Hosting\Core\CompositionDependency.cs (1)
170
var list = Formatters.ReadableList(_oversuppliedTargets.Select(t => SR.
Format
(SR.Dependency_QuoteParameter, t.Origin)));
System\Composition\Hosting\Core\ExportDescriptorRegistry.cs (1)
50
var ex = new CompositionFailedException(SR.
Format
(SR.CardinalityMismatch_TooManyExports, exportKey));
System\Composition\Hosting\Core\LifetimeContext.cs (1)
94
string message = SR.
Format
(SR.Component_NotCreatableOutsideSharingBoundary, sharingBoundary);
System\Composition\Hosting\Providers\Metadata\MetadataViewProvider.cs (3)
25
throw new CompositionFailedException(SR.
Format
(SR.MetadataViewProvider_InvalidViewImplementation, typeof(TMetadata).Name));
73
throw new CompositionFailedException(SR.
Format
(SR.MetadataViewProvider_InvalidViewImplementation, typeof(TMetadata).Name));
86
var message = SR.
Format
(SR.MetadataViewProvider_MissingMetadata, name);
System\Composition\Hosting\Util\SmallSparseInitonlyArray.cs (2)
36
throw new ArgumentException(SR.
Format
(SR.Key_Already_Exist, index), nameof(index));
51
throw new ArgumentException(SR.
Format
(SR.Key_Already_Exist, index), nameof(index));