2 ms·
Technically you can disable implicit this: just raise the level of corresponding diagnostic to Error.
by lostmsu 6y ago
Technically you can disable implicit this: just raise the level of corresponding diagnostic to Error.
- MaxBarraclough 6y agoWhat diagnostic? It's not generally considered a mistake to access a member without making explicit use of this. There doesn't seem to be an easy way to detect it using external tooling, either: https://stackoverflow.com/q/957766/ https://stackoverflow.com/q/957766/
- lostmsu 6y agoIDE0009: https://imgur.com/VowVqPI https://imgur.com/VowVqPI
- MaxBarraclough 6y agoThanks, you're right, I was going by some very old StackOverflow answers. I've posted a new answer there on how to configure the check in VS2019.