-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_CodeExceptions_UnexpectedValue__1
Andrew Koryavchenko edited this page Jun 17, 2018
·
7 revisions
Creates InvalidOperationException. Used to be thrown from the default: switch clause
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static InvalidOperationException UnexpectedValue<T>(
T value
)
VB
Public Shared Function UnexpectedValue(Of T) (
value As T
) As InvalidOperationException
F#
static member UnexpectedValue :
value : 'T -> InvalidOperationException
- value
- Type: T
The value.
- T
- The type of the value. Auto-inferred.
Type: InvalidOperationException
Initialized instance of InvalidOperationException.
CodeExceptions Class
UnexpectedValue Overload
CodeJam Namespace