Repository navigation
Add "this." prefix to all field accesses - #309
Conversation
|
Seeing the code, we'll know whether it's a parameter from the method or a field and a property within the class/struct. Do we have to add these? It is visually distracting. IMO, it's best to remove all So, I think it is safe to remove all |
|
Fields should just be named
Adding |
Guess it makes sense! Still, I personally hate it. I just use different names for parameters, locals and fields. |
|
Theres this directly from the runtime team. |
|
That is not the official guidance for all C# developers, just the style convention the runtime uses 🙂 |
This PR adds the missing
this.prefix to all leftover field accesses.