Replies: 1 comment 1 reply
-
I think that's just resharper applying auto code logic. Feel free to undo
if preferred.
This message has been brought to you by my Huawei P30 Pro and myself. Any
typos blame the phone.
…On Sun, 8 Jan 2023, 12:31 Alexander Behring, ***@***.***> wrote:
Hi @nemethviktor <https://github.com/nemethviktor>,
while rebasing, I have to deal with a concurrent modification:
In the first manage favorites PR, you changed the DirectoryElements
Property:
[image: grafik]
<https://user-images.githubusercontent.com/1786902/211195983-b30854ac-24de-4556-ae23-cdded8e751cc.png>
Final line thus is:
public DirectoryElementCollection DirectoryElements { get; } = new();
I have a couple of questions regarding this:
Was there trouble with the previous one, where the private variable was
visible to the private code (set-ability?)?
And: I don't understand what the "= new();" does, and actually have
trouble googleing that. Could you give me a hint, please?
Thanks!!
—
Reply to this email directly, view it on GitHub
<#50>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOALPA47CNKKWXDHWZTQV7DWRKXRBANCNFSM6AAAAAATUROKL4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @nemethviktor,
while rebasing, I have to deal with a concurrent modification:
In the first manage favorites PR, you changed the DirectoryElements Property:
Final line thus is:
I have a couple of questions regarding this:
Was there trouble with the previous one, where the private variable was visible to the private code (set-ability?)?
And: I don't understand what the "= new();" does, and actually have trouble googleing that. Could you give me a hint, please?
Thanks!!
Beta Was this translation helpful? Give feedback.
All reactions