enum System.IO.FileAccess flags:

   def enum
      Read = 1
      Write = 2
      ReadWrite = 3.

end enum.
