MCPcopy Create free account
hub / github.com/apache/fory / Reset

Method Reset

csharp/src/Fory/ReadContext.cs:448–463  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

446 }
447
448 internal void Reset()
449 {
450 RefReader.Reset();
451 _typeMetaType = null;
452 _typeMeta = null;
453 _typeMetaByType?.ClearKeys();
454 _readTypeInfoByType.ClearKeys();
455 _reservedRefIds.Clear();
456 _cachedTypeMetaType = null;
457 _cachedTypeMeta = null;
458 _currentDynamicReadDepth = 0;
459 _firstTypeMetaRef = null;
460 _hasFirstTypeMetaRef = false;
461 _typeMetaRefs.Clear();
462 _readMetaStrings.Clear();
463 }
464}

Callers

nothing calls this directly

Calls 2

ClearKeysMethod · 0.80
ClearMethod · 0.45

Tested by

no test coverage detected