2 writes to _ectx
Microsoft.ML.Data (2)
DataLoadSave\Binary\BinaryLoader.cs (2)
145_ectx = _parent._host; 180_ectx = _parent._host;
34 references to _ectx
Microsoft.ML.Data (34)
DataLoadSave\Binary\BinaryLoader.cs (34)
147_ectx.Assert(0 <= index && index < parent._header.ColumnCount); 148_ectx.AssertValue(name); 149_ectx.AssertValueOrNull(codec); 150_ectx.Assert(metadataTocOffset == 0 || Header.HeaderSize <= metadataTocOffset); 152_ectx.Assert(Header.HeaderSize <= lookupOffset); 166_ectx.Assert(!IsGenerated); 182_ectx.AssertValue(name); 183_ectx.AssertValue(type); 184_ectx.AssertValue(valueMapper); 194_ectx.Assert(IsGenerated); 205_ectx.Assert(IsGenerated); 206_ectx.AssertValue(_generatorDelegate); 207_ectx.AssertValue(Type); 209_ectx.AssertValue(del); 219_ectx.Assert(IsGenerated); 220_ectx.Assert(typeof(T) == Type.RawType); 230_ectx.Assert(!IsGenerated == (LookupOffset > 0)); 244throw _ectx.ExceptNotSupp("This version of the software does not support {0} blocks", numBlocks); 255_ectx.CheckDecode(0 <= compLen, "negative compressed block length detected"); 256_ectx.CheckDecode(0 <= decompLen, "negative decompressed block length detected"); 261_ectx.CheckDecode(Header.HeaderSize <= offset && offset <= _parent._header.TailOffset - compLen, "block offset out of range"); 271_ectx.AssertValue(_lookup); 273_ectx.Assert(_maxDecompLen >= 0); 274_ectx.Assert(_maxCompLen >= 0); 293_ectx.Assert(0 <= _maxCompLen); 294_ectx.Assert(0 <= _maxDecompLen); 319_ectx.AssertValue(ch); 388_ectx.Assert((MetadataTocOffset == 0) == (_metadataToc == null)); 389_ectx.Assert((MetadataTocOffset == 0) == (_deadMetadataToc == null)); 402_ectx.Assert((MetadataTocOffset == 0) == (_metadataToc == null)); 403_ectx.Assert((MetadataTocOffset == 0) == (_deadMetadataToc == null)); 412_ectx.AssertNonEmpty(kind); 416_ectx.Assert(MetadataTocOffset == 0); 433_ectx.Assert((_metadataTocEnd == 0) == (MetadataTocOffset == 0));