Skip to content
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

HLQ004 in yield enumeration #61

Open
Djoums opened this issue Sep 11, 2021 · 0 comments
Open

HLQ004 in yield enumeration #61

Djoums opened this issue Sep 11, 2021 · 0 comments

Comments

@Djoums
Copy link

Djoums commented Sep 11, 2021

HLQ004 points out that a value passed by ref or ref readonly should be fetched as such, but this should not apply to methods with yield return as it is not possible to use ref variables in this case.
For reference, Children is a protected field in the class parent, in case it has an impact.

Sans titre2

Sans titre

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant