private static void ThrowInvalidBeginCall() { throw new InvalidOperationException(SR.InvalidBeginCall); } }