2 writes to Root
Microsoft.Maui.Controls.Xaml (2)
XamlLoader.cs (1)
130
inflatedView = rootnode.
Root
= visitorContext.Values[rootnode];
XamlLoader.Types.cs (1)
39
Root
= root;
6 references to Root
Microsoft.Maui.Controls.Xaml (6)
CreateValuesVisitor.cs (6)
180
Values[node] = rnode.
Root
;
181
Context.Types[node] = rnode.
Root
.GetType();
182
if (rnode.
Root
is BindableObject bindable)
191
if (rnode.
Root
!= null && !rnode.
Root
.GetType().IsValueType && XamlFilePathAttribute.GetFilePathForObject(Context.RootElement) is string path)
192
VisualDiagnostics.RegisterSourceInfo(rnode.
Root
, new Uri($"{path};assembly={assemblyName}", UriKind.Relative), ((IXmlLineInfo)node).LineNumber, ((IXmlLineInfo)node).LinePosition);