Rinse the rice and place it in a saucepan with stock and salt.
Bring to a boil, cover, reduce heat, and simmer for 45 minutes.
Melt butter in a skillet. Cook onion and celery for 6 minutes.
Add mushrooms and cook for 6 minutes more.
Drain excess rice liquid, then fold rice into the vegetables.
Stir in cranberries, pecans, parsley and pepper before serving.