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

Method AnyValueIsRefType

csharp/src/Fory/AnySerializer.cs:119–123  ·  view source on GitHub ↗
(object value, TypeResolver typeResolver)

Source from the content-addressed store, hash-verified

117 }
118
119 private static bool AnyValueIsRefType(object value, TypeResolver typeResolver)
120 {
121 TypeInfo typeInfo = typeResolver.GetTypeInfo(DynamicAnyCodec.ResolveRuntimeType(value));
122 return typeInfo.IsRefType;
123 }
124
125 private static void ReadAnyTypeInfo(ReadContext context)
126 {

Callers

nothing calls this directly

Calls 2

ResolveRuntimeTypeMethod · 0.80
GetTypeInfoMethod · 0.45

Tested by

no test coverage detected