27 references to ResolveGenericParameters
Microsoft.Maui.Controls.Build.Tasks (27)
CreateObjectVisitor.cs (5)
140
Context.IL.Append(PushCtorXArguments(factoryCtorInfo.
ResolveGenericParameters
(typeref, Module), node));
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);
DebugXamlCTask.cs (2)
125
baseCtor = module.ImportReference(baseCtor.
ResolveGenericParameters
(typeDef.BaseType, module));
131
baseCtor = module.ImportReference(baseCtor.
ResolveGenericParameters
(typeDef.BaseType, module));
ModuleDefinitionExtensions.cs (2)
33
return module.ImportReference(ctorRef.
ResolveGenericParameters
(type.MakeGenericInstanceType(classArguments), module));
159
return module.ImportReference(methodRef.
ResolveGenericParameters
(type.MakeGenericInstanceType(classArguments), module));
NodeILExtensions.cs (1)
226
nullableCtor = nullableCtor.
ResolveGenericParameters
(nullableTypeRef, module);
SetPropertiesVisitor.cs (16)
160
adderRef = Module.ImportReference(adderRef.
ResolveGenericParameters
(adderTuple.Item2, Module));
201
adderRef = Module.ImportReference(adderRef.
ResolveGenericParameters
(adderTuple.Item2, Module));
267
module.ImportReference(provideValue.
ResolveGenericParameters
(markupExtension, module));
327
module.ImportReference(provideValue.
ResolveGenericParameters
(markupExtension, module));
742
var getMethod = module.ImportReference((module.ImportReference(property.GetMethod)).
ResolveGenericParameters
(propDeclTypeRef, module));
778
tupleCtorRef = module.ImportReference(tupleCtorRef.
ResolveGenericParameters
(tupleRef, module));
889
setterRef = module.ImportReference(setterRef.
ResolveGenericParameters
(properties.Last().propDeclTypeRef, module));
1191
adder = adder.
ResolveGenericParameters
(eventDeclaringTypeRef, module);
1217
invoke = invoke.
ResolveGenericParameters
(eventinfo.EventType, module);
1231
handlerRef = handler.methodDef.
ResolveGenericParameters
(handler.declTypeRef, module);
1237
ctor = ctor.
ResolveGenericParameters
(eventinfo.EventType, module);
1527
var propertyGetterRef = module.ImportReference(module.ImportReference(propertyGetter).
ResolveGenericParameters
(declaringTypeReference, module));
1553
var propertySetterRef = module.ImportReference(module.ImportReference(propertySetter).
ResolveGenericParameters
(declaringTypeReference, module));
1593
var propertyGetterRef = module.ImportReference(module.ImportReference(propertyGetter).
ResolveGenericParameters
(declaringTypeReference, module));
1631
adderRef = module.ImportReference(adderRef.
ResolveGenericParameters
(adderTuple.Item2, module));
1691
adderRef = module.ImportReference(adderRef.
ResolveGenericParameters
(adderTuple.Item2, module));
TypeReferenceExtensions.cs (1)
325
var castDef = module.ImportReference(cast).
ResolveGenericParameters
(opDeclTypeRef, module);