Particle collision with a rigidbody in C#

I have a rigidbody that is not registering collision with particles, even though collision is turned on continuous and particles are bouncing off it. The script attached to the box I built partially from the API’s notes on collision:

void OnParticleCollision(GameObject other){
    Rigidbody box = other.rigidbody;
    if (box){

I suspect you are using legacy particle system code with a shuriken particle system.

Read Unity - Scripting API: MonoBehaviour.OnParticleCollision(GameObject) carefully.

Note that the Shuriken example does NOT look for a RigidBody.