Closed neilt6 closed 7 years ago
CaliburnAnalyzer doesn't detect actions that are attached as part of a Setter, which causes the obfuscated binary to crash at runtime. Example:
CaliburnAnalyzer
Setter
<Style x:Key="MyListBoxStyle" TargetType="ListBox" BasedOn="{StaticResource {x:Type ListBox}}"> <Setter Property="ItemContainerStyle"> <Setter.Value> <Style TargetType="{x:Type ListBoxItem}" BasedOn="{StaticResource {x:Type ListBoxItem}}"> <Setter Property="cal:Message.Attach" Value="[Event MouseDoubleClick] = [Action DoStuff($dataContext)]"/> </Style> </Setter.Value> </Setter> </Style>
CaliburnAnalyzer
doesn't detect actions that are attached as part of aSetter
, which causes the obfuscated binary to crash at runtime. Example: