20 references to Null
System.Data.Common (20)
System\Data\SQLTypes\SQLBytes.cs (10)
72
_state = SqlBytesCharsState.
Null
;
95
_state = (s == null) ? SqlBytesCharsState.
Null
: SqlBytesCharsState.Stream;
110
return _state == SqlBytesCharsState.
Null
;
135
SqlBytesCharsState.
Null
=> throw new SqlNullValueException(),
167
case SqlBytesCharsState.
Null
:
214
SqlBytesCharsState.
Null
=> throw new SqlNullValueException(),
232
_state = (value == null) ? SqlBytesCharsState.
Null
: SqlBytesCharsState.Stream;
245
_state = SqlBytesCharsState.
Null
;
460
Debug.Assert(_state >= SqlBytesCharsState.
Null
&& _state <= SqlBytesCharsState.Stream);
510
_state = (_rgbBuf == null) ? SqlBytesCharsState.
Null
: SqlBytesCharsState.Buffer;
System\Data\SQLTypes\SQLChars.cs (10)
66
_state = SqlBytesCharsState.
Null
;
91
_state = (s == null) ? SqlBytesCharsState.
Null
: SqlBytesCharsState.Stream;
107
return _state == SqlBytesCharsState.
Null
;
133
SqlBytesCharsState.
Null
=> throw new SqlNullValueException(),
167
case SqlBytesCharsState.
Null
:
222
_state = (value == null) ? SqlBytesCharsState.
Null
: SqlBytesCharsState.Stream;
234
SqlBytesCharsState.
Null
=> throw new SqlNullValueException(),
250
_state = SqlBytesCharsState.
Null
;
425
Debug.Assert(_state >= SqlBytesCharsState.
Null
&& _state <= SqlBytesCharsState.Stream);
475
_state = (_rgchBuf == null) ? SqlBytesCharsState.
Null
: SqlBytesCharsState.Buffer;