6 references to GetArgumentException
System.Text.Json (6)
System\Text\Json\ThrowHelper.cs (6)
95throw GetArgumentException(message); 106throw GetArgumentException(SR.DestinationTooShort); 112throw GetArgumentException(SR.Format(SR.PropertyNameTooLarge, tokenLength)); 118throw GetArgumentException(SR.Format(SR.ValueTooLarge, tokenLength)); 124throw GetArgumentException(SR.SpecialNumberValuesNotSupported); 136throw GetArgumentException(SR.Format(SR.PropertyNameTooLarge, length));