2 references to _InvalidEnumArgumentException
System.Data.Common (2)
System\Data\DataException.cs (2)
346
=>
_InvalidEnumArgumentException
(SR.Format(SR.ADP_InvalidEnumerationValue, typeof(T).Name, value.ToString()));
648
public static Exception InvalidSchemaSerializationMode(Type enumType, string mode) =>
_InvalidEnumArgumentException
(SR.Format(SR.ADP_InvalidEnumerationValue, enumType.Name, mode));