18 references to GetProperty
Microsoft.Maui.Controls.Build.Tasks (18)
BindablePropertyReferenceExtensions.cs (2)
19 var getter = owner.GetProperty(cache, pd => pd.Name == bpName, out TypeReference declaringTypeRef)?.GetMethod; 37 var property = owner.GetProperty(cache, pd => pd.Name == bpName, out TypeReference propertyDeclaringType);
CompiledMarkupExtensions\StaticExtension.cs (1)
111 PropertyDefinition pDef = typeRef.GetProperty(cache, pd => pd.Name == propertyName
CompiledMarkupExtensions\StaticResourceExtension.cs (3)
131 var propertyRef = parentType.GetProperty(context.Cache, pd => pd.Name == localName, out var declaringTypeReference); 163 var keyProperty = staticResourceExtensionType.GetProperty(context.Cache, pd => pd.Name == "Key", out _); 180 propertyRef = parentType.GetProperty(context.Cache, pd => pd.Name == localName, out declaringTypeReference);
SetPropertiesVisitor.cs (10)
115 propertyRef = Context.Variables[(IElementNode)parentNode].VariableType.GetProperty(Context.Cache, pd => pd.Name == localName, out declaringTypeReference); 667 && parentType.GetProperty(context.Cache, pd => pd.Name == propertyName.LocalName, out var propertyDeclaringTypeRef) is PropertyDefinition propertyDef 709 var property = previousPartTypeRef.GetProperty(context.Cache, pd => pd.Name == p && pd.GetMethod != null && pd.GetMethod.IsPublic && !pd.GetMethod.IsStatic, out var propDeclTypeRef); 726 indexer = previousPartTypeRef.GetProperty(context.Cache, 731 indexer = indexer ?? previousPartTypeRef.GetProperty(context.Cache, 736 indexer = indexer ?? previousPartTypeRef.GetProperty(context.Cache, 1549 var property = parent.VariableType.GetProperty(context.Cache, pd => pd.Name == localName, out declaringTypeReference); 1587 var property = parent.VariableType.GetProperty(context.Cache, pd => pd.Name == localName, out declaringTypeReference); 1606 var property = parent.VariableType.GetProperty(context.Cache, pd => pd.Name == localName, out declaringTypeReference); 1657 var property = parent.VariableType.GetProperty(context.Cache, pd => pd.Name == localName, out var declaringTypeReference);
TypeReferenceExtensions.cs (2)
74 var p = face.InterfaceType.ResolveGenericParameters(typeRef).GetProperty(cache, predicate, out var interfaceDeclaringTypeRef); 84 return typeDef.BaseType.ResolveGenericParameters(typeRef).GetProperty(cache, predicate, out declaringTypeRef);