1 write to Module
Microsoft.Maui.Controls.Build.Tasks (1)
CreateObjectVisitor.cs (1)
19
Module
= context.Body.Method.Module;
21 references to Module
Microsoft.Maui.Controls.Build.Tasks (21)
CreateObjectVisitor.cs (21)
51
var typeref =
Module
.ImportReference(node.XmlType.GetTypeReference(Context.Cache,
Module
, node));
69
var il = new ArrayExtension().ProvideValue(node,
Module
, Context, out typeref);
99
.GetCustomAttribute(Context.Cache,
Module
, ("Microsoft.Maui.Controls", "Microsoft.Maui.Controls.Xaml", "ProvideCompiledAttribute"))
108
var il = markupProvider.ProvideValue(node,
Module
, Context, out typeref);
109
typeref =
Module
.ImportReference(typeref);
137
md.methodDef.MatchXArguments(node, typeref,
Module
, Context)).methodDef;
140
Context.IL.Append(PushCtorXArguments(factoryCtorInfo.ResolveGenericParameters(typeref,
Module
), node));
148
md.methodDef.MatchXArguments(node, typeref,
Module
, Context)).methodDef;
152
Context.IL.Append(PushCtorXArguments(factoryMethodInfo.ResolveGenericParameters(typeref,
Module
), node));
171
Context.IL.Append(PushCtorArguments(parameterizedCtorInfo.ResolveGenericParameters(typeref,
Module
), node));
177
var ctorinforef = ctorInfo?.ResolveGenericParameters(typeref,
Module
);
178
var factorymethodinforef = factoryMethodInfo?.ResolveGenericParameters(typeref,
Module
);
215
var implicitOperator =
Module
.ImportReference(implicitOperatorref);
222
Context.IL.Emit(OpCodes.Call,
Module
.ImportReference(factorymethodinforef));
227
var ctor =
Module
.ImportReference(ctorinforef);
234
!node.Properties.ContainsKey(XmlName.xFactoryMethod) && ctorInfo.MatchXArguments(node, typeref,
Module
, Context))
240
var ctor =
Module
.ImportReference(ctorinforef);
250
Context.IL.Emit(OpCodes.Initobj,
Module
.ImportReference(typedef));
310
foreach (var instruction in vardef.LoadAs(Context.Cache, parameter.ParameterType.ResolveGenericParameters(ctorinfo),
Module
))
348
foreach (var instruction in vardef.LoadAs(Context.Cache, parameter.ParameterType.ResolveGenericParameters(factoryCtorInfo),
Module
))