25 references to Emit
Microsoft.Maui.Controls.Build.Tasks (25)
CreateObjectVisitor.cs (4)
217
Context.IL.
Emit
(OpCodes.Call, implicitOperator);
222
Context.IL.
Emit
(OpCodes.Call, Module.ImportReference(factorymethodinforef));
230
Context.IL.
Emit
(OpCodes.Newobj, ctor);
243
Context.IL.
Emit
(OpCodes.Call, ctor);
DebugXamlCTask.cs (3)
133
il.
Emit
(OpCodes.Callvirt, baseCtor);
140
il.
Emit
(OpCodes.Callvirt, initComp);
144
il.
Emit
(OpCodes.Callvirt, initCompRuntime);
SetNamescopesAndRegisterNamesVisitor.cs (7)
112
Context.IL.
Emit
(OpCodes.Call, module.ImportMethodReference(Context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls.Internals", "NameScope"),
121
Context.IL.
Emit
(OpCodes.Newobj, module.ImportCtorReference(Context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls.Internals", "NameScope"), parameterTypes: null));
132
Context.IL.
Emit
(OpCodes.Newobj, module.ImportCtorReference(Context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls.Internals", "NameScope"), parameterTypes: null));
146
Context.IL.
Emit
(OpCodes.Call, module.ImportMethodReference(Context.Cache, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls.Internals", "NameScope"),
163
Context.IL.
Emit
(OpCodes.Callvirt, module.ImportMethodReference(Context.Cache,
183
Context.IL.
Emit
(OpCodes.Callvirt, module.ImportPropertyGetterReference(Context.Cache, elementType, propertyName: "StyleId"));
187
Context.IL.
Emit
(OpCodes.Callvirt, module.ImportPropertySetterReference(Context.Cache, elementType, propertyName: "StyleId"));
SetPropertiesVisitor.cs (10)
164
Context.IL.
Emit
(Callvirt, adderRef);
204
Context.IL.
Emit
(OpCodes.Callvirt, adderRef);
862
il.
Emit
(Newobj, tupleCtorRef);
887
il.
Emit
(Newobj, tupleCtorRef);
1015
il.
Emit
(Callvirt, setterRef);
1017
il.
Emit
(Call, setterRef);
1880
parentIl.
Emit
(OpCodes.Newobj, ctor);
1931
parentIl.
Emit
(Ldftn, loadTemplate);
1932
parentIl.
Emit
(Newobj, module.ImportCtorReference(parentContext.Cache, ("mscorlib", "System", "Func`1"),
1936
parentContext.IL.
Emit
(OpCodes.Callvirt, module.ImportPropertySetterReference(parentContext.Cache, dataTemplateType, propertyName: "LoadTemplate"));
TypeDefinitionExtensions.cs (1)
42
IL.
Emit
(OpCodes.Call, parentctor);