mkaring / ConfuserEx

An open-source, free protector for .NET applications
https://mkaring.github.io/ConfuserEx/
MIT License
2.31k stars 350 forks source link

Failed to resolve method/field returning System.ValueTuple #442

Open alex6dj opened 2 years ago

alex6dj commented 2 years ago

Steps to Reproduce:

In my particular case this method cause the exception: IObservable<(Notification notification, NotificationOption option)> Subscribe(Func<Notification, bool> filter)

After switching to a regular tuple the exception dissapears: IObservable<Tuple<Notification, NotificationOption>> Subscribe(Func<Notification, bool> filter)

Without obfuscation the application works without problems. The method is located in a netstandard 2.0 assembly referenced by a Net 4.6.1 WPF App.

stacktrace.txt Converter.Client.zip

alex6dj commented 2 years ago

I just noticed that the crash also occurs in a class that previously did not crash. The difference is that it was previously in the main application (Net 461), but now it is in a net standard 2.0 assembly.