SetNamescopesAndRegisterNamesVisitor.cs (13)
60 if (setNameScope && Context.Variables[node].VariableType.InheritsFromOrImplements(Context.Cache, Context.Body.Method.Module.ImportReference(Context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls", "BindableObject"))))
63 else if (Context.Variables[node].VariableType.InheritsFromOrImplements(Context.Cache, Context.Body.Method.Module.ImportReference(Context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls", "Element"))))
65 var module = Context.Body.Method.Module;
81 if (Context.Variables[node].VariableType.InheritsFromOrImplements(Context.Cache, Context.Body.Method.Module.ImportReference(Context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls", "BindableObject"))))
103 var module = Context.Body.Method.Module;
105 Context.Body.Variables.Add(vardef);
108 if (Context.Variables[node].VariableType.InheritsFromOrImplements(Context.Cache, Context.Body.Method.Module.ImportReference(Context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls", "BindableObject"))))
129 var module = Context.Body.Method.Module;
131 Context.Body.Variables.Add(vardef);
139 var module = Context.Body.Method.Module;
158 var module = Context.Body.Method.Module;
174 if (!element.VariableType.InheritsFromOrImplements(Context.Cache, Context.Body.Method.Module.ImportReference(Context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls", "Element"))))
177 var module = Context.Body.Method.Module;
SetPropertiesVisitor.cs (34)
31 Module = context.Body.Method.Module;
121 Context.Body.Variables.Add(vardef);
361 context.Body.Method.Module,
401 context.Body.Method.Module,
779 var getter = new MethodDefinition($"<{context.Body.Method.Name}>typedBindingsM__{context.Cache.TypedBindingCount++}",
837 context.Body.Method.DeclaringType.Methods.Add(getter);
867 var setter = new MethodDefinition($"<{context.Body.Method.Name}>typedBindingsM__{context.Cache.TypedBindingCount++}",
959 context.Body.Method.DeclaringType.Methods.Add(setter);
999 var partGetter = new MethodDefinition($"<{context.Body.Method.Name}>typedBindingsM__{context.Cache.TypedBindingCount++}", MethodAttributes.Private | MethodAttributes.HideBySig | MethodAttributes.Static, module.TypeSystem.Object)
1018 context.Body.Method.DeclaringType.Methods.Add(partGetter);
1036 context.Body.Method.DeclaringType.Methods.Add(partGetter);
1136 var module = context.Body.Method.Module;
1157 var module = context.Body.Method.Module;
1187 var module = context.Body.Method.Module;
1207 var declaringType = context.Body.Method.DeclaringType;
1286 var module = context.Body.Method.Module;
1307 var module = context.Body.Method.Module;
1325 var module = context.Body.Method.Module;
1345 var module = context.Body.Method.Module;
1377 var module = context.Body.Method.Module;
1394 var module = context.Body.Method.Module;
1458 propertyType = bpRef.GetBindablePropertyType(context.Cache, iXmlLineInfo, context.Body.Method.Module);
1464 var module = context.Body.Method.Module;
1479 var module = context.Body.Method.Module;
1516 var module = context.Body.Method.Module;
1536 var module = context.Body.Method.Module;
1588 var module = context.Body.Method.Module;
1611 var module = context.Body.Method.Module;
1663 var module = context.Body.Method.Module;
1674 var module = context.Body.Method.Module;
1702 var module = context.Body.Method.Module;
1742 elementType = new XmlType(namespaceURI, typename, null).GetTypeReference(context.Cache, context.Body.Method.Module, lineInfo);
1764 "<" + parentContext.Body.Method.Name + ">_anonXamlCDataTemplate_" + parentContext.Cache.DataTemplateCount++,
1775 parentContext.Body.Method.DeclaringType.NestedTypes.Add(anonType);