Heat oven to 400F. Grease a 9 inch square or round baking pan. For filling, combine first 3 ingredients in medium saucepan stir in cranberries. Heat to a boil reduce. Simmer 5 minutes, or until cranberries pop open, stir in pears. Pour into pan. For topping, combine flour and sugar cut in margarine until! crumbly. Stir in oats mix well. Add egg, mix until moistened. Crumble over fruit. Bake 30 to 35 minutes or until top is golden brown.