Conversation
Introduce a new raw property `${AccessQualifier} ${Type} ${Identifier}_raw`
in the `AddedPropertyDeclarationAstNode` class to provide direct access
to the underlying field. Update existing property logic to include this
new raw property. The getter for the raw property returns the underlying
field `_Identifier`.
…-without-interpolation-and-tranlsation
Added a closing brace to the getter method of Identifier_raw in AddedPropertyDeclarationAstNode.cs. Also added a newline character before the new getter method definition.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 changes to add raw value accessors for properties and update package references. The most important changes include adding raw value accessors to various property declarations and updating the package references in the project file.
Raw Value Accessors:
src/AXSharp.compiler/src/AXSharp.Cs.Compiler/Pragmas/PragmaParser/Ast/AddedPropertyDeclarationAstNode.cs: Added a raw value accessor for properties.src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/Cs/PragmasExtensionsTests.cs: Updated the expected string in the test to include the raw value accessor for properties.src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/ax/.g/Onliners/types_with_name_attributes.g.cs: Added a raw value accessor forAttributeName.src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/ax/.g/Onliners/types_with_property_attributes.g.cs: Added a raw value accessor forDescription.src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/tia/.g/Onliners/types_with_name_attributes.g.cs: Added a raw value accessor forAttributeName.src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/tia/.g/Onliners/types_with_property_attributes.g.cs: Added a raw value accessor forDescription.Package References:
src/AXSharp.compiler/tests/AXSharp.Compiler.CsTests/samples/units/expected/ax/units.csproj: Updated package references to newer versions.closes #400