Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attribute is not allowed in property element #3316

Open
Tearies opened this issue Oct 30, 2024 · 0 comments
Open

Attribute is not allowed in property element #3316

Tearies opened this issue Oct 30, 2024 · 0 comments
Labels
Bug Decompiler The decompiler engine itself

Comments

@Tearies
Copy link

Tearies commented Oct 30, 2024

Input code

Please provide the input that failed to decompile.

   <i:Interaction.Behaviors>
            <ei:DataStateBehavior Binding="{Binding VisualState}" TrueState="True" FalseState="False" Value="True"></ei:DataStateBehavior>
        </i:Interaction.Behaviors>    

Erroneous output

   <interactivity:Interaction.Behaviors xmlns:interactivity="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity">
     <core:DataStateBehavior xmlns:core="clr-namespace:Microsoft.Expression.Interactivity.Core;assembly=Microsoft.Expression.Interactions" core:DataStateBehavior.TrueState="True" core:DataStateBehavior.FalseState="False" core:DataStateBehavior.Value="True" core:DataStateBehavior.Binding="{Binding VisualState}" />
   </interactivity:Interaction.Behaviors>

seems can't be compile:Attribute is not allowed in property element

Details

  • Product in use: e.g. ILSpy
  • Version in use: e.g. 9.0.0 or a commit hash
  • Any other relevant information to the issue, or your interest in contributing a fix.
@Tearies Tearies added Bug Decompiler The decompiler engine itself labels Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Decompiler The decompiler engine itself
Projects
None yet
Development

No branches or pull requests

1 participant