11 references to Add
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
ObjectFormatterTests.cs (1)
725
obj.
Add
(2, new CancellationToken());
Microsoft.ML.Data (9)
DataLoadSave\Binary\BinaryLoader.cs (6)
1587
_toDecompress.
Add
(block, ExMarshaller.Token);
1593
_toDecompress.
Add
(sentBlock, ExMarshaller.Token);
1624
_toRead.
Add
(block, ExMarshaller.Token);
1821
_toDecompress.
Add
(block, ExMarshaller.Token);
1827
_toDecompress.
Add
(sentBlock, ExMarshaller.Token);
1902
_toRead.
Add
(new ReaderContainer(reader, decomp, block.Rows, block.BlockSequence), ExMarshaller.Token);
DataLoadSave\Binary\BinarySaver.cs (3)
238
toWrite.
Add
(new Block(compressed, block.ColumnIndex, block.BlockIndex, uncompLength), exMarshaller.Token);
608
toCompress.
Add
(new Block(pipes[c].EndBlock(), c, blockIndex), exMarshaller.Token);
620
toCompress.
Add
(new Block(pipes[c].EndBlock(), c, blockIndex), exMarshaller.Token);
System.Collections.Concurrent (1)
System\Collections\Concurrent\BlockingCollection.cs (1)
278
/// a call to <see cref="
Add
(T,System.Threading.CancellationToken)"/> may block until space is available to store the provided item.