Mono was complaining about not knowing the type of the trinary. The Microsoft compiler should optomize this cast away
Merge pull request #18 from zippy1981/master

Mono was complaining about not knowing the type of the trinary.