Open MarioMorazan opened 3 years ago
Hi @MarioMorazan, Can you share the code that reproduces this issue? Also, in which version of VS did you start noticing this behavior?
@JoeRobich i tried on both and on both caused the issue, 2019 and 2022 preview 2.
it gotta be that source gen, thats the only thing i got on the project. When i add it to another as analyzer happens that issue.
<ProjectReference Include="..\Phoenix.Sevices.Attributes\Phoenix.Services.Attributes.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="true" /_>
I fixed the bug just by adding a return on the line 133 on the code i sent you. seems like goto and end bracket combination provoked the issue. I also tried with the if clause instead of goto and expected result, colors were working fine. so goto.
Version Used: SourceCode Project-Standard Framework 2.0 Core Project-WPF Class Library
Steps to Reproduce:
Same behavior with xml parts with the EggNavigationGroup(Abstract Class). doesnt work properly on certain object.
Expected Behavior: Class Syntax shown in the font and color
Actual Behavior: Class syntax font color greys out instead of of using the corresponding color. Mouse over does show that its being implmented the object. best guess something interfering with the analizer.
On removing the reference the text editor behaves as expected.