We weren't handling a few cases that can occur during typing correctly. Our passes that look at the content of attributes need to be prepared for it to be empty in cases where the attribute has been partially typed in the editor. I added a smoke test for this that attempts to simulate typing and found another issue to fix. The end result of this is that the design for this kind of code is simpler and takes a more 'brute-force' approach to understanding attributes. I think this is a good change based on the problems with how this code has been written today, there are too many possible cases to try and have the code express and document them all. |
||
|---|---|---|
| .. | ||
| Microsoft.AspNetCore.Blazor.Analyzers.Test | ||
| Microsoft.AspNetCore.Blazor.Browser.Test | ||
| Microsoft.AspNetCore.Blazor.Build.Test | ||
| Microsoft.AspNetCore.Blazor.E2ETest | ||
| Microsoft.AspNetCore.Blazor.Razor.Extensions.Test | ||
| Microsoft.AspNetCore.Blazor.Test | ||
| shared | ||
| testapps | ||