-
Notifications
You must be signed in to change notification settings - Fork 450
fix: RPC ILPP generating invalid IL code when using this
instead of this ref
for the FastBufferReader/FastBufferWriter parameter of an extension method.
#1393
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
Merged
andrews-unity
merged 8 commits into
develop
from
fix/invalid_il_code_with_extension_methods
Nov 10, 2021
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… `this ref` for the FastBufferReader/FastBufferWriter parameter of an extension method. Also updated the test so both `this` and `this ref` are exercised - the documentation says to use `this`, but `this ref` was what worked... so for backward compatibility both have to be supported.
andrews-unity
approved these changes
Nov 4, 2021
|
andrews-unity
pushed a commit
that referenced
this pull request
Nov 24, 2021
… `this ref` for the FastBufferReader/FastBufferWriter parameter of an extension method. (#1393) * fix: RPC ILPP generating invalid IL code when using `this` instead of `this ref` for the FastBufferReader/FastBufferWriter parameter of an extension method. Also updated the test so both `this` and `this ref` are exercised - the documentation says to use `this`, but `this ref` was what worked... so for backward compatibility both have to be supported. * Changelog * standards fix
andrews-unity
added a commit
that referenced
this pull request
Nov 24, 2021
… `this ref` for the FastBufferReader/FastBufferWriter parameter of an extension method. (#1393) (#1459) * fix: RPC ILPP generating invalid IL code when using `this` instead of `this ref` for the FastBufferReader/FastBufferWriter parameter of an extension method. Also updated the test so both `this` and `this ref` are exercised - the documentation says to use `this`, but `this ref` was what worked... so for backward compatibility both have to be supported. * Changelog * standards fix Co-authored-by: Jaedyn Draper <284434+ShadauxCat@users.noreply.github.com> Co-authored-by: Unity Netcode CI <74025435+netcode-ci-service@users.noreply.github.com>
mollstam
pushed a commit
to Keepsake-Games/com.unity.netcode.gameobjects
that referenced
this pull request
Feb 13, 2023
… `this ref` for the FastBufferReader/FastBufferWriter parameter of an extension method. (Unity-Technologies#1393) * fix: RPC ILPP generating invalid IL code when using `this` instead of `this ref` for the FastBufferReader/FastBufferWriter parameter of an extension method. Also updated the test so both `this` and `this ref` are exercised - the documentation says to use `this`, but `this ref` was what worked... so for backward compatibility both have to be supported. * Changelog * standards fix
mollstam
pushed a commit
to Keepsake-Games/com.unity.netcode.gameobjects
that referenced
this pull request
Feb 13, 2023
… `this ref` for the FastBufferReader/FastBufferWriter parameter of an extension method. (Unity-Technologies#1393) (Unity-Technologies#1459) * fix: RPC ILPP generating invalid IL code when using `this` instead of `this ref` for the FastBufferReader/FastBufferWriter parameter of an extension method. Also updated the test so both `this` and `this ref` are exercised - the documentation says to use `this`, but `this ref` was what worked... so for backward compatibility both have to be supported. * Changelog * standards fix Co-authored-by: Jaedyn Draper <284434+ShadauxCat@users.noreply.github.com> Co-authored-by: Unity Netcode CI <74025435+netcode-ci-service@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Also updated the test so both
this
andthis ref
are exercised - the documentation says to usethis
, butthis ref
was what worked... so for backward compatibility both have to be supported.MTT-1566
fixes #1355
Changelog
com.unity.netcode.gameobjects
this
instead ofthis ref
for the FastBufferReader/FastBufferWriter parameter of an extension method.Testing and Documentation