(TypeMeta typeMeta, int start, int end)
| 279 | } |
| 280 | |
| 281 | [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)] |
| 282 | internal bool MatchesExactLocalTypeMeta(TypeMeta typeMeta, int start, int end) |
| 283 | { |
| 284 | if (!TypeResolver.TryGetLocalTypeInfo(typeMeta, out TypeInfo exactLocal)) |
| 285 | { |
| 286 | return false; |
| 287 | } |
| 288 | |
| 289 | TypeInfo.TypeMetaCacheEntry local = exactLocal.GetTypeMetaCacheEntry(TrackRef); |
| 290 | byte[] encoded = local.EncodedBytes; |
| 291 | if (end - start != encoded.Length || |
| 292 | !Reader.Storage.AsSpan(start, encoded.Length).SequenceEqual(encoded)) |
| 293 | { |
| 294 | return false; |
| 295 | } |
| 296 | |
| 297 | return true; |
| 298 | } |
| 299 | |
| 300 | [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)] |
| 301 | internal TypeMeta DecodeTypeMeta() |
no test coverage detected