8 references to CommandTag
System.Data (8)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (3)
3097_activeConnection.AddWeakReference(this, SqlReferenceCollection.CommandTag); 4409_activeConnection.AddWeakReference(this, SqlReferenceCollection.CommandTag); 4797connection.RegisterForConnectionCloseNotification<T>(ref outterTask, this, SqlReferenceCollection.CommandTag);
fx\src\data\System\Data\SqlClient\SqlReferenceCollection.cs (5)
24Debug.Assert(DataReaderTag == tag || CommandTag == tag || BulkCopyTag == tag, "unexpected tag?"); 26Debug.Assert(CommandTag != tag || value is SqlCommand, "tag doesn't match object type: SqlCommand"); 49return FindItem<SqlCommand>(CommandTag, (command) => (command.StateObject == stateObj)); 54Debug.Assert(DataReaderTag == tag || CommandTag == tag || BulkCopyTag == tag, "unexpected tag?"); 63else if (tag == CommandTag) {