Question

I'm using StyleCop to ensure that I only access fields with the this. prefix. This works like a charm but I'm wondering if there is an option for intellisense to hide suggestions for fields when I'm not explicitly prefixing the current expression with this. like it does for TypeScript class fields.

Thanks!

Était-ce utile?

La solution

I'm closing this now, there seems to be no switch for IntelliSense to achieve this.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top