(
TypeMeta remoteTypeMeta,
TypeInfo typeInfo,
TypeId wireTypeId,
bool assignFieldIds,
ReadContext context)
| 907 | } |
| 908 | |
| 909 | [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)] |
| 910 | private void ValidateRemoteTypeMeta( |
| 911 | TypeMeta remoteTypeMeta, |
| 912 | TypeInfo typeInfo, |
| 913 | TypeId wireTypeId, |
| 914 | bool assignFieldIds, |
| 915 | ReadContext context) |
| 916 | { |
| 917 | ValidateTypeMeta( |
| 918 | remoteTypeMeta, |
| 919 | typeInfo, |
| 920 | typeInfo.UserTypeKind!.Value, |
| 921 | typeInfo.RegisterByName, |
| 922 | context.Compatible, |
| 923 | wireTypeId); |
| 924 | if (assignFieldIds) |
| 925 | { |
| 926 | remoteTypeMeta.EnsureAssignedFieldIds(TypeMetaFields(typeInfo, context.TrackRef)); |
| 927 | } |
| 928 | |
| 929 | SetValidatedTypeMeta(typeInfo, remoteTypeMeta); |
| 930 | } |
| 931 | |
| 932 | internal static TypeId ResolveWireTypeId( |
| 933 | UserTypeKind declaredKind, |
nothing calls this directly
no test coverage detected