Add missing null check to Partition.cs.
Add missing null check to Partition.cs.

ddpruitt/morelinq,smzinovyev/MoreLINQ,ddpruitt/morelinq,fsateler/MoreLINQ,morelinq/MoreLINQ,fsateler/MoreLINQ,morelinq/MoreLINQ