System\ComponentModel\Composition\ExceptionBuilder.cs (5)
41throw new ArgumentException(SR.Format(SR.ArgumentException_EmptyString, nameof(memberName)), nameof(memberName));
70throw new ArgumentException(SR.Format(SR.ArgumentException_EmptyString, nameof(parameterName)), nameof(parameterName));
94throw new ArgumentException(SR.Format(SR.ArgumentException_EmptyString, nameof(parameterName)), nameof(parameterName));
102return new ArgumentException(SR.Format(SR.ReflectionModel_InvalidPartDefinition, partDefinitionType), parameterName);
111throw new ArgumentException(SR.Format(SR.ArgumentException_EmptyString, nameof(typeName)), nameof(typeName));
System\ComponentModel\Composition\ReflectionModel\ReflectionModelServices.cs (7)
51SR.Format(SR.ReflectionModel_InvalidExportDefinition, exportDefinition.GetType()),
66SR.Format(SR.ReflectionModel_InvalidMemberImportDefinition, importDefinition.GetType()),
81SR.Format(SR.ReflectionModel_InvalidParameterImportDefinition, importDefinition.GetType()),
97SR.Format(SR.ReflectionModel_InvalidImportDefinition, importDefinition.GetType()),
119SR.Format(SR.ReflectionModel_InvalidImportDefinition, importDefinition.GetType()),
420SR.Format(SR.ReflectionModel_InvalidExportDefinition, export.GetType()));
446SR.Format(SR.ReflectionModel_InvalidMemberImportDefinition, import.GetType()));