4 writes to _warnings
System.Data (4)
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (4)
3313
_warnings
= new SqlErrorCollection();
3380
_warnings
= null;
3414
_warnings
= null;
3428
_warnings
= _preAttentionWarnings;
9 references to _warnings
System.Data (9)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (2)
5041
_sqlRPCParameterEncryptionReqArray[_currentlyExecutingDescribeParameterEncryptionRPC].warnings = stateObj.
_warnings
;
5079
_SqlRPCBatchArray[_currentlyExecutingBatch].warnings = _stateObj.
_warnings
;
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (7)
3312
if (
_warnings
== null) {
3315
_warnings
.Add(error);
3326
if (
_warnings
!= null) {
3327
count =
_warnings
.Count;
3378
AddErrorsToCollection(
_warnings
, ref allErrors, ref broken);
3411
_preAttentionWarnings =
_warnings
;
3423
Debug.Assert(_errors == null &&
_warnings
== null, "Can't restore errors after attention because there are already other errors");