(Fabrice) : alternative repro, use DOTSlab here
[Internal link]
How to reproduce:
1. Open the “1709269_Entities_test” project
2. Open the “Assets/WireframeBlob/TestSystem.cs” script
3. Comment out line 14 and uncomment line 16
4. Save the script
5. Observe the Console
Expected result: No error is thrown
Actual result: “The name '__this' does not exist in the current context” error is thrown
Reproduced on: 1.0.16, 1.2.0-exp.3 (2022.3.14f1)
Reproduced with: Windows 10 (by reporter), Windows 11
Not reproduced with: No other environment tested