12 references to Format
System.Composition.Convention (12)
src\libraries\Common\src\System\Composition\Diagnostics\CompositionTraceSource.cs (1)
50
throw new Exception(SR.
Format
(SR.Diagnostic_InternalExceptionMessage, SR.Diagnostic_TraceUnnecessaryWork));
System\Composition\Convention\ExportConventionBuilder.cs (3)
66
throw new ArgumentException(SR.
Format
(SR.ArgumentException_EmptyString, nameof(contractName)), nameof(contractName));
103
throw new ArgumentException(SR.
Format
(SR.ArgumentException_EmptyString, nameof(name)), nameof(name));
130
throw new ArgumentException(SR.
Format
(SR.ArgumentException_EmptyString, nameof(name)), nameof(name));
System\Composition\Convention\ImportConventionBuilder.cs (3)
40
throw new ArgumentException(SR.
Format
(SR.ArgumentException_EmptyString, nameof(contractName)), nameof(contractName));
108
throw new ArgumentException(SR.
Format
(SR.ArgumentException_EmptyString, nameof(name)), nameof(name));
135
throw new ArgumentException(SR.
Format
(SR.ArgumentException_EmptyString, nameof(name)), nameof(name));
System\Composition\Convention\PartConventionBuilder.cs (2)
433
throw new ArgumentException(SR.
Format
(SR.ArgumentException_EmptyString, nameof(name)), nameof(name));
460
throw new ArgumentException(SR.
Format
(SR.ArgumentException_EmptyString, nameof(name)), nameof(name));
System\Composition\Convention\PartConventionBuilderOfT.cs (3)
48
throw new ArgumentException(SR.
Format
(SR.Argument_ExpressionMustBeVoidMethodWithNoArguments, nameof(methodSelector)), nameof(methodSelector));
119
throw new ArgumentException(SR.
Format
(SR.Argument_ExpressionMustBePropertyMember, nameof(propertySelector)), nameof(propertySelector));
170
throw new ArgumentException(SR.
Format
(SR.Argument_ExpressionMustBeNew, nameof(constructorSelector)), nameof(constructorSelector));