Nullables.Value should throw an exception when HasValue = false

Description

Nullables.Value should throw an exception when HasValue = fal

Environment

None

Activity

MikeM 
February 26, 2005 at 7:31 AM

Released NHibernateContrib 0.7

Donald Mull 
February 8, 2005 at 11:21 AM

Fixed. The nullables now throw an invalid operation exception when they are "null" and the Value property is accessed. This behavior is similar to how .NET 2.0's Nullable<T>s behave.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Who's Looking?

Open Who's Looking?
Created February 3, 2005 at 9:52 AM
Updated April 6, 2011 at 11:21 AM
Resolved February 8, 2005 at 11:21 AM
Who's Looking?