Commit 2654bc4
authored
TagHelperCollection Part 2: Mechanical Updates (#12505)
| [Prelude](#12503) | [Part
1](#12504) | Part 2 | [Part
3](#12506) | [Part
4](#12507) | [Part
5](#12509) |
> [!WARNING]
> This pull request contains breaking changes for the RazorSdk. Once
this is merged and flows to the VMR,
dotnet/dotnet@9a7e708
will need to be cherry-picked to resolve build breaks in
`src/sdk/src/RazorSdk`.
These commits represent the (mostly) mechanical changes needed to
integrate `TagHelperCollection` across the Razor code base. Most
references to `ImmutableArrary<TagHelperDescriptor>`,
`IReadOnlyList<TagHelperDescriptor>`,
`IEnumerable<TagHelperDescriptor>`, and `TagHelperDescriptor[]` have
been replaced with `TagHelperCollection`. This is **by far** the largest
of the `TagHelperCollection` pull requests.
While most of the commits contain mechanical changes across the code
base, there are few that include more substantial work that require a
bit more scrutiny:
- **Update `RenameService` to remove
`ImmutableArray<TagHelperDescriptor>`**
(fa3ad2b)
This includes a fair amount of refactoring in `RenameService` to fix
bugs found when moving to `TagHelperCollection`.
- **Update `TagHelperFacts` to use `TagHelperCollection`**
Extra work was done in `DirectiveAttributeComplationItemProvider` to
clean up a bit following #12473.
----
CI Build:
https://dev.azure.com/dnceng/internal/_build/results?buildId=2842165&view=results
Toolset Run:
https://dev.azure.com/dnceng/internal/_build/results?buildId=2842237&view=resultsFile tree
148 files changed
+3538
-3954
lines changed- src
- Compiler
- Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X/test/IntegrationTests
- Microsoft.AspNetCore.Razor.Language
- legacyTest/Legacy
- test
- IntegrationTests
- Legacy
- Microsoft.CodeAnalysis.Razor.Compiler/src
- CSharp
- Language
- Intermediate
- Legacy
- Syntax
- SourceGenerators
- Microsoft.CodeAnalysis.Razor/test
- perf/Microbenchmarks
- Razor
- benchmarks/Microsoft.AspNetCore.Razor.Microbenchmarks
- LanguageServer
- Serialization
- src
- Microsoft.AspNetCore.Razor.ExternalAccess.LegacyEditor
- Microsoft.AspNetCore.Razor.LanguageServer
- Diagnostics
- ProjectSystem
- Microsoft.CodeAnalysis.Razor.Workspaces
- CodeActions/Razor
- Completion
- Extensions
- Formatting
- Passes
- GoToDefinition
- Hover
- ProjectSystem
- Legacy
- Rename
- SemanticTokens
- Serialization
- MessagePack
- Formatters
- Resolvers
- Tooltip
- Microsoft.CodeAnalysis.Remote.Razor
- DevTools
- ProjectSystem
- TagHelpers
- Microsoft.VisualStudio.LanguageServices.Razor
- Discovery
- Documents
- Microsoft.VisualStudio.LegacyEditor.Razor
- Completion
- Parsing
- test
- Microsoft.AspNetCore.Razor.ExternalAccess.LegacyEditor.Test
- Microsoft.AspNetCore.Razor.LanguageServer.Test
- AutoInsert
- CodeActions
- CSharp
- Html
- Razor
- Completion
- Formatting_NetFx
- Refactoring
- Semantic
- Microsoft.AspNetCore.Razor.Test.Common.Tooling
- LanguageServer
- ProjectSystem
- Microsoft.CodeAnalysis.Razor.Workspaces.Test
- Completion
- Extensions
- ProjectSystem
- Tooltip
- Microsoft.VisualStudio.LanguageServices.Razor.Test
- Discovery
- ProjectSystem
- Microsoft.VisualStudio.LegacyEditor.Razor.Test
- Completion
- Parsing
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
148 files changed
+3538
-3954
lines changedLines changed: 27 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
0 commit comments