C
C#2y ago
swagrid

✅ `checked` on file level

Is there a way to enable checked arithmetic for a whole file?
5 Replies
Thinker
Thinker2y ago
No but you can enable it per project afaik
swagrid
swagridOP2y ago
Unfortunate. I know about the project setting, but I was hoping to easily enable it for a single file using #pragma or something.
jcotton42
jcotton422y ago
@swagrid worth noting that there's a block form of checked So you can at least do it per method
swagrid
swagridOP2y ago
I'm aware of that, thank you. It's only one or two occasions per method but it's in every method so it's a bit annoying having to put all the checked blocks around it
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server