6 references to BulkCopyTag
System.Data (6)
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (2)
2011connection.RegisterForConnectionCloseNotification<T>(ref outterTask, this, SqlReferenceCollection.BulkCopyTag); 2620_connection.AddWeakReference(this, SqlReferenceCollection.BulkCopyTag);
fx\src\data\System\Data\SqlClient\SqlReferenceCollection.cs (4)
24Debug.Assert(DataReaderTag == tag || CommandTag == tag || BulkCopyTag == tag, "unexpected tag?"); 27Debug.Assert(BulkCopyTag != tag || value is SqlBulkCopy, "tag doesn't match object type: SqlBulkCopy"); 54Debug.Assert(DataReaderTag == tag || CommandTag == tag || BulkCopyTag == tag, "unexpected tag?"); 67else if (tag == BulkCopyTag) {