How to reproduce:
1. Open attached project "IN-122656"
2. Open script "TestComponents.cs"
3. Remove comment on line 6
4. Save the script
5. Focus on the Editor and observe
Expected result: Editor does not freeze
Actual result: Editor freezes
Reproducible with: 6000.0.62f1, 6000.2.11f1, 6000.3.0b9, 6000.4.0a4
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note: Entities package regression exists on version 1.4.0-pre.4 and the issue does not reproduce on version 1.4.0-pre.3