2 writes to _startCount
System.Data (2)
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (2)
480
int result = Interlocked.Increment(ref
_startCount
); // Add to refCount.
782
int result = Interlocked.Decrement(ref
_startCount
);
3 references to _startCount
System.Data (3)
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (3)
781
Debug.Assert(
_startCount
> 0, "About to decrement _startCount less than 0!");
839
Bid.NotificationsTrace("<sc.SqlConnectionContainer.Stop|DEP> _startCount not 0 after decrement. _startCount: '%d'.\n",
_startCount
);
842
Debug.Assert(0 <=
_startCount
, "Invalid start count state");