We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4128643 commit a49791cCopy full SHA for a49791c
src/Sentry.Maui/Internal/PageNavigationExtensions.cs
@@ -14,12 +14,10 @@ static PageNavigationExtensions()
14
{
15
return;
16
}
17
-
18
- var eventArgsType = typeof(NavigatedFromEventArgs);
19
- DestinationPageProperty =
20
- eventArgsType.GetProperty("DestinationPage", BindingFlags.Instance | BindingFlags.NonPublic);
21
- PreviousPageProperty =
22
- eventArgsType.GetProperty("PreviousPage", BindingFlags.Instance | BindingFlags.NonPublic);
+ DestinationPageProperty = typeof(NavigatedFromEventArgs)
+ .GetProperty("DestinationPage", BindingFlags.Instance | BindingFlags.NonPublic);
+ PreviousPageProperty = typeof(NavigatedToEventArgs)
+ .GetProperty("PreviousPage", BindingFlags.Instance | BindingFlags.NonPublic);
23
24
25
/// <summary>
0 commit comments