-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ILSpy incorrectly disassembles System.Buffers.Binary.BinaryPrimitives to empty branches #3166
Labels
Comments
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Input code
System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
(.NET 7 SDK 7.0.13)C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.13\System.Private.CoreLib.dll
System.Buffers.Binary.BinaryPrimitives
ReadInt32BigEndian
The instruction at
IL_0005: brtrue.s IL_0007
doesn't seem right to me... but I'm a bit rusty on my IL right now.ILSpy disassembles this to:
The actual C# source is:
Details
The text was updated successfully, but these errors were encountered: