(ReadContext context, Type caseType)
| 192 | } |
| 193 | |
| 194 | private static object? ReadTypedCaseValue(ReadContext context, Type caseType) |
| 195 | { |
| 196 | TypeInfo typeInfo = context.TypeResolver.GetTypeInfo(caseType); |
| 197 | object? value = context.TypeResolver.ReadObject(typeInfo, context, RefMode.Tracking, readTypeInfo: true); |
| 198 | return NormalizeCaseValue(value, caseType); |
| 199 | } |
| 200 | |
| 201 | private static object? NormalizeCaseValue(object? value, Type targetType) |
| 202 | { |
nothing calls this directly
no test coverage detected