29 references to ResolveGenericParameters
Microsoft.Maui.Controls.Build.Tasks (29)
BindablePropertyReferenceExtensions.cs (3)
38
var propertyType = property?.PropertyType?.
ResolveGenericParameters
(propertyDeclaringType);
52
if (staticGetter != null && staticGetter.ReturnType.
ResolveGenericParameters
(bpRef.DeclaringType).ResolveCached(cache).HasCustomAttributes)
53
attributes.AddRange(staticGetter.ReturnType.
ResolveGenericParameters
(bpRef.DeclaringType).ResolveCached(cache).CustomAttributes);
CompiledMarkupExtensions\StaticResourceExtension.cs (1)
134
var propertyType = module.ImportReference(propertyRef.PropertyType.
ResolveGenericParameters
(declaringTypeReference));
SetPropertiesVisitor.cs (13)
532
tPropertyRef = lastProp.property.PropertyType.
ResolveGenericParameters
(lastProp.propDeclTypeRef);
649
previousPartTypeRef = property.PropertyType.
ResolveGenericParameters
(propDeclTypeRef);
661
&& TypeRefComparer.Default.Equals(pd.GetMethod.Parameters[0].ParameterType.
ResolveGenericParameters
(previousPartTypeRef), module.ImportReference(context.Cache, ("mscorlib", "System", "Int32")))
666
&& TypeRefComparer.Default.Equals(pd.GetMethod.Parameters[0].ParameterType.
ResolveGenericParameters
(previousPartTypeRef), module.ImportReference(context.Cache, ("mscorlib", "System", "String")))
671
&& TypeRefComparer.Default.Equals(pd.GetMethod.Parameters[0].ParameterType.
ResolveGenericParameters
(previousPartTypeRef), module.ImportReference(context.Cache, ("mscorlib", "System", "Object")))
677
var indexType = indexer.GetMethod.Parameters[0].ParameterType.
ResolveGenericParameters
(indexerDeclTypeRef);
680
previousPartTypeRef = indexer.PropertyType.
ResolveGenericParameters
(indexerDeclTypeRef);
728
var indexType = property.GetMethod.Parameters[0].ParameterType.
ResolveGenericParameters
(propDeclTypeRef);
933
var indexType = lastProperty.GetMethod.Parameters[0].ParameterType.
ResolveGenericParameters
(lastPropDeclTypeRef);
1484
var propertyType = property.PropertyType.
ResolveGenericParameters
(declaringTypeReference);
1529
propertyType = propertyGetterRef.ReturnType.
ResolveGenericParameters
(declaringTypeReference);
1555
var propertyType = module.ImportReference(property.PropertyType.
ResolveGenericParameters
(declaringTypeReference));
1595
propertyType = propertyGetterRef.ReturnType.
ResolveGenericParameters
(declaringTypeReference);
TypeReferenceExtensions.cs (12)
74
var p = face.InterfaceType.
ResolveGenericParameters
(typeRef).GetProperty(cache, predicate, out var interfaceDeclaringTypeRef);
84
return typeDef.BaseType.
ResolveGenericParameters
(typeRef).GetProperty(cache, predicate, out declaringTypeRef);
100
return typeDef.BaseType.
ResolveGenericParameters
(typeRef).GetEvent(cache, predicate, out declaringTypeRef);
117
ga = ga.
ResolveGenericParameters
(declaringTypeRef);
135
return typeDef.BaseType.
ResolveGenericParameters
(typeRef).GetField(cache, predicate, out declaringTypeRef);
166
return baseTypeRef.
ResolveGenericParameters
(typeRef).ImplementsGenericInterface(cache, @interface, out interfaceReference, out genericArguments);
241
if (typeDef.Interfaces.Any(ir => ir.InterfaceType.
ResolveGenericParameters
(typeRef).InheritsFromOrImplements(cache, baseClass)))
246
typeRef = typeDef.BaseType.
ResolveGenericParameters
(typeRef);
299
var baseType = typeDef.BaseType.
ResolveGenericParameters
(typeRef);
389
return self.
ResolveGenericParameters
(typeDef.BaseType.
ResolveGenericParameters
(declaringTypeReference));
417
args.Add(self.GenericArguments[i].
ResolveGenericParameters
(declaringTypeReference));