Application.Current nullable? #9062
beto-rodriguez
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I love that in the first preview of v11 you are using
nullable reference types
a lot.But I have found at least one case where it seems unnecessary:
I think
Application.Current
must be of typeApplication
instead ofApplication?
, from my perspective it would be really strange to get a null reference from this property. Am I getting this wrong? is it posible for Avalonia users to get a null reference from this property?Beta Was this translation helpful? Give feedback.
All reactions