ZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 2 days agoAll Borrow Checkers Are Bastards (ABCAB - 12312)lemmy.worldimagemessage-square20linkfedilinkarrow-up1165arrow-down17
arrow-up1158arrow-down1imageAll Borrow Checkers Are Bastards (ABCAB - 12312)lemmy.worldZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square20linkfedilink
minus-squareFooBarrington@lemmy.worldlinkfedilinkarrow-up2·1 day agohttps://www.jetbrains.com/help/resharper/Reference__Code_Annotation_Attributes.html#MustDisposeResourceAttribute This one, I’m guessing? At least that’s the one I know.
minus-squareZarobi@aussie.zonelinkfedilinkEnglisharrow-up0·24 hours agoIt was an editorconfig file thing, but navigating the docs on mobile phone is horrendous so I can’t easily find it https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/code-style-rule-options There’s much more than is listed on that page
minus-squareFooBarrington@lemmy.worldlinkfedilinkarrow-up2·23 hours agoThe editorconfig rules you’re referencing can turn code analyzer warnings into errors, but you still need a code analyzer to actually trigger the error.
minus-squareZarobi@aussie.zonelinkfedilinkEnglisharrow-up0·22 hours agoYeah I remember that project used Visual Studio on Windows. I’m not sure if it works outside of that environment
https://www.jetbrains.com/help/resharper/Reference__Code_Annotation_Attributes.html#MustDisposeResourceAttribute
This one, I’m guessing? At least that’s the one I know.
It was an editorconfig file thing, but navigating the docs on mobile phone is horrendous so I can’t easily find it
https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/code-style-rule-options
There’s much more than is listed on that page
The editorconfig rules you’re referencing can turn code analyzer warnings into errors, but you still need a code analyzer to actually trigger the error.
Yeah I remember that project used Visual Studio on Windows. I’m not sure if it works outside of that environment