Banana Poop
Banana Poop
CC#
Created by Banana Poop on 3/6/2024 in #help
✅ Using `Func<ReadOnlySpan<char>,bool>` but not allowed due to Pointer Type
Thanks @canton7 this solves everything, and delegate is mucher nicer here (even if it wasn't required, which it is). I may start using my own delegates elsewhere, since it's good for when something isn't just a throw-away type for a random odd job (like value tuples vs record) I guess
16 replies
CC#
Created by Banana Poop on 3/6/2024 in #help
✅ Using `Func<ReadOnlySpan<char>,bool>` but not allowed due to Pointer Type
Yes this works completly, I thought for some reason whatever lambda used to define this, would also complain, but it works perfectly. I have never needed to use delegates before (except when interfacing with older style code) so it's interesting to me that they still have uses and aren't fully superceded by Func and Action
16 replies
CC#
Created by Banana Poop on 3/6/2024 in #help
✅ Using `Func<ReadOnlySpan<char>,bool>` but not allowed due to Pointer Type
Hmm looks like it works
16 replies