blokyk
blokyk
CC#
Created by blokyk on 8/27/2023 in #help
✅ Disable IDE0046 (use conditional return) when throw is involved
Or for that matter, is there a way to limit the "depth" of the it? Cause it often suggest folding multiple conditions one after another, ending up with a chain of 2 or 3 nested conditional expression that becomes unreadable :/
5 replies
CC#
Created by blokyk on 8/10/2023 in #help
✅ Override (abstract) getter-only property with a setter
thank you for the help :)
13 replies
CC#
Created by blokyk on 8/10/2023 in #help
✅ Override (abstract) getter-only property with a setter
yepyep probably what i'm gonna do
13 replies
CC#
Created by blokyk on 8/10/2023 in #help
✅ Override (abstract) getter-only property with a setter
yeah it's not perfect, but it's less clunky than a method, and they're internal classes so eh 🤷‍♀️
13 replies
CC#
Created by blokyk on 8/10/2023 in #help
✅ Override (abstract) getter-only property with a setter
🤔 didn't think about that, why not
13 replies
CC#
Created by blokyk on 8/10/2023 in #help
✅ Override (abstract) getter-only property with a setter
And also, consumers for Derived might be confused as to why there's both a Count prop and a GetCount() method
13 replies
CC#
Created by blokyk on 8/10/2023 in #help
✅ Override (abstract) getter-only property with a setter
As in GetCount() and then declarating a Count prop for Derived? I mean that's what i'm doing in the meantime, but it's pretty clunky
13 replies
CC#
Created by blokyk on 2/3/2023 in #help
❔ Using net7 documentation while targeting netstandard2.0
And i also get the nullability stuff for free!
14 replies
CC#
Created by blokyk on 2/3/2023 in #help
❔ Using net7 documentation while targeting netstandard2.0
thanks for the help!
14 replies
CC#
Created by blokyk on 2/3/2023 in #help
❔ Using net7 documentation while targeting netstandard2.0
I tried it already, but it didn't work; turns out i just needed to reload omnisharp
14 replies
CC#
Created by blokyk on 2/3/2023 in #help
❔ Using net7 documentation while targeting netstandard2.0
oh god i'm so dumb ;-;
14 replies
CC#
Created by blokyk on 2/3/2023 in #help
❔ Using net7 documentation while targeting netstandard2.0
Yes, I know it won't be perfect; it's mostly because some netstandard2.0 APIs seem to be missing docs, while their net7 version has it
14 replies