4 writes to ExceptionHandler
Microsoft.Maui.Controls.Xaml (4)
ApplyPropertiesVisitor.cs (1)
790 var context = new HydrationContext { ParentContext = Context, RootAssembly = Context.RootAssembly, RootElement = Context.RootElement, ExceptionHandler = Context.ExceptionHandler };
XamlLoader.cs (3)
86 ExceptionHandler = doNotThrow ? ehandler : (Action<Exception>)null 126 ExceptionHandler = doNotThrow ? ehandler : (Action<Exception>)null, 170 ExceptionHandler = ResourceLoader.ExceptionHandler2 != null ? ehandler : (Action<Exception>)null,
30 references to ExceptionHandler
Microsoft.Maui.Controls.Xaml (30)
ApplyPropertiesVisitor.cs (14)
53 if (!Values.TryGetValue(parentNode, out var source) && Context.ExceptionHandler != null) 112 if (!Values.TryGetValue(node, out var value) && Context.ExceptionHandler != null) 122 if (!Values.TryGetValue(parentNode, out var source) && Context.ExceptionHandler != null) 129 if (!Values.TryGetValue(parentNode, out var source) && Context.ExceptionHandler != null) 185 if (Context.ExceptionHandler != null) 186 Context.ExceptionHandler(xpe); 192 if (!Values.TryGetValue(parentNode.Parent, out var source) && Context.ExceptionHandler != null) 222 if (Context.ExceptionHandler != null) 223 Context.ExceptionHandler(xpe); 281 if (Context.ExceptionHandler != null) 282 Context.ExceptionHandler(e); 361 if (context.ExceptionHandler != null) 362 context.ExceptionHandler(xpe); 790 var context = new HydrationContext { ParentContext = Context, RootAssembly = Context.RootAssembly, RootElement = Context.RootElement, ExceptionHandler = Context.ExceptionHandler };
CreateValuesVisitor.cs (6)
55 if (Context.ExceptionHandler != null) 57 Context.ExceptionHandler(xpe); 102 if (Context.ExceptionHandler != null) 104 Context.ExceptionHandler(exception); 144 if (Context.ExceptionHandler != null) 146 Context.ExceptionHandler(xamlpe);
ExpandMarkupsVisitor.cs (5)
86 if (Context.ExceptionHandler != null) 88 Context.ExceptionHandler(ex); 101 if (Context.ExceptionHandler != null) 103 Context.ExceptionHandler(ex); 111 return new MarkupExpansionParser { ExceptionHandler = Context.ExceptionHandler }.Parse(match, ref expression, serviceProvider);
FillResourceDictionariesVisitor.cs (1)
42 if (!Values.TryGetValue(node, out var value) && Context.ExceptionHandler != null)
RegisterXNamesVisitor.cs (4)
38 if (Context.ExceptionHandler != null) 40 Context.ExceptionHandler(xpe); 47 if (Context.ExceptionHandler != null) 49 Context.ExceptionHandler(knfe);