You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code should not fail or crash. It should either not compile if it can't distinguish between members or pick the property as i would expect it to
Actual Behavior:
As you can see in the image Environment is recognized as property by resharper as i would expect it. However when accessing "Environment.Authentication" an exception occurs. In the inspection window you can see the debugger thinks i want to use "System.Environment" - which i don't.
The text was updated successfully, but these errors were encountered:
Sorry, didn't see your request - I don't have access to the stack trace anymore, but as you can see in the inspection window it does show different types for Environment and this.Environment. I guess that is evidence enough that this is not a resharper related issue? It was happening on Xamarin.Android if that adds any relevant information to find the source of this?
I also want to add that the reason of the exception was that authentication wasn't initialized which i was unable to detect because i got the inspection results for the wrong type
Version Used:
Steps to Reproduce:
Expected Behavior:
This code should not fail or crash. It should either not compile if it can't distinguish between members or pick the property as i would expect it to
Actual Behavior:
As you can see in the image Environment is recognized as property by resharper as i would expect it. However when accessing "Environment.Authentication" an exception occurs. In the inspection window you can see the debugger thinks i want to use "System.Environment" - which i don't.
The text was updated successfully, but these errors were encountered: