net\System\Net\SocketPermission.cs (4)
94throw new ArgumentException(SR.GetString(SR.net_perm_attrib_multi, strPort, value), "value");
118throw new ArgumentException(SR.GetString(SR.net_perm_attrib_count, strPort));
162throw new ArgumentException(SR.GetString(SR.net_perm_invalid_val, strPort, m_port), e);
166throw new ArgumentOutOfRangeException("port", port, SR.GetString(SR.net_perm_invalid_val, strPort, m_port));