Reproduction steps:
1. Open the attached project “IN-8232.zip”
2. Enter Play Mode and exit Play Mode
3. Observe the Console Window
4. Disable Edit > Project Settings > Player > Other Settings > “Enable Roslyn Analyzers”
5. Open “Assets/NewBehaviourScript.cs”
6. Add an empty line to the script and save it
7. Enter Play Mode
8. Observe the Console Window
Expected result: Script is working whether Roslyn Analyzer is enabled or disabled
Actual result: Script is not working
Reproducible with: 2022.2.0a3, 2022.2.0b6, 2023.1.0a9
Not reproducible with: 2020.3.38f1, 2021.3.8f1, 2022.1.14f1, 2022.2.0a2
Reproducible on: Windows 10 Pro 21H2