Port the incremental source generator polyfill code to the 6.0 servicing branch....
authorCyrusNajmabadi <cyrusn@microsoft.com>
Mon, 15 Aug 2022 23:37:02 +0000 (19:37 -0400)
committerGitHub <noreply@github.com>
Mon, 15 Aug 2022 23:37:02 +0000 (16:37 -0700)
commit5a0d0813d32bcf29aff5d6b06c0eb8b00f183aeb
treef2322d53aedda37913db2f2fb303813310ac0499
parent8f9ca765bee864f65eee66ff2ddd2feeb08e17e5
Port the incremental source generator polyfill code to the 6.0 servicing branch. (#72219)

* Port the incremental source generator polyfill code to the 6.0 servicing branch.

* Use common code

* Add logging extensions

* Fix typo on project Compile item and enable producing packages for both packages that need to be serviced.

* Allow ValueListBuilder to work with empty scratch spans (#70917)

Co-authored-by: Jose Perez Rodriguez <joperezr@microsoft.com>
Co-authored-by: Stephen Toub <stoub@microsoft.com>
21 files changed:
src/libraries/Common/src/Roslyn/CSharpSyntaxHelper.cs [new file with mode: 0644]
src/libraries/Common/src/Roslyn/GetBestTypeByMetadataName.cs
src/libraries/Common/src/Roslyn/GlobalAliases.cs [new file with mode: 0644]
src/libraries/Common/src/Roslyn/Hash.cs [new file with mode: 0644]
src/libraries/Common/src/Roslyn/ISyntaxHelper.cs [new file with mode: 0644]
src/libraries/Common/src/Roslyn/SyntaxNodeGrouping.cs [new file with mode: 0644]
src/libraries/Common/src/Roslyn/SyntaxValueProvider.ImmutableArrayValueComparer.cs [new file with mode: 0644]
src/libraries/Common/src/Roslyn/SyntaxValueProvider_ForAttributeWithMetadataName.cs [new file with mode: 0644]
src/libraries/Common/src/Roslyn/SyntaxValueProvider_ForAttributeWithSimpleName.cs [new file with mode: 0644]
src/libraries/Microsoft.Extensions.Logging.Abstractions/gen/LoggerMessageGenerator.Parser.cs
src/libraries/Microsoft.Extensions.Logging.Abstractions/gen/LoggerMessageGenerator.Roslyn4.0.cs
src/libraries/Microsoft.Extensions.Logging.Abstractions/gen/Microsoft.Extensions.Logging.Generators.Roslyn4.0.csproj
src/libraries/Microsoft.Extensions.Logging.Abstractions/src/Microsoft.Extensions.Logging.Abstractions.csproj
src/libraries/System.Private.CoreLib/src/System/Collections/Generic/ValueListBuilder.Pop.cs [new file with mode: 0644]
src/libraries/System.Private.CoreLib/src/System/Collections/Generic/ValueListBuilder.cs
src/libraries/System.Text.Json/gen/JsonSourceGenerator.Parser.cs
src/libraries/System.Text.Json/gen/JsonSourceGenerator.Roslyn4.0.cs
src/libraries/System.Text.Json/gen/System.Text.Json.SourceGeneration.Roslyn4.0.csproj
src/libraries/System.Text.Json/src/System.Text.Json.csproj
src/libraries/System.Text.RegularExpressions/src/System.Text.RegularExpressions.csproj
src/libraries/System.Text.RegularExpressions/src/System/Collections/Generic/ValueListBuilder.Pop.cs [deleted file]