Missing Enum.GetValues in Silverlight? Here is a partial work around.
Missing Enum.GetValues() when doing Silverlight for instance ? - Blog'A'Little
If you name your class something like myclass.shared.cs and remember to put the partial keyword infront of the class you can declare this class in your web project and it will be shared with your silverlight project (if using the business or similar tempate, which breaks things up in a silverlight and a web project. Remember to include the folling namespaces at the top of the class.