Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.

Conversation

@mike-barnett
Copy link
Contributor

Fix Writer.cs so that "this" can have its address taken just as other parameters already could have. A small repro that illustrates this is:

public class C { public void Foo(int x) { Bar(this, x); } public void Bar(in C c, in int y){} }

Both arguments are passed by reference.

@mike-barnett mike-barnett merged commit bd667e9 into master May 21, 2020
@mike-barnett mike-barnett deleted the issue67 branch May 21, 2020 15:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants