8 writes to _innerConnection
System.Data (8)
fx\src\Data\System\Data\ProviderBase\DbConnectionHelper.cs (8)
37
_innerConnection
= DbConnectionClosedNeverOpened.SingletonInstance;
51
_innerConnection
= DbConnectionClosedNeverOpened.SingletonInstance;
55
_innerConnection
= DbConnectionClosedPreviouslyOpened.SingletonInstance;
110
_innerConnection
= DbConnectionClosedNeverOpened.SingletonInstance;
157
Interlocked.CompareExchange(ref
_innerConnection
, DbConnectionClosedPreviouslyOpened.SingletonInstance, innerConnection);
337
_innerConnection
= to;
365
bool result = (from == Interlocked.CompareExchange<DbConnectionInternal>(ref
_innerConnection
, to, from));
375
_innerConnection
= to;
8 references to _innerConnection
System.Data (8)
fx\src\Data\System\Data\ProviderBase\DbConnectionHelper.cs (8)
49
if (DbConnectionClosedNeverOpened.SingletonInstance == connection.
_innerConnection
)
130
return
_innerConnection
;
155
DbConnectionInternal innerConnection =
_innerConnection
; // Should not cause memory allocation...
304
Debug.Assert(DbConnectionClosedConnecting.SingletonInstance ==
_innerConnection
, "not connecting");
326
Debug.Assert(null !=
_innerConnection
, "null InnerConnection");
329
ConnectionState originalState =
_innerConnection
.State & ConnectionState.Open;
361
Debug.Assert(null !=
_innerConnection
, "null InnerConnection");
373
Debug.Assert(null !=
_innerConnection
, "null InnerConnection");