Instead of Int32's in the first code section, you should probably try using uint's.

Then you should be able to OR them.