Method FromUnexpectedNull
FromUnexpectedNull<T>(Expression<Func<T>>)
Creates a new RuntimeInconsistencyException instance for an unexpected
null
value.
Declaration
public static RuntimeInconsistencyException FromUnexpectedNull<T>(Expression<Func<T>> expression)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression<System.Func<T>> | expression | The expression that yielded null . |
Returns
Type | Description |
---|---|
RuntimeInconsistencyException | A new initialised RuntimeInconsistencyException instance. |
Type Parameters
Name | Description |
---|---|
T |