This repository has been archived by the owner on May 1, 2024. It is now read-only.
Lost value of string with Xamarin.Android. Not tested yet with iOS. #14281
Labels
external-vs
p/Android
s/needs-info ❓
A question has been asked that requires an answer before work can continue on this issue.
s/unverified
New report that has yet to be verified
t/bug 🐛
Projects
Hi,
I have a weird behavior with Xamarin.Android. I have an exchange with a WCF service and receive a SignedToken, a class defined on the server and generated by svcutil with /async and /tcv:Version35 :
SignedToken contains a string DataExchange defined by :
and accessible by :
The value from the server is well received in the thread that made the call to the server.
After received SignedToken, I call a function defined like that from the thread that received the answer (RSA is a class we defined to manage RSA exchange with the server on the mobile device (.NET Standard 2.1)) :
The caller of this function is doing the call like this :
The weird thing here is : just before exit the SetSignedToken from RSA class, I see the value in this.SignedToken.DataExchange, but after exit the function SetSignedToken via F11 of debugger and arrived to var mobileUser = ... the this.RSA.SignedToken.DataExchange is gone !!
I try to put the value in another property of the SignedToken and the value is preserved. I don't understand why the value of DataExchange is disappearing ?
My configuration is :
i9-9900K
32Gb RAM
VS2019 16.9.5
I have updated all components of my projects to the last version possible.
It is hard to recreate the behavior because of the complexity of the system...
Any help will be appreciated.
Thank you !
The text was updated successfully, but these errors were encountered: