38 references to SR
System.Composition.Convention (38)
src\libraries\Common\src\System\Composition\Diagnostics\CompositionTrace.cs (11)
13
throw new Exception(
SR
.Diagnostic_InternalExceptionMessage);
18
SR
.Registration_ConstructorConventionOverridden,
26
throw new Exception(
SR
.Diagnostic_InternalExceptionMessage);
31
SR
.Registration_TypeExportConventionOverridden,
50
SR
.Registration_MemberExportConventionOverridden,
69
SR
.Registration_MemberImportConventionOverridden,
88
SR
.Registration_OnSatisfiedImportNotificationOverridden,
103
SR
.Registration_PartCreationConventionOverridden,
122
SR
.Registration_MemberImportConventionMatchedTwice,
137
SR
.Registration_PartMetadataConventionOverridden,
156
SR
.Registration_ParameterImportConventionOverridden,
src\libraries\Common\src\System\Composition\Diagnostics\CompositionTraceSource.cs (3)
50
throw new Exception(
SR
.Format(
SR
.Diagnostic_InternalExceptionMessage,
SR
.Diagnostic_TraceUnnecessaryWork));
System\Composition\Convention\ConventionBuilder.cs (1)
211
throw new Exception(
SR
.Diagnostic_InternalExceptionMessage);
System\Composition\Convention\ExportConventionBuilder.cs (6)
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 (6)
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 (5)
405
throw new ArgumentException(
SR
.ArgumentException_EmptyString);
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 (6)
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));