src/vs/workbench/services/search/common/textSearchManager.ts/TextSearchResultsCollector/pushToCollector
class TextSearchResultsCollector:	private pushToCollector(): void {
		const size = this._currentFileMatch && this._currentFileMatch.results ?
			this._currentFileMatch.results.length :
			0;
		this._batchedCollector.addItem(this._currentFileMatch!, size);
	}