8 references to ExceptionHandler2
Microsoft.Maui.Controls (2)
NameScopeExtensions.cs (2)
16
catch (InvalidCastException ice) when (ResourceLoader.
ExceptionHandler2
!= null)
18
ResourceLoader.
ExceptionHandler2
((ice, null));
Microsoft.Maui.Controls.Xaml (6)
XamlLoader.cs (6)
80
var doNotThrow = ResourceLoader.
ExceptionHandler2
!= null;
81
void ehandler(Exception e) => ResourceLoader.
ExceptionHandler2
?.Invoke((e, XamlFilePathAttribute.GetFilePathForObject(view)));
100
doNotThrow = doNotThrow || ResourceLoader.
ExceptionHandler2
!= null;
101
void ehandler(Exception e) => ResourceLoader.
ExceptionHandler2
?.Invoke((e, null));
143
void ehandler(Exception e) => ResourceLoader.
ExceptionHandler2
?.Invoke((e, XamlFilePathAttribute.GetFilePathForObject(rootView)));
170
ExceptionHandler = ResourceLoader.
ExceptionHandler2
!= null ? ehandler : (Action<Exception>)null,