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

Method ReadRegisteredValue

csharp/src/Fory/TypeResolver.cs:985–997  ·  view source on GitHub ↗
(
        TypeInfo typeInfo,
        ReadContext context,
        TypeMeta? typeMeta)

Source from the content-addressed store, hash-verified

983 }
984
985 private object? ReadRegisteredValue(
986 TypeInfo typeInfo,
987 ReadContext context,
988 TypeMeta? typeMeta)
989 {
990 if (typeMeta is not null)
991 {
992 typeMeta.EnsureAssignedFieldIds(TypeMetaFields(typeInfo, context.TrackRef));
993 context.StoreTypeMeta(typeInfo.Type, typeMeta);
994 }
995
996 return ReadObject(typeInfo, context, RefMode.None, false);
997 }
998
999 internal TypeInfo ReadAnyTypeInfo(ReadContext context)
1000 {

Callers

nothing calls this directly

Calls 2

StoreTypeMetaMethod · 0.80

Tested by

no test coverage detected