We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
OnLinking
1 parent dc1f5a0 commit b0d2baaCopy full SHA for b0d2baa
src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/BlobBuilder.cs
@@ -602,6 +602,8 @@ public void LinkSuffix(BlobBuilder suffix)
602
return;
603
}
604
605
+ OnLinking(this, suffix);
606
+
607
bool isEmpty = Count == 0;
608
609
// swap buffers of the heads:
@@ -614,8 +616,6 @@ public void LinkSuffix(BlobBuilder suffix)
614
616
_buffer = suffixBuffer;
615
617
_length = suffixLength;
618
- OnLinking(this, suffix);
-
619
PreviousLength += suffix.Length + suffixPreviousLength;
620
621
// Update the _previousLength of the suffix so that suffix.Count = suffix._previousLength + suffix.Length doesn't change.
0 commit comments