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

Method GetRegisteredTypeInfo

csharp/src/Fory/TypeResolver.cs:513–521  ·  view source on GitHub ↗
(Type type)

Source from the content-addressed store, hash-verified

511 }
512
513 internal TypeInfo? GetRegisteredTypeInfo(Type type)
514 {
515 if (_typeInfos.TryGetValue(TypeMapKey.Get(type), out TypeInfo? typeInfo) && typeInfo.IsRegistered)
516 {
517 return typeInfo;
518 }
519
520 return null;
521 }
522
523 internal TypeInfo RequireRegisteredTypeInfo(Type type)
524 {

Callers

nothing calls this directly

Calls 2

TryGetValueMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected