Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchLeaders committed May 6, 2024
1 parent 181d7a9 commit 8c2e2f8
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,18 +120,6 @@ internal unsafe void EmitYaml(ref Utf8YamlEmitter emitter, in ImmutableByml root
emitter.EndMapping();
}

[MethodImpl(MethodImplOptions.AggressiveInlining)]
private bool HasContainerNodes()
{
foreach (var (_, _, node) in this) {
if (node.Type.IsContainerType()) {
return true;
}
}

return false;
}

[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void Reverse(ref RevrsReader reader, int offset, int count, in HashSet<int> reversedOffsets)
{
Expand Down

0 comments on commit 8c2e2f8

Please sign in to comment.