Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several significant changes to the
AXSharp.compilerproject, primarily focusing on enhancing the configuration and initialization processes. The most important changes include adding methods for creating merged configurations, updating member initialization methods, and modifying configuration declaration methods to support multiple configurations.Enhancements to configuration and initialization processes:
src/AXSharp.compiler/src/AXSharp.Compiler/AXSharpProject.cs: Added a loop to generate merged configurations and handle retries for IO operations in theGeneratemethod.src/AXSharp.compiler/src/AXSharp.Compiler/Core/ICombinedThreeVisitor.cs: Introduced theCreateMergedConfigurationsmethod to theICombinedThreeVisitorinterface.src/AXSharp.compiler/src/AXSharp.Cs.Compiler/Onliner/CsOnlinerSourceBuilder.cs: Added theCreateMergedConfigurationsmethod to handle merged configurations and updated configuration declaration methods to align with multiple configurations. [1] [2]Updates to member initialization methods:
src/AXSharp.compiler/src/AXSharp.Cs.Compiler/Onliner/CsOnlinerConstructorBuilder.cs: Modified member initialization methods to handle various types such as arrays, enums, and structured types, and updated theCreatemethods to support new configurations. [1] [2] [3] [4]Other notable changes:
src/AXSharp.compiler/src/AXSharp.Cs.Compiler/Pragmas/PragmaExtensions.cs: Updated theSetPropertiesmethod to useIStorageDeclarationinstead ofIFieldDeclaration.src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/AXSharp.Compiler.CsTests.csproj: Added a new sample configuration file to the test project.