7
votes
1answer
593 views

Enforcement of returning non-null

We are implementing some web services, and need to ensure that some of our methods always return non-null values. We've investigated two ways of doing this: Using code contracts, and returning the ...