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);
599
&& parentType.
GetProperty
(context.Cache, pd => pd.Name == propertyName.LocalName, out var propertyDeclaringTypeRef) is PropertyDefinition propertyDef
641
var property = previousPartTypeRef.
GetProperty
(context.Cache, pd => pd.Name == p && pd.GetMethod != null && pd.GetMethod.IsPublic && !pd.GetMethod.IsStatic, out var propDeclTypeRef);
658
indexer = previousPartTypeRef.
GetProperty
(context.Cache,
663
indexer = indexer ?? previousPartTypeRef.
GetProperty
(context.Cache,
668
indexer = indexer ?? previousPartTypeRef.
GetProperty
(context.Cache,
1481
var property = parent.VariableType.
GetProperty
(context.Cache, pd => pd.Name == localName, out declaringTypeReference);
1519
var property = parent.VariableType.
GetProperty
(context.Cache, pd => pd.Name == localName, out declaringTypeReference);
1538
var property = parent.VariableType.
GetProperty
(context.Cache, pd => pd.Name == localName, out declaringTypeReference);
1589
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);