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

Method NeedToWriteTypeInfoForField

csharp/src/Fory/TypeResolver.cs:179–183  ·  view source on GitHub ↗
(TypeInfo typeInfo)

Source from the content-addressed store, hash-verified

177 }
178
179 internal static bool NeedToWriteTypeInfoForField(TypeInfo typeInfo)
180 {
181 return typeInfo.IsDynamicType ||
182 typeInfo.UserTypeKind is UserTypeKind.Struct or UserTypeKind.Ext;
183 }
184
185 internal static bool NeedToWriteTypeInfoForField(TypeId typeId)
186 {

Callers 7

HasInlineTypeInfoMethod · 0.80
CanDeclareElementTypeMethod · 0.80
WriteMapMethod · 0.80
WriteListHeaderMethod · 0.80
WriteDataMethod · 0.80
WriteDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected