throw new ArgumentException(SR.Format(SR.InvalidBoundArgument, nameof(emSize), emSize, 0, "System.Single.MaxValue"), nameof(emSize));
_ => throw new CryptographicException(SR.Format(SR.Cryptography_UnknownHashAlgorithm, hashAlgorithmId))
_ => throw new ArgumentException(SR.Format(SR.InvalidAction, action)),
throw new ArgumentException(SR.Format(SR.ArgumentException_EmptyString, nameof(contractName)), nameof(contractName));
// Can't have both set throw new ArgumentException(SR.Format(SR.net_ambiguousbuffers, nameof(Buffer)));
ThowJsonException(SR.Format(SR.DeserializeUnableToConvertValue, propertyType), in reader, path);
throw new MemberAccessException( SR.Format(SR.Acc_CreateInterfaceEx, declaringType));
throw new ArgumentException(SR.Format(SR.Argument_InvalidCharSequence, unicode.Length - 1), nameof(unicode));
new UnauthorizedAccessException(SR.Format(SR.UnauthorizedAccess_RegistryKeyGeneric_Key, str)) :
throw new ArgumentException(SR.Format(SR.net_nodefaultcreds, authType), nameof(authType));
throw new ArgumentException(SR.Format(SR.UnexpectedArrayLength, Size), nameof(id));
throw new ArgumentException(SR.Format(SR.Arg_InvalidPath, path), nameof(assemblyPaths));
throw new ArgumentException(SR.Format(SR.Argument_InvalidElementTag, tag));
throw new ArgumentException(SR.Format(SR.InvalidObjectTypePassed, nameof(documentTypeToCreate), nameof(ServiceDocument)), nameof(documentTypeToCreate));
throw new ArgumentException(SR.Format(SR.InvalidDirName, path), nameof(path));
_defaultReader = reader as DeserializingResourceReader ?? throw new ArgumentException(SR.Format(SR.NotSupported_WrongResourceReader_Type, reader.GetType()), nameof(reader));
_ => throw new SerializationException(SR.Format(SR.Serialization_TypeCode, code.ToString())),
throw new ArgumentException( SR.Format(SR.Config_provider_must_implement_type,
throw new ArgumentException(SR.Format(SR.Arg_EnumIllegalVal, (int)access), nameof(access));
_ => throw new InvalidOperationException(SR.Format(SR.UnexpectedStringComparisonType, comparisonType))
_ => throw new ArgumentException(SR.Format(SR.UnknownSectionName, name), nameof(name)),
throw new ArgumentException(SR.Format(SR.InvalidObjectTypePassed, nameof(itemTypeToCreate), nameof(SyndicationItem)), nameof(itemTypeToCreate));
throw new CryptographicException(SR.Format(SR.WrongRootElement, KeyValueElementName, SignedXml.XmlDsigNamespaceUrl));
: throw new InvalidOperationException(SR.Format(SR.SimulatorPropertyInvalid, nameof(Port)));
throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_CAPI_Required, nameof(CspParameters)));
throw new InvalidOperationException(SR.Format(SR.Arg_NotGenericMethodDefinition, this));
throw new ArgumentException(SR.Format(SR.Argument_CreateNavigator, XmlNodeType.DocumentType));
throw new ArgumentException(SR.Format(SR.EnumConverterInvalidValue, value, EnumType.Name));
throw new JsonReaderException(SR.Format(SR.DeserializeUnableToConvertValue, state.PropertyPath, propertyType.FullName), reader.CurrentState);
throw new ArgumentException(SR.Format(SR.Config_provider_must_implement_type, typeof(SettingsProvider)), nameof(provider));