9 references to HasMessages
System.Data (9)
fx\src\data\Microsoft\SqlServer\Server\SmiEventSink_Default.cs (2)
36
return parent.
HasMessages
;
152
if (
HasMessages
) {
fx\src\data\Microsoft\SqlServer\Server\sqlpipe.cs (6)
113
Debug.Assert(_eventSink.
HasMessages
== false, "There should be no messages left in _eventsink at the end of the Send message!");
163
Debug.Assert(_eventSink.
HasMessages
== false, "There should be no messages left in _eventsink at the end of the Send reader!");
213
Debug.Assert(_eventSink.
HasMessages
== false, "There should be no messages left in _eventsink at the end of the Send record!");
245
Debug.Assert(_eventSink.
HasMessages
== false, "There should be no messages left in _eventsink at the end of the SendResultsStart!");
290
Debug.Assert(_eventSink.
HasMessages
== false, "There should be no messages left in _eventsink at the end of the SendResultsRow!");
315
Debug.Assert(_eventSink.
HasMessages
== false, "There should be no messages left in _eventsink at the end of the SendResultsEnd!");
fx\src\data\System\Data\SqlClient\SqlInternalConnectionSmi.cs (1)
370
Debug.Assert(_smiEventSink.
HasMessages
|| null != _currentTransaction, "begin transaction without TransactionStarted event?");