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