static void CheckHttpDataSize(IHttpData data) { try { data.CheckSize(data.Length); } catch (IOException) { ThrowHelper.ThrowArgumentException_AttrBigger(); } }
static void CheckHttpDataSize(IHttpData data) { try { data.CheckSize(data.Length); } catch (IOException) { throw new ArgumentException("Attribute bigger than maxSize allowed"); } }